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.
IDE doesn't start on latest jdk1.4 b71 and throws following exception: java.lang.IllegalStateException: Cannot disable a fixed module: Module[org.netbeans.core] at org.netbeans.core.modules.Module.setEnabled(Module.java:137) at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:487) at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:414) at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:377) at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:243) at org.netbeans.core.NonGui.run(NonGui.java:490) at org.netbeans.core.Main.run(Main.java:216) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:322) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:579)
Will work on it. By the way when reporting module bugs please include an ide.log and run with: -J-Dorg.netbeans.core.modules=0 -J-Dorg.netbeans.core.ui=0 These diagnostics will save a lot of time.
x
Do not see this under b62...
I see no problems under b62, and have no idea where to get b71. If you know that the problems started after b62, please reopen, include a full log as previously mentioned, and let me know where to get a copy of b71...
[Main trunk build #200107170100] [Win2000] Well, I've tested above mentioned build under Merlin builds 65, 69, 70, 71 - always with the same result (IDE doesn't start). I'm attaching ide log with mentioned switches + thread dump after first attempt (startup hang while "Loading modules..." appeared in the splash screen).
Created attachment 1894 [details] ide log after first start under Merlin b71
Difficulties noticed also after trying [Main trunk build #200107160100] under Merlin b71. InvalidException has been fired to console (attaching) but IDE has started.
Created attachment 1895 [details] thrown exception
The InvalidException is fine--the module in fact failed its package dependencies. (UI of reporting the failure will be improved in the future.) Will try to figure out what is happening with the main exception though.
Sorry, still cannot reproduce with b71 either with current sources, it starts fine for me. Maybe a Solaris-specific thing, can you check on Linux and Windows please? Also I did not see any module-system logging messages in your ide.log, please make sure you passed -J-Dorg.netbeans.core.modules=0 when starting the IDE, it should dump hundreds of messages into ide.log starting the moment the module system is initialized.
Ok, I am attaching the ide log and output from terminal when running NB #200107170100 with Merlin b71 on Solaris.
Created attachment 1896 [details] ide.log when running on Solaris
Created attachment 1897 [details] output from terminal when running on Solaris
Ahh, thanks for the full log and in fact I inadvertently fixed this I think yesterday but just checked in today. Please try with current sources. You should get the InvalidException from debuggertools (as it cannot work on JDK 1.4) and all else should load normally.
verified in dev #20010719
Resolved for 3.4.x or earlier, no new info since then -> closing.