Announcement Announcement Module
Collapse
No announcement yet.
UnsupportedPointcutPrimitive 'call' upon reload? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • UnsupportedPointcutPrimitive 'call' upon reload?

    Hi all,

    no idea wether this is the right place to ask, so if I'm wrong please point me in the right direction.
    I have some AspectJ aspects in my application and all works fine, as long as I compile everything with maven and start it immediately. But when I trigger a reload, or package everything in eclipse I keep getting the following:
    Code:
    org.aspectj.weaver.tools.UnsupportedPointcutPrimitiveException: Pointcut expression 'call(* net.gothunity.service.UserManager.createUser(..)) && args(user)' contains unsupported pointcut primitive 'call'
            at org.aspectj.weaver.tools.PointcutParser.validateKindedPointcut(PointcutParser.java:516)
            at org.aspectj.weaver.tools.PointcutParser.validateAgainstSupportedPrimitives(PointcutParser.java:450)
            at org.aspectj.weaver.tools.PointcutParser.validateAgainstSupportedPrimitives(PointcutParser.java:427)
            at org.aspectj.weaver.tools.PointcutParser.resolvePointcutExpression(PointcutParser.java:329)
            at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:309)
    My best guess is that I'm using compile-time weaving and a reload then runs into some problems.
Working...
X