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

Summary: java.lang.NullPointerException when searching
Product: utilities Reporter: Jaromir Uhrik <juhrik>
Component: SearchAssignee: issues@utilities <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: UI
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception stack trace

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.