Community
Participate
Working Groups
I2004-06-16-20:00 1) create a workspace with JUnit 3.8.1 and org.eclipse.releng as source. 2) search for declarations of type *e* via the search dialog 3) cancel the search 4) observe. you get an exception: Thread [Worker-4] (Suspended (exception NullPointerException)) PossibleMatch.cleanUp() line: 46 MatchLocator.locateMatches(JavaProject, PossibleMatch[], int, int) line: 719 MatchLocator.locateMatches(JavaProject, PossibleMatchSet) line: 776 MatchLocator.locateMatches(SearchDocument[]) line: 879 JavaSearchParticipant.locateMatches(SearchDocument[], SearchPattern, IJavaSearchScope, SearchRequestor, IProgressMonitor) line: 94 SearchEngine.findMatches(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor) line: 468 SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor) line: 757 JavaSearchQuery.run(IProgressMonitor) line: 125 InternalSearchUI$InternalSearchJob.run(IProgressMonitor) line: 83 Worker.run() line: 66
Problem introduced while fixing bug 65831. Should check for null in the cleanup () method.
Is a regrssion to RC2. Approved by Dirk.
+1
Change reviewed.
Null check in PossibleMatch.cleanUp() released.
Verified for 3.0RC3 I200406180800