Bug 125837 - NPE while getting the signature of a method binding
Summary: NPE while getting the signature of a method binding
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-01-31 10:06 EST by Pascal Rapicault CLA
Modified: 2009-08-30 02:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2006-01-31 10:06:12 EST
I20060125-0800
I'm not sure how I got there, nor do I have a reproduceable test case but still I got the following NPE:

java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.lookup.MethodBinding.signature(MethodBinding.java:708)
 at org.eclipse.jdt.internal.compiler.lookup.MethodBinding.computeUniqueKey(MethodBinding.java:321)
 at org.eclipse.jdt.internal.compiler.lookup.Binding.computeUniqueKey(Binding.java:55)
 at org.eclipse.jdt.core.dom.MethodBinding.getKey(MethodBinding.java:304)
 at org.eclipse.jdt.core.dom.DefaultBindingResolver.resolveMethod(DefaultBindingResolver.java:693)
 at org.eclipse.jdt.core.dom.MethodDeclaration.resolveBinding(MethodDeclaration.java:880)
 at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:568)
 at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:182)
 at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2636)
 at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1238)
 at org.eclipse.jdt.core.dom.AST.convertCompilationUnit(AST.java:270)
 at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:160)
 at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:71)
 at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720)
 at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:779)
 at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1114)
 at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1089)
 at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcilingStrategy.java:97)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:785)
 at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:82)
 at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(JavaReconcilingStrategy.java:172)
Comment 1 Jerome Lanneluc CLA 2006-02-01 16:55:24 EST
Unfortunately from the stack trace it is impossible to know what happened. Please reopen if you have more info.
Comment 2 Jerome Lanneluc CLA 2007-03-09 07:11:26 EST
Closing since no information was provided for more than a year.
Comment 3 Denis Roy CLA 2009-08-30 02:08:14 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.