Community
Participate
Working Groups
Build Identifier: I've got following exception when compiling code: java.lang.ClassCastException at org.aspectj.weaver.World.resolveGenericWildcardFor(World.java:565) at org.aspectj.weaver.World.resolveToReferenceType(World.java:460) at org.aspectj.weaver.World.resolve(World.java:309) at org.aspectj.weaver.World.resolve(World.java:219) at org.aspectj.weaver.World.resolve(World.java:254) at org.aspectj.weaver.TypeFactory.createParameterizedType(TypeFactory.java:42) at org.aspectj.weaver.World.resolveTo ... Compile error: ClassCastException thrown: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature cannot be cast to org.aspectj.weaver.ReferenceType I have enabled non standard compiler options: -Xset:minimalModel=true,typeDemotion=true Reproducible: Sometimes Steps to Reproduce: 1. cannot reproduce always
SpringSource Tool Suite Version: 2.7.2.RELEASE Build Id: 201109131000 Eclipse AspectJ Development Tools Version: 2.1.3.e37x-20110628-1900 AspectJ version: 1.6.12.20110613132200
Created attachment 204282 [details] stacktrace
Hi. I would recommend updating to a new version of AJDT. I can see that code is still the same in latest but possibly some other stuff has been modified. In particular the non-standard options you are running with are now on by default - and some issues had to be resolved before they could be made default, you might be hitting one of those.
Any progress here? Are you still having the problem?
Hi Andrew! I've removed compiler options and I don't notice that many problems with AJDT anymore. This might be also related with my attempt to use APT builder (querydsl) in the same project with AJDT.
Thanks for getting back to me. Resolving. It could be related to APT. There is only partial support for APT in AJDT right now.