Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » AJDT edit part issues
AJDT edit part issues [message #44819] Thu, 02 December 2004 20:46 Go to next message
Eclipse UserFriend
Originally posted by: vranganath.sbcglobal.net

Hi,

I am using Eclipse (I20041201) with AJDT (20041125170637). I get the following exceptions when I try to open a .aj file in
AspectJ editor.

java.lang.NoSuchMethodError:
org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.resolveDuplicates(Lorg/eclipse/jdt/core/IJavaElement;) V
at
org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterType(AJCompilationUnitStructureRequestor.java:157 )
at
org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterClass(AJCompilationUnitStructureRequestor.java:78 )
at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySo urceElementRequestor(AJSourceElementParser.java:1051)
at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySo urceElementRequestor(AJSourceElementParser.java:716)
at org.eclipse.ajdt.parserbridge.AJSourceElementParser.parseCom pilationUnit(AJSourceElementParser.java:1200)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.buildSt ructure(AJCompilationUnit.java:199)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:203)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.generat eInfos(AJCompilationUnit.java:147)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:553)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:291)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:277)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getElem entInfo(AJCompilationUnit.java:107)
at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaEl ement.java:232)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getChil dren(AJCompilationUnit.java:326)
at org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType( JavaElement.java:246)
at org.eclipse.jdt.internal.core.CompilationUnit.getTypes(Compi lationUnit.java:828)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getType s(AJCompilationUnit.java:331)
at org.eclipse.jdt.internal.core.NameLookup.<init>(NameLookup.java:147)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(Java Project.java:2335)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(Java Project.java:2346)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:72)
at org.eclipse.jdt.internal.core.JavaProject.newSearchableNameE nvironment(JavaProject.java:2361)
at org.eclipse.jdt.internal.core.Openable.codeSelect(Openable.j ava:126)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(Com pilationUnit.java:300)
at org.eclipse.jdt.internal.core.CompilationUnit.codeSelect(Com pilationUnit.java:294)
at
org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEdit orTextHover.getHoverInfo(AbstractJavaEditorTextHover.java:10 8)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.g etHoverInfo(BestMatchHover.java:102)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHo verProxy.getHoverInfo(JavaEditorTextHoverProxy.java:69)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:160)
java.lang.NoSuchMethodError:
org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.resolveDuplicates(Lorg/eclipse/jdt/core/IJavaElement;) V
at
org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterType(AJCompilationUnitStructureRequestor.java:157 )
at
org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterClass(AJCompilationUnitStructureRequestor.java:78 )
at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySo urceElementRequestor(AJSourceElementParser.java:1051)
at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySo urceElementRequestor(AJSourceElementParser.java:716)
at org.eclipse.ajdt.parserbridge.AJSourceElementParser.parseCom pilationUnit(AJSourceElementParser.java:1200)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.buildSt ructure(AJCompilationUnit.java:199)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openabl e.java:203)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.generat eInfos(AJCompilationUnit.java:147)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Jav aElement.java:553)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:291)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Jav aElement.java:277)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getElem entInfo(AJCompilationUnit.java:107)
at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaEl ement.java:232)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getChil dren(AJCompilationUnit.java:326)
at org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType( JavaElement.java:246)
at org.eclipse.jdt.internal.core.CompilationUnit.getTypes(Compi lationUnit.java:828)
at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getType s(AJCompilationUnit.java:331)
at org.eclipse.jdt.internal.core.NameLookup.<init>(NameLookup.java:147)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(Java Project.java:2335)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(Java Project.java:2346)
at org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(SearchableEnvironment.java:72)
at org.eclipse.jdt.internal.core.CancelableNameEnvironment.<init >(CancelableNameEnvironment.java:26)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(CompilationUnitProblemFinder.java:148)
at org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(CompilationUnitProblemFinder.java:213)
at org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. executeOperation(ReconcileWorkingCopyOperation.java:78)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:700)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:739)
at org.eclipse.jdt.internal.core.CompilationUnit.reconcile(Comp ilationUnit.java:1105)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaReconcilingStrategy.java:97)
at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaReconcilingStrategy.java:133)
at org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrateg y.reconcile(CompositeReconcilingStrategy.java:86)
at org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStr ategy.reconcile(JavaCompositeReconcilingStrategy.java:96)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(Mon oReconciler.java:75)
at org.eclipse.jdt.internal.ui.text.JavaReconciler.process(Java Reconciler.java:318)
at org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(AbstractReconciler.java:204)

Any clues what may be wrong? Would using 1.2.0M1 help?

waiting for reply,

- Venkatesh
Re: AJDT edit part issues [message #44849 is a reply to message #44819] Thu, 02 December 2004 21:09 Go to previous message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

Hi Venkatesh,

You should be fine with that development version of AJDT, but the problem
is with your Eclipse version. There are two versions of AJDT, one for
Eclipse 3.0, and one for Eclipse 3.1, so you need to make sure you use the
right update site. Here are the update site URLs for the development
builds:

Eclipse 3.0:
http://download.eclipse.org/technology/ajdt/30/dev/update

Eclipse 3.1:
http://download.eclipse.org/technology/ajdt/31/dev/update

The other (potential) problem is that you are using an integration build
of Eclipse, but AJDT is only tested with milestone builds and
release builds.

I suggest first trying the 3.1 version of AJDT with Eclipse
build I20041201, and if that doesn't work, fall back to Eclipse 3.1M3.

Hope that helps,

Matt.


On Thu, 02 Dec 2004 14:46:52 -0600, Venkatesh Prasad Ranganath wrote:
> Hi,
>
> I am using Eclipse (I20041201) with AJDT (20041125170637). I get the following exceptions when I try to open a .aj file in
> AspectJ editor.
>
> java.lang.NoSuchMethodError:
> org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.resolveDuplicates(Lorg/eclipse/jdt/core/IJavaElement;) V
> at
> org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterType(AJCompilationUnitStructureRequestor.java:157 )
> at
> org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterClass(AJCompilationUnitStructureRequestor.java:78 )
[..]

> Any clues what may be wrong? Would using 1.2.0M1 help?
>
> waiting for reply,
>
> - Venkatesh
Re: AJDT edit part issues [message #585229 is a reply to message #44819] Thu, 02 December 2004 21:09 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi Venkatesh,

You should be fine with that development version of AJDT, but the problem
is with your Eclipse version. There are two versions of AJDT, one for
Eclipse 3.0, and one for Eclipse 3.1, so you need to make sure you use the
right update site. Here are the update site URLs for the development
builds:

Eclipse 3.0:
http://download.eclipse.org/technology/ajdt/30/dev/update

Eclipse 3.1:
http://download.eclipse.org/technology/ajdt/31/dev/update

The other (potential) problem is that you are using an integration build
of Eclipse, but AJDT is only tested with milestone builds and
release builds.

I suggest first trying the 3.1 version of AJDT with Eclipse
build I20041201, and if that doesn't work, fall back to Eclipse 3.1M3.

Hope that helps,

Matt.


On Thu, 02 Dec 2004 14:46:52 -0600, Venkatesh Prasad Ranganath wrote:
> Hi,
>
> I am using Eclipse (I20041201) with AJDT (20041125170637). I get the following exceptions when I try to open a .aj file in
> AspectJ editor.
>
> java.lang.NoSuchMethodError:
> org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.resolveDuplicates(Lorg/eclipse/jdt/core/IJavaElement;) V
> at
> org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterType(AJCompilationUnitStructureRequestor.java:157 )
> at
> org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequ estor.enterClass(AJCompilationUnitStructureRequestor.java:78 )
[..]

> Any clues what may be wrong? Would using 1.2.0M1 help?
>
> waiting for reply,
>
> - Venkatesh
Previous Topic:AJDT edit part issues
Next Topic:AJDT 1.2.0M2 released
Goto Forum:
  


Current Time: Sat Apr 20 02:14:06 GMT 2024

Powered by FUDForum. Page generated in 0.03308 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top