Announcement Announcement Module
Collapse
No announcement yet.
weaver throwing BCException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • weaver throwing BCException

    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:

    Jun 22, 2012 12:08:55 PM org.aspectj.weaver.tools.Jdk14Trace error
    SEVERE: scala/collection/JavaConverters$AsScala
    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
    when weaving

    at org.aspectj.weaver.AbstractReferenceTypeDelegate.g etFormalTypeParametersFromOuterClass(AbstractRefer enceTypeDelegate.java:110)
    at org.aspectj.weaver.bcel.BcelObjectType.ensureGener icSignatureUnpacked(BcelObjectType.java:765)
    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.

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=339300

    I'm wondering if it's possible that this bug is not actually a duplicate, because I think this is what I am seeing:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=337064

    Can anyone give me some guidance on what is going on here?

    - Mark
Working...
X