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 VERSION : 1.5.0_01 ] i invoked fix imports upon a java file. the right import was added, but the progress dialog didn't dissapear and was grayed out.
Created attachment 20701 [details] output of jstack
in case it's important, the ide was build from CVS and has build number 050305
The attached thread dump is incomplete. Unfortunatelly it is not helpful at all. Next time this happens please attach the full thread dump if you can (you can get it by hiting Ctrl+\ in the console window associated with netbeans). Without this information we may not be able to find the problem and fix it. Thanks in advance.
Please submit a complete thread dump and then reopen the issue. Thanks.
ok, here i go. it happened again, but it seems (whithout any analysis) not to be a deadlock. i was able to click in the ide, close editor windows, open new editors; the only thing i was not able to do was getting rid of the window and editing the file.
Created attachment 20760 [details] screenshot of the gray progress dialog
Created attachment 20761 [details] complete thread dump
This could be a duplicate of issue 56110. Dan claims he fixed it on March 4. But you are saying you were using build from March 5. Was it a custom build? Could it be that you did not have the changes done by Dan in this build? Or did it happen to you even in newer build?
I am able to reproduce the issue on build 200503101100. To reproduce it is enough to launch the fix imports dialog several times on any java file. Then the dialog gets stuck and IDE becomes partly unusable (you can close windows but no editing is possible, like if the main window could not regain focus). Please address this issue soon.
P3->P2
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java,v <-- JavaFixAllImports.java new revision: 1.10; previous revision: 1.9
well, it's not fixed. i got the problem again. 1) i invoked fixed imports (nothing happened for the next second, so i thought all imports are ok) 2) pressed ctrl+shift+i to implement some methods 3) override methods dialog appeared 4) fix imports dialog appeared and was gray than i tried to reproduce the error by just keeping ctrl+shift+f pressed for a long time and i succeeded. i even got 3!! dialogs, as you can see in the screenshot
Created attachment 20924 [details] 3 gray fix imports dialogs
Can you provide the number of build you used, please ?
build number was 050317 (own cvs build)
The issue still occurs often on 200503211900 to me, it happens randomly, but only several (e.g. 3) attemtps are necessary to reproduce. Raised by another NetCat user recently.
Fixed. Checking in src/org/netbeans/modules/editor/java/FixImportsProgressPanel.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/FixImportsProgressPanel.java,v <-- FixImportsProgressPanel.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/modules/editor/java/JavaFixAllImports.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/JavaFixAllImports.java,v <-- JavaFixAllImports.java new revision: 1.11; previous revision: 1.10 done
The fix was succesfull, the dialog doesn't get frozen anymore. Leonchiver, can you please verify it, too?
This does not happen anymore. Verified. --- NetBeans IDE Dev (Build 070214) 1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105 Linux version 2.6.12-1.1390_FC4smp running on i386 en_US (nb); UTF-8