Announcement Announcement Module
No announcement yet.
weaver throwing BCException Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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 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
    at org.aspectj.weaver.bcel.BcelObjectType.ensureGener icSignatureUnpacked(
    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.

    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?

    - Mark