Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Compile Error

I'm getting an error that I hope somebody can help me out with. I'm trying to do some Intertype declarations for generic interfaces. All of a sudden, AJDT seems to have stopped compiling and applying my aspects all together, and if I try to compile from Maven I get the stack trace below. Does anyone have any ideas what could be causing this? I'd be happy to furnish more information on my project, just let me know what will help.

7/31/08 3:39:38 PM EDT: [ERROR] Internal compiler error
java.lang.ClassCastException: org.aspectj.weaver.UnresolvedTypeVariableReferenceType at org .aspectj .weaver.BoundedReferenceType.parameterize(
	at org.aspectj.weaver.ResolvedType.parameterize(
at org .aspectj .weaver.ResolvedMemberImpl.parameterize( at org .aspectj .weaver.ResolvedMemberImpl.parameterizedWith( 640) at org .aspectj .weaver.NewMethodTypeMunger.parameterizedFor( 103) at org .aspectj .ajdt .internal .compiler .lookup.EclipseTypeMunger.parameterizedFor( at org .aspectj.weaver.ResolvedType.fillInAnyTypeParameters( 1395) at org.aspectj.weaver.ResolvedType.addInterTypeMunger( 1420) at org .aspectj .ajdt .internal .compiler .lookup .AjLookupEnvironment .weaveInterTypeDeclarations( at org .aspectj .ajdt .internal .compiler .lookup .AjLookupEnvironment .weaveInterTypeDeclarations( at org .aspectj .ajdt .internal .compiler .lookup .AjLookupEnvironment.completeTypeBindings( at org .aspectj .org .eclipse.jdt.internal.compiler.Compiler.beginToCompile( 301) at org .aspectj .org.eclipse.jdt.internal.compiler.Compiler.compile( at org .aspectj .ajdt .internal .core.builder.AjBuildManager.performCompilation( at org .aspectj .ajdt.internal.core.builder.AjBuildManager.doBuild( 264) at org .aspectj .ajdt .internal.core.builder.AjBuildManager.batchBuild( 180)
	at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(
	at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(
at org .codehaus .mojo.aspectj.AbstractAjcCompiler.execute( at org .apache .maven .plugin.DefaultPluginManager.executeMojo( at org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalAndHandleFailures( at org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegmentForProject( at org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegments( at org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute( at org.apache.maven.DefaultMaven.execute_aroundBody0( at org .apache .maven.DefaultMaven.execute_aroundBody1$advice(
	at org.apache.maven.DefaultMaven.execute(
at org .apache .maven.embedder.MavenEmbedder.execute_aroundBody2( 904) at org .apache .maven .embedder.MavenEmbedder.execute_aroundBody3$advice( 304) at org.apache.maven.embedder.MavenEmbedder.execute( 1) at org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl $MavenExecutor.execute( at org.maven.ide.eclipse.internal.project.MavenProjectManagerImpl $1.execute( at org .maven .ide .eclipse .internal .project.MavenProjectManagerImpl.execute( 992) at org .maven .ide .eclipse .internal .project.MavenProjectManagerImpl.execute( 1060) at org .maven .ide .eclipse.project.MavenProjectFacade.execute( at org .maven .ide.eclipse.container.MavenBuilder.executePostBuild( 136) at at $
at org .eclipse at org .eclipse at $
at org .eclipse at org .eclipse at 341) at org 140) at

Back to the top