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 50632 - [40cat] NPE when attempting to search javadoc
Summary: [40cat] NPE when attempting to search javadoc
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 19:17 UTC by jasondonmoyer
Modified: 2006-03-24 10:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception from IDE dialog box (2.34 KB, text/plain)
2004-10-19 19:18 UTC, jasondonmoyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasondonmoyer 2004-10-19 19:17:34 UTC
[ BUILD # : 200410181800 ]
[ JDK VERSION : J2SE 1.5.0 ]

I get the attached NPE when doing the following
(occurs the first time these steps are performed
after the IDE is started):

1.  Shift + F1 in the editor (nothing selected)
2.  Type in a search criteria (I used String). Hit
Enter.
3.  Nothing happened so I then hit the 'find'
button and that's when the NPE occurred.

On subsequent attempts, pressing 'enter' performs
the search quickly and the 'find' button changes
to 'stop'.
Comment 1 jasondonmoyer 2004-10-19 19:18:07 UTC
Created attachment 18389 [details]
exception from IDE dialog box
Comment 2 Martin Matula 2004-10-25 14:58:53 UTC
Honzo, please evaluate and set the target milestone.
Comment 3 Jan Pokorsky 2004-10-26 14:16:18 UTC
There is a race condition in SearchThreadJdk12.

Fixed in

/cvs/javadoc/src/org/netbeans/modules/javadoc/search/SearchThreadJdk12.java
new revision: 1.32; previous revision: 1.31
/cvs/javadoc/src/org/netbeans/modules/javadoc/search/SearchThreadJdk12_japan.java
new revision: 1.11; previous revision: 1.10
Comment 4 jasondonmoyer 2004-10-26 15:05:07 UTC
Verified fixed in build 200410251800