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.
1.Type below code (regardless the error): --------- class Z { void printAll(ArrayList<Object> c) { for (Object o : c) System.out.println(o); } void test() { ArrayList<String> list = new ArrayList<String>(); printall(list); // error } } --------------- 2. Alt+Shift+F Netbeans frozen for ever.
my settings: the build 20050401 dev jdk 1.5.0.0_02 windows2000
I think that this is the dup of issue 57316 but I'm not 100% sure because you did not provide a threaddump of the deadlocked IDE. Could you please do so? Thanks.
Try Fix imports and kill netbeans again!! as it is frozen, there wasn't any dump. Kill it in the 'task manager' of windows 2000 and restart netbeans. here it is: see the attachment.
Created attachment 21370 [details] the thread dumps
Please run nb.exe (so that there is a java console window opened) and once you reach the deadlock please goto to the console window and press Ctrl-Break. There should be list of threads with their present stacks dumped on the console. Please grab that output and attach it to this issue. Thanks in advance.
Aha, in the first time(right now), 1- I ran it from CLI and 'Fix imports' by popup menu of source editor, everything is work normal. 2- undo and retry 'Fix imports'again(by popup menu),deadlock again. this can recur by repeating the above two steps. If were by shortcut Alt+Shift+F in the first step, simply deadlock quickly . So bad, no threaddump available too.
OK, I now see that it's really a dup of issue 57316. I doubted because the build is usually started at 18:00 and it would already have to contain the fix (integrated at 14:23). But that build was done at 07:47 so it did not contain the fix. I have reproduced as well in the meantime. Please download any daily build made after 20050401 to see this issue fixed. *** This issue has been marked as a duplicate of 57316 ***
thanks for your detail.