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.
netbeans-hudson-trunk-3866-mobility.zip -deadlock happened when I have opened Visual Designer document and it needs repaint "AWT-EventQueue-1" prio=6 tid=0x0395c800 nid=0x124c in Object.wait() [0x06daf000..0x06dafc94] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at org.openide.util.Task.waitFinished(Task.java:130) - locked <0x17f27138> (a org.openide.util.RequestProcessor$Task) at org.openide.util.RequestProcessor$Task.waitFinished(RequestProcessor.java:745) at org.openide.loaders.FolderChildren.getNodes(FolderChildren.java:192) at org.openide.nodes.FilterNode$Children.getNodes(FilterNode.java:1470) at org.netbeans.modules.palette.DefaultModel.getCategories(DefaultModel.java:151) - locked <0x17ef36c0> (a org.netbeans.modules.palette.DefaultModel) at org.netbeans.modules.palette.ui.PalettePanel$1.run(PalettePanel.java:237) - locked <0x18133748> (a java.lang.Object) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -I cannot reproduce. I hope that the full thread dump helps to fix it
Created attachment 50669 [details] full thread dump
Reassigning to Stanislav.
Created attachment 50704 [details] stacktrace
fixed /cvs/core/palette/src/org/netbeans/modules/palette/DefaultModel.java,v <-- DefaultModel.java new revision: 1.20; previous revision: 1.19
I just updated core module and its still happens. Now it is completely reproducible: - Open Mobility Project - Open or create new Visual MIDlet - Delete some category in the palette, for example Items - Manually Refresh Palette from context menu. See also stacktrace attached.
Created attachment 50807 [details] stacktrace
the new stack trace points to an old source file, the bug has been fixed already. please update your source file properly
Created attachment 50816 [details] stack trace palette
Last stack trace attached to this issue has been taken with current Palette module sources, unfortunately deadlock still appears.
but the line numbers are wrong again, for example org.netbeans.modules.palette.DefaultModel.childrenAdded(DefaultModel.java:146) points to a closing bracket. did you checkout/update core/palette from trunk?
Yes, I deleted core sources, check out core sources again,even manually deleted core jar from module ../nbbuild/netbeans..in this case i'm gonna check out and compile whole netbeans sources
I think I found a problem palette is not comiled inside of core build.xml, yes you right I just tried and dead lock is not appears any more. Sorry for this mess
Yes it definitely works now, whole mess was caused by the old binaries. Thanks again.