[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Compilation problems in AJDT code

Hi Irum,

I think that's caused by a mismatch between the installed version of
AspectJ, and the version in your workspace. I suggest you try
installing the latest development build of AJDT from the update site.

Regards,

Matt.

On 10/11/05, Irum Godil <softwarengineer2004@xxxxxxxxx> wrote:
> Hi,
> I just set up AJDT code base on a new eclipse set up in eclipse 3.0. I am
> using AJDT from tag 1_2. But as soon as I checked out the code, I got these
> compilation errors: Does any one know what is it and how can I prevent it?
>
> thanks.
>
>
> Internal compiler error
> java.lang.RuntimeException: bad WeaverState.Kind: 67
>  at
> org.aspectj.weaver.WeaverStateInfo.read(WeaverStateInfo.java:114)
>  at
> org.aspectj.weaver.AjAttribute.read(AjAttribute.java:95)
>  at
> org.aspectj.weaver.bcel.BcelAttributes.readAjAttributes(BcelAttributes.java:42)
>  at
> org.aspectj.weaver.bcel.BcelObjectType.unpackAspectAttributes(BcelObjectType.java:199)
>  at
> org.aspectj.weaver.bcel.BcelObjectType.<init>(BcelObjectType.java:103)
>  at
> org.aspectj.weaver.bcel.BcelWorld.makeBcelObjectType(BcelWorld.java:239)
>  at
> org.aspectj.weaver.bcel.BcelWorld.resolveObjectType(BcelWorld.java:234)
>  at
> org.aspectj.weaver.World.resolveObjectType(World.java:163)
>  at org.aspectj.weaver.World.resolve(World.java:130)
>  at org.aspectj.weaver.World.resolve(World.java:109)
>  at
> org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fromEclipse(EclipseFactory.java:116)
>  a t
> org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDeclarations(AjLookupEnvironment.java:367)
>  at
> org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDeclarations(AjLookupEnvironment.java:361)
>  at
> org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.createBinaryTypeFrom(AjLookupEnvironment.java:744)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createBinaryTypeFrom(LookupEnvironment.java:384)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:217)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:111)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:43)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:53)
>   at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:165)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findImport(CompilationUnitScope.java:377)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.findSingleImport(CompilationUnitScope.java:430)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInImports(CompilationUnitScope.java:314)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.faultInTypes(CompilationUnitScope.java:364)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:539)
>  at
> org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:365)
>  at
> org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:727)
>  at
> org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:206)
>  at
> org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:140)
>  at
> org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAdapter.java:121)
>  at
> org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:191)
>  CodeChecker.java
> org.eclipse.ajdt.core/src/org/eclipse/ajdt/codeconversion
> November 10, 2005 3:53:52 PM
>
>
>
>
>
> Thanks a lot,
> Sincerely,
> Irum Godil.
> www.cs.utoronto.ca/~irum
>
>
>  ________________________________
>  Yahoo! FareChase - Search multiple travel sites in one click.
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>