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.
Help system was somehow corrupted after commit with timestamp 2003-11-06 18:22. To reproduce: - run IDE - open Help|Contents or Help|Help Sets|Core IDE Help It will not open correct help set and the following message is printed out: [org.netbeans.modules.javahelp #2] Warning: the JavaHelp topic ID ide.welcome was not found. Tested in build 20031107-1018.
fixed, although the merged TOC still isn't displaying correctly. Should get fixed when we remove targets from the TOC folders.
It works on windows but not on Solaris (Unix in general probably): Annotation: Bad file: Services/JavaHelp/org-netbeans-modules-usersguide-helpset.xml java.io.IOException: no url attr on <helpsetref>! doc.class=org.openide.loaders.XMLDataObject$DelDoc doc.documentElement=[helpsetref: null] at org.netbeans.modules.javahelp.HelpSetProcessor.instanceCreate(HelpSetProcessor.java:115) Details in attached stack trace. Tested in build 20031109-1610, Solaris8, JDK1.4.2_02.
Created attachment 12100 [details] Stack trace from Solaris
I've rolled back all of the changes that I made on Thursday night. I've been having build troubles that keep me from building the entire trunk, but I built each of the modules that were affected and pasted the module JARs into the dev build, tested that on a Solaris machine and it worked.
Rollback didn't help. It is still failing with the same message as in the last attachment.
Jiri, is it possible this message was also appearing before John's Thursday commit?
I tested build 20031106-1704 (the last before John's commit) and it threw NullPointerException (a different one than it throws now). When you close the exception dialog, the help window is opened. See attachment for stack trace.
Created attachment 12111 [details] stack trace from build 20031106-1704
Tested this more on the 3-11 build and was able to reproduce it once, so the problem was there before my commit. This problem occurs randomly for me. See the attatched log file. In my first session yesterday, the it only produced the NPE that you refer to Jiri, (BTW, filed http://www.netbeans.org/issues/show_bug.cgi?id=37147 for that NPE but looks like they may be related). The second session it threw the java.io.IOException. All the other sessions, when I tried to run the IDE with the -J-Dorg.netbeans.modules.javahelp=0 switch, it only threw the NPE. Jiri, can you try reproducing the error with the -J-Dorg.netbeans.modules.javahelp=0 switch?
Created attachment 12112 [details] log file
With the -J-Dorg.netbeans.modules.javahelp=0 switch I get NPE mentioned in issue 37147. Second time I try to open Help|Contents it works. So, this issue (37088) can be probably closed.
I don't know if we should close it. Users wouldn't run the IDE with that switch, it's only for us to debug JavaHelp behavior. And this randomly recurring bug still causes the commit validation tests to fail when it occurs.
It behaves the same way both with and without the switch. The commit validation tests fail because NPE is thrown and help window is not opened for the first time.
Reassigning issue to myself. Tomas Hurka fixed 37147. I will update and see if his fix for that also cures this problem.
Just tested it with todays build, and it works fine. John, if you didn't replace your rolled back changes, why don't you check them in again and verify that it works with them, and reopen if there's still a problem.
It works fine also for me.