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.

Bug 13647 - Ide doesn't start on jdk1.4
Summary: Ide doesn't start on jdk1.4
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-17 12:17 UTC by Jan Zajicek
Modified: 2008-12-23 08:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log after first start under Merlin b71 (9.31 KB, text/plain)
2001-07-17 18:12 UTC, Robert Dankanin
Details
thrown exception (1.08 KB, text/plain)
2001-07-17 18:25 UTC, Robert Dankanin
Details
ide.log when running on Solaris (69.64 KB, text/plain)
2001-07-18 08:22 UTC, Jan Zajicek
Details
output from terminal when running on Solaris (4.73 KB, text/plain)
2001-07-18 08:23 UTC, Jan Zajicek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2001-07-17 12:17:31 UTC
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)
Comment 1 Jesse Glick 2001-07-17 15:46:21 UTC
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.
Comment 2 Jesse Glick 2001-07-17 15:46:45 UTC
x
Comment 3 Jesse Glick 2001-07-17 16:34:44 UTC
Do not see this under b62...
Comment 4 Jesse Glick 2001-07-17 16:59:29 UTC
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...
Comment 5 Robert Dankanin 2001-07-17 18:11:02 UTC
[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).
Comment 6 Robert Dankanin 2001-07-17 18:12:14 UTC
Created attachment 1894 [details]
ide log after first start under Merlin b71
Comment 7 Robert Dankanin 2001-07-17 18:23:24 UTC
Difficulties noticed also after trying [Main trunk build 
#200107160100] under Merlin b71.

InvalidException has been fired to console (attaching) but IDE has 
started.
Comment 8 Robert Dankanin 2001-07-17 18:25:22 UTC
Created attachment 1895 [details]
thrown exception
Comment 9 Jesse Glick 2001-07-17 18:32:20 UTC
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.
Comment 10 Jesse Glick 2001-07-17 18:43:29 UTC
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.
Comment 11 Jan Zajicek 2001-07-18 08:21:58 UTC
Ok, I am attaching the ide log and output from terminal when running
NB #200107170100 with Merlin b71 on Solaris.
Comment 12 Jan Zajicek 2001-07-18 08:22:48 UTC
Created attachment 1896 [details]
ide.log when running on Solaris
Comment 13 Jan Zajicek 2001-07-18 08:23:40 UTC
Created attachment 1897 [details]
output from terminal when running on Solaris
Comment 14 Jesse Glick 2001-07-18 15:58:12 UTC
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.
Comment 15 Jan Zajicek 2001-07-19 12:55:26 UTC
verified in dev #20010719
Comment 16 Quality Engineering 2003-07-01 16:17:55 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.