java.lang.IllegalStateException: ClassReader.accept() should be calledwith EXPAND_FRAMES flag atcom.avaje.ebean.enhance.asm.commons.LocalVariablesSorter.visitFrame(LocalVariablesSorter.java:165) at com.avaje.ebean.enhance.asm.ClassReader.accept(ClassReader.java:1162) at com.avaje.ebean.enhance.asm.ClassReader.accept(ClassReader.java:420) atcom.avaje.ebean.enhance.agent.Transformer.transactionalEnhancement(Transformer.java:189) atcom.avaje.ebean.enhance.agent.Transformer.transform(Transformer.java:122) atcom.avaje.ebean.enhance.agent.InputStreamTransform.transform(InputStreamTransform.java:55) atcom.avaje.ebean.enhance.agent.InputStreamTransform.transform(InputStreamTransform.java:39) atcom.avaje.ebean.enhance.ant.OfflineFileTransform.transformFile(OfflineFileTransform.java:141) atcom.avaje.ebean.enhance.ant.OfflineFileTransform.processPackage(OfflineFileTransform.java:124) atcom.avaje.ebean.enhance.ant.OfflineFileTransform.processPackage(OfflineFileTransform.java:115) atcom.avaje.ebean.enhance.ant.OfflineFileTransform.process(OfflineFileTransform.java:90)
Issue with enhancement of @Transactional when compiling to Java 1.6.
The fix is to use the EXPAND_FRAMES flag in the Transformer.
Fixed in HEAD - refer to Transformer.