Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » compiler error
compiler error [message #594309] Thu, 06 July 2006 16:41
Barry Kaplan is currently offline Barry Kaplan
Messages: 230
Registered: July 2009
Senior Member
I get the below error when I attempt to convert one of my projects to
the aspectj nature. I've tried to simplify down to a simple example, but
even if I comment out the entire class UserTest as shown below, I still
get the error. Any tips on how to further investigate would be
appreciated. (This is using the 1.4.0.20060629124300 build.)

thanks!

----

public class UserTest { //extends ServerIntegrationTestCase {
// the entire class commented out including the imports
}

----

Severity and Description Path Resource Location Creation
Time Id
Internal compiler error
java.lang.ClassCastException:
org.aspectj.apache.bcel.classfile.Signature$TypeVariableSign ature
at
org.aspectj.weaver.UnresolvedType.forGenericTypeSignature(Un resolvedType.java:349)
at org.aspectj.weaver.World.makeGenericTypeFrom(World.java:416)
at org.aspectj.weaver.World.resolveToReferenceType(World.java:3 57)
at org.aspectj.weaver.World.resolve(World.java:265)
at org.aspectj.weaver.World.resolveGenericTypeFor(World.java:38 0)
at org.aspectj.weaver.World.resolveToReferenceType(World.java:3 38)
at org.aspectj.weaver.World.resolve(World.java:265)
at org.aspectj.weaver.World.resolve(World.java:185)
at
org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.fro mEclipse(EclipseFactory.java:137)
at
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironmen t.weaveInterTypeDeclarations(AjLookupEnvironment.java:529)
at
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironmen t.weaveInterTypeDeclarations(AjLookupEnvironment.java:519)
at
org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironmen t.createBinaryTypeFrom(AjLookupEnvironment.java:1058)
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupE nvironment.createBinaryTypeFrom(LookupEnvironment.java:480)
at
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.accep t(Compiler.java:190)
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupE nvironment.askForType(LookupEnvironment.java:137)
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Package Binding.getTypeOrPackage(PackageBinding.java:178)
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Compila tionUnitScope.findImport(CompilationUnitScope.java:413)
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Compila tionUnitScope.findSingleImport(CompilationUnitScope.java:466 )
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Compila tionUnitScope.faultInImports(CompilationUnitScope.java:331)
at
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Compila tionUnitScope.faultInTypes(CompilationUnitScope.java:400)
at
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.proce ss(Compiler.java:512)
at
org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compi le(Compiler.java:329)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.perfor mCompilation(AjBuildManager.java:887)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuil d(AjBuildManager.java:244)
at
org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchB uild(AjBuildManager.java:163)
at
org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAd apter.java:122)
at
org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread .run(AspectJBuildManager.java:191)
ot_domain-core/src/test/java/org/opentrader/domain/security
UserTest.java Unknown 1152203789812 289348
Previous Topic:Product Export problem
Next Topic:compiler error
Goto Forum:
  


Current Time: Mon Sep 22 22:35:43 GMT 2014

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

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