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 183172 - [69cat] NullPointerException at org.netbeans.modules.search.ResultViewPanel.getNextDetail
Summary: [69cat] NullPointerException at org.netbeans.modules.search.ResultViewPanel.g...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Victor Vasilyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 11:23 UTC by Peter Nabbefeld
Modified: 2010-03-30 19:38 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167332


Attachments
stacktrace (2.05 KB, text/plain)
2010-03-30 11:23 UTC, Peter Nabbefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2010-03-30 11:23:22 UTC
This bug was originally marked as duplicate of bug 177642, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201003290201)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP

User Comments:
GUEST: searched for text within all open projects and expanded the first result before the search was finished

GUEST: this occurred immediately after a previous error which I sent a report for also.  I expanded the second result in the search results after searching for text within all open projects and got a null pointer exception.  the previous error was that I expanded the first search result before the search was finished, and an exception occurred and the results did not expand.

FrantaM: Clicked an item in "Found xx matches" list in Find & Replace results window.

tboudreau: Clicked matches in a search window

epdv: Searched cloned repository for Java classes implementing some interface. Interrupted search after some locations were shown. When clicking on a result node/entry, this NPE pops up.

buzzword: Clicked to open a file after a project-wide regexp search.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.search.ResultViewPanel.getNextDetail(ResultViewPanel.java:976)
   at org.netbeans.modules.search.ResultViewPanel.findNextPath(ResultViewPanel.java:907)
   at org.netbeans.modules.search.ResultViewPanel.access$1200(ResultViewPanel.java:88)
   at org.netbeans.modules.search.ResultViewPanel$ArrowStatusUpdater.update(ResultViewPanel.java:1213)
   at org.netbeans.modules.search.ResultViewPanel$ArrowStatusUpdater.mousePressed(ResultViewPanel.java:1230)
   at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
Comment 1 Peter Nabbefeld 2010-03-30 11:23:27 UTC
Created attachment 96317 [details]
stacktrace
Comment 2 Victor Vasilyev 2010-03-30 12:06:33 UTC
Bug 177642 is about action "Go to the next matching string".
This bug is the same, but about action "Go to the previous matching string".
I've not noticed code duplication :-(
Comment 3 Victor Vasilyev 2010-03-30 19:38:36 UTC
Fixed
http://hg.netbeans.org/main/rev/133dd99d9665