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 137259 - NullPointerException at org.netbeans.modules.quicksearch.recent.RecentProvider.evaluate
Summary: NullPointerException at org.netbeans.modules.quicksearch.recent.RecentProvide...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Quick Search (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Simonek
URL: http://statistics.netbeans.org/except...
Keywords:
: 137301 137379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-16 10:03 UTC by Peter Pis
Modified: 2008-12-22 11:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 65658


Attachments
stacktrace (391 bytes, text/plain)
2008-06-17 02:52 UTC, Jesse Glick
Details
stacktrace (391 bytes, text/plain)
2008-06-17 07:25 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2008-06-16 10:03:08 UTC
Build: NetBeans IDE Dev (Build 200806151203)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86
User comments: 
1. Start NB
2. Enter some text to search field and push enter key.


STACKTRACE: (first 10 lines)
java.lang.NullPointerException
        at org.netbeans.modules.quicksearch.recent.RecentProvider.evaluate(RecentProvider.java:57)
        at org.netbeans.modules.quicksearch.CommandEvaluator$1.run(CommandEvaluator.java:129)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Marian Mirilovic 2008-06-16 10:46:43 UTC
I've tried build 

Product Version: NetBeans IDE Dev (Build 200806160002)
Java: 1.6.0_10-beta; Java HotSpot(TM) 64-Bit Server VM 11.0-b12
System: Linux version 2.6.24-18-generic running on amd64; UTF-8; en_US (nb)

and it works without any problems.
Comment 2 Peter Pis 2008-06-16 12:36:37 UTC
After NPE is thrown repeatedly and IDE has to be closed.
Comment 3 Jesse Glick 2008-06-17 02:52:59 UTC
Created attachment 62900 [details]
stacktrace
Comment 4 Martin Fousek 2008-06-17 07:25:30 UTC
Created attachment 62905 [details]
stacktrace
Comment 5 Jana Maleckova 2008-06-17 09:08:42 UTC
reproducible on build 20080617044253 as well (java distribution) and IDE has to be killed
Comment 6 David Simonek 2008-06-17 13:18:10 UTC
Key point to successful reproduction is to enter string for which no results are found!
Comment 7 David Simonek 2008-06-17 13:18:34 UTC
*** Issue 137379 has been marked as a duplicate of this issue. ***
Comment 8 David Simonek 2008-06-17 13:19:37 UTC
*** Issue 137301 has been marked as a duplicate of this issue. ***
Comment 9 David Simonek 2008-06-17 15:47:00 UTC
Fixed in http://hg.netbeans.org/main/rev/9f395b50ab97
Comment 10 Peter Pis 2008-06-19 14:00:42 UTC
Verified.