Bug 381 : java.lang.IllegalStateException: ClassReader.accept() should be called with EXPAND_FRAMES flag
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.7.5
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
02/03/2012
Updated 
02/03/2012
Type 
Bug
 
Attachments 
No attachments

java.lang.IllegalStateException: ClassReader.accept() should be called
with EXPAND_FRAMES flag
at
com.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)
at
com.avaje.ebean.enhance.agent.Transformer.transactionalEnhancement(Transformer.java:
189)
at
com.avaje.ebean.enhance.agent.Transformer.transform(Transformer.java:
122)
at
com.avaje.ebean.enhance.agent.InputStreamTransform.transform(InputStreamTransform.java:
55)
at
com.avaje.ebean.enhance.agent.InputStreamTransform.transform(InputStreamTransform.java:
39)
at
com.avaje.ebean.enhance.ant.OfflineFileTransform.transformFile(OfflineFileTransform.java:
141)
at
com.avaje.ebean.enhance.ant.OfflineFileTransform.processPackage(OfflineFileTransform.java:
124)
at
com.avaje.ebean.enhance.ant.OfflineFileTransform.processPackage(OfflineFileTransform.java:
115)
at
com.avaje.ebean.enhance.ant.OfflineFileTransform.process(OfflineFileTransform.java:
90)

 
Rob 02 Mar 10:49
Issue with enhancement of @Transactional when compiling to Java 1.6

Issue with enhancement of @Transactional when compiling to Java 1.6.

The fix is to use the EXPAND_FRAMES flag in the Transformer.

Rob 02 Mar 10:51
Fixed in HEAD

Fixed in HEAD - refer to Transformer.

woResponse

Upload a file