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 32961 - NullPointerException (JEditorPane$PageLoader.run:556)
Summary: NullPointerException (JEditorPane$PageLoader.run:556)
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 36833 47223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-16 19:05 UTC by rkjack1
Modified: 2004-10-26 14:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (18.78 KB, text/plain)
2003-04-18 16:27 UTC, rkjack1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rkjack1 2003-04-16 19:05:19 UTC
I opened the Javadoc search index, performed a search, 
two results came back, click once on the first entry, then 
once on the second entry, then click once on the first 
entry again.  I get an Unexpected Exception window with a 
java.lang.NullPointerException.  Details:
 
    java.lang.NullPointerException
[catch] at javax.swing.JEditorPane$PageLoader.run
(JEditorPane.java:556)
Comment 1 Jesse Glick 2003-04-18 16:12:28 UTC
Works fine for me (nb dev build, JDK 1.4.2 on Linux). Probably some
race condition? Anyway you need to attach a complete log file in order
to even guess what might be wrong - the exception is after all being
thrown from inside Swing code, not NetBeans. And be specific about
*what* search you did and what results you clicked on (if the Javadoc
corresponds to some well-known and available set, e.g. the JDK's Javadoc).
Comment 2 rkjack1 2003-04-18 16:27:52 UTC
Created attachment 10030 [details]
ide log file
Comment 3 rkjack1 2003-04-18 16:35:28 UTC
  The java doc search for a class of mine.  Not a JDK 
class.  The steps to recreate it are:

  1. view -> java doc search engine
  2. search for a class in one of your own mounted javad 
doc directories
  3. double click on one of the entries found opening up 
(internet explorer) in my case.
  4. Close all instances of internet explorer
  5. Single click random entries in the javadoc list of 
results.
  6. I get the following pop-up:

      A java.lang.NullPointerException has occurred.  
Please report this at 
http://www.netbeans.org/devhome/issues.html, including a 
copy of your ide.log file as an attachment.
Comment 4 mensahel 2003-08-13 13:14:03 UTC
I get the same error on Windows XP Home PC. The following steps
recreate the situation:

1) Start NetBeans IDE 3.5.1
2) Perform a Javadoc Index search on the class String by
placing cursor over String in your source file, then press Shift F1 to
bring up Javadoc Index search
3) Scroll down to entry for constructor String(String)
4) Click on entry String(String) - Constructor for class.java.lang.String

NullPointerException is triggered.
Comment 5 _ pkuzel 2003-09-05 11:05:17 UTC
I'm taking responsibility for JavaDoc module.
Comment 6 _ pkuzel 2003-10-29 09:42:38 UTC
*** Issue 36833 has been marked as a duplicate of this issue. ***
Comment 7 Marek Grummich 2003-12-05 14:27:57 UTC
I saw this issue in the dev build 200312011900 (Linux).
Comment 8 _ pkuzel 2004-03-24 10:47:48 UTC
[batch] Giving up javadoc issues exclusive ownership.
Comment 9 Jan Becicka 2004-08-02 15:07:43 UTC
Cannot reproduce in promo-D. Please reopen if you can reproduce it in
latest builds. Thanks
Comment 10 Jan Becicka 2004-08-02 15:13:03 UTC
Probably JDK bug (JavaBugParade 4280532 and
4479067)
Comment 11 Jan Pokorsky 2004-10-26 14:19:15 UTC
*** Issue 47223 has been marked as a duplicate of this issue. ***