I'm creating and destroying some finagle objects in my MVC controller with the 2.9.2 release of the toolkit and 3.1 of the framework.
I'm calling a method to destroy my finagle service from the destroy() method of my bean, and the result is this exception:
Clearly there is an issue with the Scala library and AOP. There is an old bug listed for AspectJ and Scala, but it was fixed in AspectJ 1.6.7, and I am using 1.6.9.Jun 22, 2012 12:08:55 PM org.aspectj.weaver.tools.Jdk14Trace error
org.aspectj.weaver.BCException: Whilst processing type 'Lscala/collection/JavaConverters$AsScala;' - cannot cast the outer type to a reference type. Signature=Lscala/collection/JavaConverters; toString()=scala.collection.JavaConverters
when processing type mungers
at org.aspectj.weaver.AbstractReferenceTypeDelegate.g etFormalTypeParametersFromOuterClass(AbstractRefer enceTypeDelegate.java:110)
at org.aspectj.weaver.bcel.BcelObjectType.ensureGener icSignatureUnpacked(BcelObjectType.java:765)
I'm wondering if it's possible that this bug is not actually a duplicate, because I think this is what I am seeing:
Can anyone give me some guidance on what is going on here?