1 Reply Latest reply on Jul 2, 2005 4:53 PM by Philippe Detournay

    Exception on field interceptor when field name is prefixed b

    Philippe Detournay Newbie

      I tried to search for the issue, also googlized it, but without any success.

      In JBoss AOP 1.3 standalone :

      Compile the "field-execution" example in the jboss 1.3 directory. It runs smoothly. Now rename field "var2" to "_var2" and run it again. I get

      Exception in thread "main" java.lang.IllegalArgumentException
       at sun.reflect.UnsafeStaticIntegerFieldAccessorImpl.set(Unknown Source)
       at java.lang.reflect.Field.set(Unknown Source)
       at org.jboss.aop.joinpoint.FieldWriteInvocation.invokeNext(FieldWriteInvocation.java:60)
       at trace.TraceInterceptor.invoke(TraceInterceptor.java:173)

      Problem occurs on Windows XP:
      java version "1.5.0_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

      Any idea of what am I doing wrong?
      Thanks for your time