Community
Participate
Working Groups
Version: 3.1.0 Build id: I20050209-0800 I found the following NullPointerException in my eclipse log. There was no error dialog and it didn't seem to stop anything working. Sorry, no steps to reproduce. java.lang.NullPointerException at org.eclipse.jdt.internal.corext.dom.Bindings.isEqualMethod(Bindings.java:692) at org.eclipse.jdt.internal.corext.dom.Bindings.findMethodInType(Bindings.java:348) at org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethodInType(Bindings.java:386) at org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethodInHierarchy(Bindings.java:496) at org.eclipse.jdt.internal.corext.dom.Bindings.findMethodDefininition(Bindings.java:525) at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager$1.visit(OverrideIndicatorManager.java:183) at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:488) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:486) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2520) at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:291) at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2450) at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager.updateAnnotations(OverrideIndicatorManager.java:176) at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager.reconciled(OverrideIndicatorManager.java:255) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.reconciled(CompilationUnitEditor.java:1756) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:121) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:133) at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86) at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:94) at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75) at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:318) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
Move to JDT/UI
Need a reproducible case. The NPE means that a method binding gave back an array of parameter types that contained a 'null'. Moving to jdt.core
*** Bug 90511 has been marked as a duplicate of this bug. ***
I got this again in the 3.1 final release. I cannot consistently reproduce, but here is what I was doing: There are two related methods: Resource.checkExists(int, boolean) Resource.checkAccessible(int) Elsewhere, I had a code reference to checkExists (Container.java line 181): checkExists(flags, true); I changed the method name like this: checkAccessible(flags, true); I realized the parameters were wrong, so I hit Ctrl+O twice to obtain a list of all methods available on that type. I then removed the boolean argument to correct my error. As I was typing my correction, the error occurred.
I cannot reproduce.
Closing as REMIND. Please reopen if a test case can be provided
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.