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 - [36cat] NPE when using fast search in Filesystem view
Summary: [36cat] NPE when using fast search in Filesystem view
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
: 41107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-18 09:20 UTC by Jan Chalupa
Modified: 2008-12-22 23:54 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack trace (1.01 KB, text/plain)
2004-03-18 09:24 UTC, Jan Chalupa
Details
proposed patch to release36 (1.93 KB, patch)
2004-03-18 09:28 UTC, Jiri Rechtacek
Details | Diff
binary patch to release36 (1.93 KB, application/octet-stream)
2004-03-18 13:29 UTC, Jiri Rechtacek
Details
really patch to release36 (47.24 KB, application/octet-stream)
2004-03-18 13:54 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
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)