Community
Participate
Working Groups
Using 0416, I tried to get the reference for the constructor inside BaseTypeBinding. I got this exception before the search completion. Caused by: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding.getExactConstructor(SourceTypeBinding.java:388) at org.eclipse.jdt.internal.compiler.lookup.BlockScope.getConstructor(BlockScope.java:913) at org.eclipse.jdt.internal.compiler.ast.AllocationExpression.resolveType(AllocationExpression.java:192) at org.eclipse.jdt.internal.compiler.ast.FieldDeclaration.resolve(FieldDeclaration.java:170) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:890) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:930) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:213) at org.eclipse.jdt.internal.core.search.matching.MatchingOpenable.locateMatchesInCompilationUnit(MatchingOpenable.java:299) at org.eclipse.jdt.internal.core.search.matching.MatchingOpenable.locateMatches(MatchingOpenable.java:155) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches(MatchLocator.java:1322) at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches(MatchLocator.java:591) at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:407) at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:353) at org.eclipse.jdt.internal.ui.search.JavaSearchOperation.execute(JavaSearchOperation.java:82) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:64) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1343) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
Suspect a jit problem. Do you use IBM JDK 1.3.1?
No, I use 1.4. I have this problem only when searching for the constructor reference. I didn't find the problem during other searches.
So could you please give me your workspace (and put it in the usual place) as I cannot reproduce this problem in mine?
I cannot reproduce it anymore in my workspace. So there is no need to send you this workspace and you can close this PR as WORKSFORME.
Closing.