Bug 183508 - Could not retrieve declared methods
Summary: Could not retrieve declared methods
Status: VERIFIED DUPLICATE of bug 176118
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 14:15 EDT by James Synge CLA
Modified: 2007-04-27 11:04 EDT (History)
1 user (show)

See Also:


Attachments
based on PDE template XMLEditor.java (21.50 KB, text/plain)
2007-04-21 14:17 EDT, James Synge CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Synge CLA 2007-04-21 14:15:04 EDT
Build ID: I20070209-1006

Steps To Reproduce:
Every time I open a specific java source file (will attach) with 3.3M6, I get an AbortCompilation exception (stack shown below).

The file was based on the xml text editor template from PDE; I used Source>Override/Implement Methods... to generate overriding methods for 3 of the base classes.  

More information:


eclipse.buildId=I20070209-1006
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-20070201 (JIT enabled)
J9VM - 20070131_11312_lHdSMR
JIT  - 20070109_1805ifx1_r8
GC   - 200701_09
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -launcher C:\eclipse\e33m5\eclipse\eclipse.exe -name Eclipse -startup C:\eclipse\e33m5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar -showLocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -launcher C:\eclipse\e33m5\eclipse\eclipse.exe -name Eclipse -startup C:\eclipse\e33m5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar -showLocation -clean

Error
Sat Apr 21 13:58:26 EDT 2007
Could not retrieve declared methods

org.eclipse.jdt.internal.compiler.problem.AbortCompilation
	at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:97)
	at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:153)
	at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle(ProblemReporter.java:1727)
	at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect(ProblemReporter.java:3520)
	at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.cacheMissingBinaryType(LookupEnvironment.java:178)
	at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:46)
	at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:131)
	at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveTypesFor(BinaryTypeBinding.java:893)
	at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.methods(BinaryTypeBinding.java:874)
	at org.eclipse.jdt.core.dom.TypeBinding.getDeclaredMethods(TypeBinding.java:266)
	at org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethodInType(Bindings.java:423)
	at org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethodInHierarchy(Bindings.java:440)
	at org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethodInHierarchy(Bindings.java:445)
	at org.eclipse.jdt.internal.corext.dom.Bindings.findOverriddenMethod(Bindings.java:474)
	at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager$1.visit(OverrideIndicatorManager.java:179)
	at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:486)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
	at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:483)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
	at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2546)
	at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:213)
	at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2476)
	at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager.updateAnnotations(OverrideIndicatorManager.java:172)
	at org.eclipse.jdt.internal.ui.javaeditor.OverrideIndicatorManager.reconciled(OverrideIndicatorManager.java:251)
	at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.reconciled(CompilationUnitEditor.java:1572)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:137)
	at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:149)
	at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
	at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.java:96)
	at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
	at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:343)
	at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
Comment 1 James Synge CLA 2007-04-21 14:17:08 EDT
Created attachment 64511 [details]
based on PDE template XMLEditor.java
Comment 2 Kent Johnson CLA 2007-04-24 12:29:17 EDT
Any chance you can attach the entire project?

Had no luck trying to reproduce with just the source file.
Comment 3 Kent Johnson CLA 2007-04-24 13:03:34 EDT
Actually this looks like a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=176118#c8

Can you try a more recent build than 'eclipse.buildId=I20070209-1006' ?

Your build id looks like the week before M5 & not the M6 build.

Please reopen if you can reproduce this on a mroe recent build.

*** This bug has been marked as a duplicate of bug 176118 ***
Comment 4 Olivier Thomann CLA 2007-04-27 09:59:41 EDT
Verified for 3.3M7 using I20070427-0010
Comment 5 James Synge CLA 2007-04-27 11:04:14 EDT
Thanks very much for the quick responses.  I'll let you know if I can reproduce when we fully shift to M6 at the end of next week (the earlier use of M6 was just testing, so I don't use it regularly).