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 79233 - netbeans hangs on startup when installed inside JDK dir
Summary: netbeans hangs on startup when installed inside JDK dir
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 81024 (view as bug list)
Depends on: 121777
Blocks:
  Show dependency tree
 
Reported: 2006-06-27 16:03 UTC by gimbal
Modified: 2008-12-23 08:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gimbal 2006-06-27 16:03:31 UTC
When netbeans 5 is installed as a subdirectory of the JDK that is chosen during
the installation of netbeans (possibly the JDK that the JAVA_HOME environmental
variable points to), it will hang forever when loading the modules during
startup. The taskmanager will claim that netbeans is still responding. When the
process is manually killed the logfile fills up with messages claiming that
modules could not be found. This issue was witnessed on two seperate machines,
both windows XP SP2 with JDK 1.5.06.

Workaround: do not install netbeans inside the JDK directory.
Comment 1 Petr Nejedly 2006-06-27 16:23:38 UTC
Startup problem.
Comment 2 _ rkubacki 2006-06-29 17:28:23 UTC
It hurts seriously with NB5.0. It is  bit better with trunk - info about
unsatisfied dependecies is displayed (either missing JavaHelp on Win or
ModuleFormat1 on Linux).

The problems is list ignoredPrefixes in ModuleSystem class that causes skip of
loading of some boot modules. We go through 'goto MANIFESTS' in
ModuleSystem.loadBootModules(). The IDE starts if I comment loop causing this skip.
Comment 3 Jesse Glick 2006-06-29 17:45:27 UTC
Just removing the check is no good since that would cause a performance
regression. Need to find some more refined check.
Comment 4 Jesse Glick 2007-10-10 18:21:50 UTC
Checking in ModuleSystem.java;
/shared/data/ccvs/repository/core/startup/src/org/netbeans/core/startup/ModuleSystem.java,v  <--  ModuleSystem.java
new revision: 1.15; previous revision: 1.14
done
Comment 5 Jesse Glick 2008-11-24 16:14:47 UTC
*** Issue 81024 has been marked as a duplicate of this issue. ***