This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
JDK 1.4. Editor window got lost during switching between projects. Steps to reproduce: - open IDE in SDI mode - create 2 new projects - switch to default project, mount repository with modules - open some build script and execute it, e.g. for ant module - open some other files in editor - switch to another project and open form MemoryView - switch to default project if everything works OK, try to switch couple times between project with form and default one. IOExceptions were thrown. IOException are attached.
Created attachment 3498 [details] exception stack traces
Created attachment 3499 [details] exception stack trace - only XML file was in editor
It seems that it's not conected to XML file but to type of editor openned in Editor window. Basically if you open txt file in one project and then txt file in another project the first editor is closed. The same works even for java files. Steps to reproduce: - create new project - switch to default project and open txt (java) file - switch to new project and open another txt (java) file - switch back to default project and first editor is closed Exception is not reproducible.
Moving to core/winsys. It seems to be related to way how Window System is saved during the project close. The save activity may post some tasks which then interfere with the open activity performed on the new project. I am investigating it further, it's quite good reproducible on JDK 1.4. We discussed probable fixes, but all of them are too risky to put them in trunk immediately before entering high resistance mode.
-> winsys
Just ccing me.
Two thinks were changed in order to improve winsys behavior during project switch: 1. SessionManager waits for AutomountSupport to finish repository update after the new project layer is set 2. Winsys waits for tasks deferred to AWT thread during the project close Above changes were done on release33 branch, please try to verify it and remind me in case you will observe this problem again. It rarely occured on my W2K box with JDK 1.4 and seems to be gone after the changes were applied. DeferredPerformer.java (1.9.38.1) WindowManagerImpl.java (1.118.2.1)
Waived for 3.3. Not reliably reproducible and the cause is not clear.
I cannot reproduce in [nb_dev](20020530), closed.