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 5252 - When folder $FORTE_HOME/docs/ is accidentaly cleared, JSP throws exception at startup and startup process is halted.
Summary: When folder $FORTE_HOME/docs/ is accidentaly cleared, JSP throws exception at...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All Linux
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-10 01:50 UTC by Svata Dedic
Modified: 2008-12-23 10:40 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 Svata Dedic 2000-01-10 01:50:22 UTC
Exception in thread "main" java.lang.IllegalStateException: Cannot find help set file at com.netbeans.enterprise.modules.servlet.docs.HelpSet
        at org.openide.modules.ModuleDescription.getDescription(ModuleDescription.java:309)
        at com.netbeans.developer.impl.ModuleItem.getRealHelpSet(ModuleItem.java:256)
        at com.netbeans.developer.impl.ModuleItem.restoreDefault(ModuleItem.java:302)
        at com.netbeans.developer.impl.ModuleInstaller.initialize(ModuleInstaller.java:173)
        at com.netbeans.developer.impl.Main.main(Main.java:493)
        at com.netbeans.developer.Main.main(Main.java:25)

[Svata] I`ve experienced this several times in Linux / JDK-1.2.2-j. Every time IDE startup hung when "Loading JSP". I`m unable to reproduce that on Windows NT.


[jglick] I`m not sure why it would occur only sometimes. Anyway, the exception should *not* be fatal, I should make it more robust. Line 259 should only *notify* ise and return null.

[jglick] OK, should now be more robust, i.e. error will still be notified but should not halt IDE startup. However, the problem may still be there--must determine why this help set is not found. It sh
ould be present in the docs/ folder under installation, or within the module JAR. Also ask Milan K why, if it is not there.