rythmengine: Illegal type in constant pool

We’re experiencing the following issue once after each reboot of of our application (i.e. invoking the template a 2nd time doesn’t reproduce the issue:

Jun 15 14:31:00:  2015-06-15 14:30:59,936 [qtp12209492-23] ERROR s.q.m.r.s.RestResponseEntityExceptionHandler [1000000000000000001:-101] - (class: ASMAccessorImpl_10673308271434378659880, method: getKnownEgressType signature: ()Ljava/lang/Class;) Illegal type in constant pool 
Jun 15 14:31:00:  Template: fifo.xml 
Jun 15 14:31:00:  Relevant template source lines: 
Jun 15 14:31:00:  ------------------------------------------------- 
Jun 15 14:31:00:     9:       <fifos> 
Jun 15 14:31:00:     10:         @for (FifoGroup g : groups) { 
Jun 15 14:31:00:     11:         <fifo name="@g.getName()" importance="0"> 
Jun 15 14:31:00:     12:           @for (String member : g.getMembers()) { 
Jun 15 14:31:00:  >> 13:           g.getName
Jun 15 14:31:00:     14:           } 
Jun 15 14:31:00:     15:         </fifo> 
Jun 15 14:31:00:     16:         } 
Jun 15 14:31:00:     17:       </fifos> 
Jun 15 14:31:00:  Relevant Java source lines: 
Jun 15 14:31:00:  ------------------------------------------------- 
un 15 14:31:00:     167: try{pe(g.getName());} catch (RuntimeException e) {__handleTemplateExecutionException(e);}  //line: 13 
Jun 15 14:31:00:  >> 170: try{pe((__eval("g.getName()")));} catch (RuntimeException e) {__handleTemplateExecutionException(e);}  //line: 13 
Jun 15 14:31:00:  java.lang.VerifyError: (class: ASMAccessorImpl_10673308271434378659880, method: getKnownEgressType signature: ()Ljava/lang/Class;) Illegal type in constant pool 
Jun 15 14:31:00:    at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_40] 
Jun 15 14:31:00:    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[na:1.8.0_40] 
Jun 15 14:31:00:    at java.lang.Class.getConstructor0(Class.java:3075) ~[na:1.8.0_40] 
Jun 15 14:31:00:    at java.lang.Class.newInstance(Class.java:412) ~[na:1.8.0_40] 
Jun 15 14:31:00:    at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer._initializeAccessor(ASMAccessorOptimizer.java:725) ~[mvel2-2.1.5.Final.jar:na] 
Jun 15 14:31:00:    at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.compileAccessor(ASMAccessorOptimizer.java:859) ~[mvel2-2.1.5.Final.jar:na] 
Jun 15 14:31:00:    at org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.optimizeAccessor(ASMAccessorOptimizer.java:243) ~[mvel2-2.1.5.Final.jar:na] 
Jun 15 14:31:00:    at org.mvel2.optimizers.dynamic.DynamicGetAccessor.optimize(DynamicGetAccessor.java:90) ~[mvel2-2.1.5.Final.jar:na] 
Jun 15 14:31:00:    at org.mvel2.optimizers.dynamic.DynamicGetAccessor.getValue(DynamicGetAccessor.java:64) ~[mvel2-2.1.5.Final.jar:na] 
Jun 15 14:31:00:    at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:108) ~[mvel2-2.1.5.Final.jar:na] 

For reference, this is the environment:

$ java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
$ uname -a
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

Has anybody come across this type of issue before?

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

Hey thanks for the PR. I will take a look over the weekend and get back to you.

On Thu, Feb 4, 2021 at 7:57 AM advait8 notifications@github.com wrote:

hey can you look at my PR: #393 https://github.com/rythmengine/rythmengine/pull/393 . Need to bump up MVEL again so as to support JDK 9,10, 11. Thanks.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/rythmengine/rythmengine/issues/274#issuecomment-772817700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABU6YXP7VFQHQJ2ZDR4ZBDS5G2DJANCNFSM4BIN66CA .