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 38882 - java.lang.NullPointerException when searching
Summary: java.lang.NullPointerException when searching
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2004-01-16 09:39 UTC by Jaromir Uhrik
Modified: 2004-08-16 16:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack trace (727 bytes, text/plain)
2004-01-16 09:40 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2004-01-16 09:39:34 UTC
[200401141900; j2sdk1.4.2_03]
Invoke Find in Files dialog and have selected 
Full Text tab. Set then checkbox Use This 
Criterion for Search to true and press Search 
button. The exception dialog appears.
Comment 1 Jaromir Uhrik 2004-01-16 09:40:12 UTC
Created attachment 12928 [details]
Exception stack trace
Comment 2 Marian Petras 2004-02-26 10:56:55 UTC
Confirmed.

The problem appears only if the user tries to search for an empty
string. It should not be allowed. It will need a discussion with UI
engineers (should it be allowed to check the "Use This Criterion for
Search" check box if no string is specified?).
Comment 3 Jan Stola 2004-08-05 17:20:49 UTC
The exception is no longer thrown => closing.
The rest is a general problem - see issue 46946.
Comment 4 Jaromir Uhrik 2004-08-16 16:33:43 UTC
Verified.