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 41097

Summary: [36cat] NPE when using fast search in Filesystem view
Product: platform Reporter: Jan Chalupa <jchalupa>
Component: ExplorerAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED FIXED    
Severity: blocker CC: lhasik, mmirilovic, pnejedly, ttran
Priority: P1 Keywords: REGRESSION
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception stack trace
proposed patch to release36
binary patch to release36
really patch to release36

Description Jan Chalupa 2004-03-18 09:20:21 UTC
[NB 3.6 RC1; J2SDK 1.4.2_03]

Originally reported by a NetCAT participant
against RC1.

Steps to reproduce:

1. Invoke the "fast search" feature in the
Filesystem view in Explorer (just start typing)
2. Type a non-existing string (e.g. 'xxxxxxx') and
press Enter
3. NPE (attached) is thrown.
Comment 1 Jan Chalupa 2004-03-18 09:24:16 UTC
Created attachment 14024 [details]
Exception stack trace
Comment 2 Jiri Rechtacek 2004-03-18 09:28:50 UTC
Created attachment 14025 [details]
proposed patch to release36
Comment 3 Jiri Rechtacek 2004-03-18 09:31:57 UTC
It's regression caused by bugfix issue 39607 (fixed 2004/02/25), the
fix is simple, added check if any selection path exists. Will be fixed
in maintrunk ASAP.
Comment 4 Jiri Rechtacek 2004-03-18 10:28:47 UTC
The patch was applied in maintrunk.
Comment 5 Jiri Rechtacek 2004-03-18 13:29:37 UTC
Created attachment 14033 [details]
binary patch to release36
Comment 6 Jiri Rechtacek 2004-03-18 13:54:49 UTC
Created attachment 14034 [details]
really patch to release36
Comment 7 Lukas Hasik 2004-03-18 15:05:19 UTC
I've tried the patch and it seems to work properly in RC1. No exception.

VERIFIED.
Comment 8 Petr Nejedly 2004-03-19 08:46:18 UTC
I've reviewed the fix and it is safe and OK.
Comment 9 Jan Chalupa 2004-03-19 12:44:39 UTC
*** Issue 41107 has been marked as a duplicate of this issue. ***
Comment 10 Jiri Rechtacek 2004-03-22 15:05:41 UTC
The patch was backported to release36 branch.
Comment 11 Marian Mirilovic 2004-03-26 13:50:39 UTC
verified in NB 3.6 (RC2 200403251830)