Enhancer.createClass() has thrown a VerifyError

java.lang.VerifyError
Javadoc
Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem. @author unascribed @since JDK1.0
at java.lang.Class.forName0
(source)
at java.lang.Class.forName
(source)
at org.springframework.cglib.core.ReflectUtils.defineClass
at org.springframework.cglib.core.AbstractClassGenerator.create
at org.springframework.cglib.proxy.Enhancer.createHelper
at org.springframework.cglib.proxy.Enhancer.createClass
5 frames hidden

Typical Exception Messages

  1. (class: com/panaya/web/totango/ITotangoTaskCreator$$EnhancerBySpringCGLIB$$88f4e56a, method: createTask signature: ()Lcom/panaya/web/totango/ITotangoTask;) Inconsistent stack height 2 != 1
  2. (class: XXXServiceSpringMvc$$EnhancerBySpringCGLIB$$744256ce, method: <init> signature: ()V) Illegal type in constant pool

Origin

Enhancer.createHelper() has thrown a VerifyError

java.lang.VerifyError
4 frames hidden
org.springframework.cglib.proxy.Enhancer.createHelper
1Web pages

External results for this pattern (1)

  1. Narasimhavia Spring JIRA3 months ago
    (class: XXXServiceSpringMvc$$EnhancerBySpringCGLIB$$744256ce, method: <init> signature: ()V) Illegal type in constant pool
    Show stack trace