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 37088 - Helpsets "Core IDE Help" and welcome not found
Summary: Helpsets "Core IDE Help" and welcome not found
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 3.x
Hardware: PC Solaris
: P2 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 12:30 UTC by Jiri Skrivanek
Modified: 2008-12-22 18:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace from Solaris (5.79 KB, text/plain)
2003-11-10 08:18 UTC, Jiri Skrivanek
Details
stack trace from build 20031106-1704 (4.40 KB, text/plain)
2003-11-12 08:28 UTC, Jiri Skrivanek
Details
log file (146.96 KB, text/plain)
2003-11-12 09:09 UTC, John Jullion-ceccarelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2003-11-07 12:30:37 UTC
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.
Comment 1 John Jullion-ceccarelli 2003-11-07 14:10:27 UTC
fixed, although the merged TOC still isn't displaying correctly.
Should get fixed when we remove targets from the TOC folders.
Comment 2 Jiri Skrivanek 2003-11-10 08:17:36 UTC
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.
Comment 3 Jiri Skrivanek 2003-11-10 08:18:15 UTC
Created attachment 12100 [details]
Stack trace from Solaris
Comment 4 John Jullion-ceccarelli 2003-11-10 18:33:11 UTC
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.  

Comment 5 Jiri Skrivanek 2003-11-11 17:41:21 UTC
Rollback didn't help. It is still failing with the same message as in
the last attachment.
Comment 6 Patrick Keegan 2003-11-11 19:22:49 UTC
Jiri, is it possible this message was also appearing before John's
Thursday commit?
Comment 7 Jiri Skrivanek 2003-11-12 08:27:43 UTC
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.
Comment 8 Jiri Skrivanek 2003-11-12 08:28:50 UTC
Created attachment 12111 [details]
stack trace from build 20031106-1704
Comment 9 John Jullion-ceccarelli 2003-11-12 09:08:23 UTC
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?


Comment 10 John Jullion-ceccarelli 2003-11-12 09:09:29 UTC
Created attachment 12112 [details]
log file
Comment 11 Jiri Skrivanek 2003-11-12 12:12:11 UTC
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.
Comment 12 John Jullion-ceccarelli 2003-11-12 12:54:29 UTC
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.
Comment 13 Jiri Skrivanek 2003-11-12 13:08:08 UTC
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.
Comment 14 _ tboudreau 2003-11-12 17:05:19 UTC
Reassigning issue to myself.

Tomas Hurka fixed 37147.  I will update and see if his fix for that
also cures this problem.
Comment 15 _ tboudreau 2003-11-13 12:33:34 UTC
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. 
Comment 16 Jiri Skrivanek 2003-11-13 12:50:27 UTC
It works fine also for me.