Bug 162726 - java.lang.IllegalStateException: Expecting raw type
Summary: java.lang.IllegalStateException: Expecting raw type
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.5.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-30 04:47 EST by Nino Stokbro Ag CLA
Modified: 2006-10-30 08:55 EST (History)
0 users

See Also:


Attachments
Error dump file (47.03 KB, text/plain)
2006-10-30 04:49 EST, Nino Stokbro Ag CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nino Stokbro Ag CLA 2006-10-30 04:47:26 EST
Occurs when trying to weave XFire (http://xfire.codehaus.org/Download) at least on versions 1.1.2 and 1.2.2.

---- AspectJ Properties ---
AspectJ Compiler 1.5.2a built on Friday Aug 18, 2006 at 18:40:31 GMT
---- Dump Properties ---
Dump file: ajcore.20061030.104230.611.txt
Dump reason: java.lang.IllegalStateException
Dump on exception: true
Dump at exit condition: abort
---- Exception Information ---
java.lang.IllegalStateException: Expecting raw type
	at org.aspectj.weaver.TypeFactory.createParameterizedType(TypeFactory.java:42)
	at org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXConverter.classTypeSignature2TypeX(BcelGenericSignatureToTypeXConverter.java:82)
	at org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXConverter.classTypeSignature2TypeX(BcelGenericSignatureToTypeXConverter.java:42)
	at org.aspectj.weaver.bcel.BcelObjectType.ensureGenericSignatureUnpacked(BcelObjectType.java:686)
	at org.aspectj.weaver.bcel.BcelObjectType.getSuperclass(BcelObjectType.java:188)
	at org.aspectj.weaver.ReferenceType.getSuperclass(ReferenceType.java:601)
	at org.aspectj.weaver.bcel.BcelWeaver.weaveParentsFor(BcelWeaver.java:1222)
	at org.aspectj.weaver.bcel.BcelWeaver.weave(BcelWeaver.java:1072)
	at org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.weave(AjCompilerAdapter.java:321)
	at org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.afterCompiling(AjCompilerAdapter.java:192)
	at org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$afterReturning$org_aspectj_ajdt_internal_compiler_CompilerAdapter$2$f9cc9ca0(CompilerAdapter.aj:70)
	at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:367)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:887)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:244)
	at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:163)
	at org.aspectj.ajdt.ajc.AjdtCommand.doCommand(AjdtCommand.java:112)
	at org.aspectj.ajdt.ajc.AjdtCommand.runCommand(AjdtCommand.java:60)
	at org.aspectj.tools.ajc.Main.run(Main.java:367)
	at org.aspectj.tools.ajc.Main.runMain(Main.java:246)
	at org.aspectj.tools.ajc.Main.main(Main.java:86)
Comment 1 Nino Stokbro Ag CLA 2006-10-30 04:49:35 EST
Created attachment 52921 [details]
Error dump file
Comment 2 Andrew Clement CLA 2006-10-30 05:19:52 EST
please can you try this on a development build of AspectJ - as I think it is likely to be fixed. see the AspectJ downloads page.
Comment 3 Nino Stokbro Ag CLA 2006-10-30 08:55:53 EST
(In reply to comment #2)
> please can you try this on a development build of AspectJ - as I think it is
> likely to be fixed. see the AspectJ downloads page.
> 
That is correct - guess I should have checked with dev.version :-)