Stephan Lips - 2011-07-14

Howdy,

using 2.1.5320, we instrument our code immediately following compilation.  The build artifact (.war) is deployed to tomcat, emma.jar is in jre's lib/ext (following instructions from FAQs).  Executing the code we receive the below error.  Disabling instrumentation will make the error 'go away'.  The class referenced in the exception does not have any private (or static or final or any combination) member, all members are declared protected.  Any thoughts or ideas how to get around this exception?

Thanks much,

- Stephan

13 Jul 2011 20:25:39  FATAL com.abcdef.bus.model.service.Transaction - WSL Error writing transactionto XML: Class com.abcdef.bus.model.service.Transaction can not access a member of class com.abcdef.bus.model.service.Customer with modifiers "private static final"
java.lang.IllegalAccessException: Class com.abcdef.bus.model.service.Transaction can not access a member of class com.abcdef.bus.model.service.Customer with modifiers "private static final"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
at java.lang.reflect.Field.doSecurityCheck(Field.java:978)
at java.lang.reflect.Field.getFieldAccessor(Field.java:914)
at java.lang.reflect.Field.get(Field.java:376)
at com.abcdef.bus.model.service.Transaction.finishTransaction(Transaction.java:153