Bug 5526 - NullPointerException searching declarations of #close()
Summary: NullPointerException searching declarations of #close()
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-05 07:37 EST by Philipe Mulet CLA
Modified: 2002-01-11 09:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-11-05 07:37:54 EST
Build 207 

Searching (from Java search page) declarations of method named 'close',
raised a NullPointerException in match locator.

Log: Mon Nov 05 12:57:24 CET 2001
4 org.eclipse.jdt.ui 1 Internal Error
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
        at org.eclipse.jdt.internal.core.search.matching.PotentialMatch.locateMa
tchesInClassFile(PotentialMatch.java:292)
        at org.eclipse.jdt.internal.core.search.matching.PotentialMatch.locateMa
tches(PotentialMatch.java:156)
        at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc
hes(MatchLocator.java:899)
        at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatc
hes(MatchLocator.java:389)
        at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:339
)
        at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:256
)
        at org.eclipse.jdt.internal.ui.search.JavaSearchOperation.execute(JavaSe
archOperation.java:78)
        at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModify
Operation.java:64)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1188
)
        at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOp
eration.java:78)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal
Context.java:98)
Comment 1 Philipe Mulet CLA 2001-11-05 07:38:46 EST
Posting workspace on n:/archive/workspaces/5526.zip
Comment 2 Philipe Mulet CLA 2001-11-05 08:54:50 EST
Added a null check on the info, but still needs to understand why it didn't get 
properly initialized (from classfile reader).
Comment 3 Jerome Lanneluc CLA 2001-11-06 10:22:26 EST
Could not get the NullPointerException with workspace in 
n:/archive/workspaces/5526.zip, even with a plain 207 build.