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.
attached is the full thread dump during the IDE lockup, as well as the stacktrace of the initial exception. After switching configurations in midp project (where the config's are associated with different platforms), attached MOFID no longer exists exception is sometimes thrown. This is already a known bug, but this time the exception caused the Scanning Project Classpaths dialog to remain open indefinitely. Because this is a modal dialog, the IDE is effectively locked, and unsaved data will be lost (as killing the IDE is the only way to close it). I can't not reproduce 100% of the time, but it does eventually reproduce. The best way to try reproducing this bug would be: -install the mobility pack -create a configuration called nokia -add nokia series 60 emulator platform and wtk -associate nokia platform with nokia config, wtk with defaultconfig -create an object using the following lines as the class definition /*#nokia#*///<editor-fold> //--public class Main extends com.nokia.mid.ui.FullCanvas /*$nokia$*///</editor-fold> /*#!nokia#*///<editor-fold> public class Main extends Canvas /*$!nokia$*///</editor-fold> Switching between configurations will sometimes throw the exception/cause the deadlock. The project that i'm reproducing with has 5 different configurations and each with a different platform associated with it. this might make it more easier to reproduce as well.
Created attachment 17629 [details] thread dump during deadlock
Created attachment 17630 [details] stacktrace of original exception
Exception itself is duplicate of issue 48508. I'm attaching patch, which does not fix the exception, but should avoid the progress dialog from being opened forever. Can I ask you to apply this patch and test it? Thanks.
Created attachment 17644 [details] Proposed patch
Patch verified by gc (thanks!) and integrated to trunk: Checking in JMManager.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v <-- JMManager.java new revision: 1.53; previous revision: 1.52 done Will be integrated to release40_beta2
Fixed in release40_beta2 Checking in JMManager.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v <-- JMManager.java new revision: 1.51.4.1; previous revision: 1.51 done
Reorganization of java component