1 Reply Latest reply on Feb 4, 2004 5:35 PM by bill.burke

    ClassCastException in CallerExprEditor

    rythos

       

      "rythos" wrote:
      Hey there,

      I'm using a caller side pointcut to intercept all method calls from a particular class. When run, I get a ClassCastException in CallerExprEditor. Tracking it down, it looks (to my untrained eye) that the problem is when CallerExprEditor calls MethodHashing.methodHash(..) and casts the given MethodCall parameter to a CtMethod. I was thinking that the problem is because it's trying to hash a CtConstructor, not a CtMethod, but I haven't explored much further than this.

      Any ideas?

      Thanks,
      Craig