java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags: { } locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor', 'java/lang/Object', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'org/springframework/cglib/proxy/MethodProxy', 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'java/lang/String', 'org/springframework/context/annotation/Scope', top, top, top, 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/cglib/proxy/MethodProxy', 'java/lang/Object', '[Ljava/lang/Object;', null } stack: { 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/beans/factory/config/ConfigurableBeanFactory' } Bytecode: 0000000: 2a2b b700 043a 052c b800 053a 062c 1206 0000010: b800 07c0 0006 3a07 1907 c600 2719 07b9 0000020: 0008 0100 b200 09a5 001a 1906 b800 0a3a 0000030: 0819 0519 08b9 000b 0200 9900 0719 083a 0000040: 062a 1905 bb00 0c59 b700 0d12 0fb6 0010 0000050: 1906 b600 10b6 0011 3a0e 3a0d 3a0c 0336 0000060: 0f19 0c19 0d19 0eb7 0127 360f 190d 3a0b 0000070: 150f 9900 712a 1905 1906 3a0e 3a0d 3a0c 0000080: 0336 0f19 0c19 0d19 0eb7 0127 360f 190d 0000090: 3a0b 150f 9900 4f19 05bb 000c 59b7 000d 00000a0: 120f b600 1019 06b6 0010 b600 113a 0d3a 00000b0: 0c01 3a0e 1905 190d b801 2d19 0c19 0db9 00000c0: 012e 0200 3a0e 190e 3a08 1908 c100 1499 00000d0: 0006 a700 112a 1908 b600 1519 0519 06b7 00000e0: 0016 b02a 2cb7 0017 9900 7412 182c b600 00000f0: 19b6 001a 9900 25b8 001b 121c 05bd 001d 0000100: 5903 2cb6 001e b600 1f53 5904 2cb6 0020 0000110: 53b8 0021 b900 2202 0019 042b 2d3a 0e3a 0000120: 0d3a 0c01 3a0f 1905 190b b801 2d19 0519 0000130: 0bb8 0132 3a10 190c 190d 190e b600 233a 0000140: 0fa7 0010 3a11 1905 1910 b801 3257 1911 0000150: bf19 0519 10b8 0132 5719 0fb0 1905 1906 0000160: b900 0b02 0036 0815 0899 000d 1905 1906 0000170: 03b9 0024 0300 1905 1906 3a0d 3a0c 013a 0000180: 0e19 0519 0db8 012d 190c 190d b901 2e02 0000190: 003a 0e19 0e3a 0915 0899 000d 1905 1906 00001a0: 04b9 0024 0300 1909 b03a 0a15 0899 000d 00001b0: 1905 1906 04b9 0024 0300 190a bf Exception Handler Table: bci [310, 324] => handler: 324 bci [359, 407] => handler: 425 bci [425, 427] => handler: 425 Stackmap Table: append_frame(@65,Object[#94],Object[#172],Object[#96]) full_frame(@213,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Object[#97],Top,Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@227,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) same_frame(@281) full_frame(@324,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#176],Object[#97],Object[#100],Object[#97],Object[#172]},{Object[#104]}) same_frame(@337) full_frame(@348,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@374,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@422,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Object[#97],Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@425,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{Object[#104]}) full_frame(@442,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Object[#104],Object[#94],Object[#97],Object[#97],Object[#97],Integer},{})

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via spring.io by Unknown author, 2 years ago
;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang
via Spring JIRA by Rudi Wijaya, 1 year ago
/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags
via Spring JIRA by Rudi Wijaya, 1 year ago
/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags
java.lang.VerifyError: Bad type on operand stack Exception Details: Location: org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object; @298: invokestatic Reason: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' (current frame, stack[1]) is not assignable to 'java/lang/String' Current Frame: bci: @298 flags: { } locals: { 'org/springframework/context/annotation/ConfigurationClassEnhancer$BeanMethodInterceptor', 'java/lang/Object', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'org/springframework/cglib/proxy/MethodProxy', 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'java/lang/String', 'org/springframework/context/annotation/Scope', top, top, top, 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/cglib/proxy/MethodProxy', 'java/lang/Object', '[Ljava/lang/Object;', null } stack: { 'org/springframework/beans/factory/config/ConfigurableBeanFactory', 'org/springframework/beans/factory/config/ConfigurableBeanFactory' } Bytecode: 0000000: 2a2b b700 043a 052c b800 053a 062c 1206 0000010: b800 07c0 0006 3a07 1907 c600 2719 07b9 0000020: 0008 0100 b200 09a5 001a 1906 b800 0a3a 0000030: 0819 0519 08b9 000b 0200 9900 0719 083a 0000040: 062a 1905 bb00 0c59 b700 0d12 0fb6 0010 0000050: 1906 b600 10b6 0011 3a0e 3a0d 3a0c 0336 0000060: 0f19 0c19 0d19 0eb7 0127 360f 190d 3a0b 0000070: 150f 9900 712a 1905 1906 3a0e 3a0d 3a0c 0000080: 0336 0f19 0c19 0d19 0eb7 0127 360f 190d 0000090: 3a0b 150f 9900 4f19 05bb 000c 59b7 000d 00000a0: 120f b600 1019 06b6 0010 b600 113a 0d3a 00000b0: 0c01 3a0e 1905 190d b801 2d19 0c19 0db9 00000c0: 012e 0200 3a0e 190e 3a08 1908 c100 1499 00000d0: 0006 a700 112a 1908 b600 1519 0519 06b7 00000e0: 0016 b02a 2cb7 0017 9900 7412 182c b600 00000f0: 19b6 001a 9900 25b8 001b 121c 05bd 001d 0000100: 5903 2cb6 001e b600 1f53 5904 2cb6 0020 0000110: 53b8 0021 b900 2202 0019 042b 2d3a 0e3a 0000120: 0d3a 0c01 3a0f 1905 190b b801 2d19 0519 0000130: 0bb8 0132 3a10 190c 190d 190e b600 233a 0000140: 0fa7 0010 3a11 1905 1910 b801 3257 1911 0000150: bf19 0519 10b8 0132 5719 0fb0 1905 1906 0000160: b900 0b02 0036 0815 0899 000d 1905 1906 0000170: 03b9 0024 0300 1905 1906 3a0d 3a0c 013a 0000180: 0e19 0519 0db8 012d 190c 190d b901 2e02 0000190: 003a 0e19 0e3a 0915 0899 000d 1905 1906 00001a0: 04b9 0024 0300 1909 b03a 0a15 0899 000d 00001b0: 1905 1906 04b9 0024 0300 190a bf Exception Handler Table: bci [310, 324] => handler: 324 bci [359, 407] => handler: 425 bci [425, 427] => handler: 425 Stackmap Table: append_frame(@65,Object[#94],Object[#172],Object[#96]) full_frame(@213,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Object[#97],Top,Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@227,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) same_frame(@281) full_frame(@324,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#176],Object[#97],Object[#100],Object[#97],Object[#172]},{Object[#104]}) same_frame(@337) full_frame(@348,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Top,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@374,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{}) full_frame(@422,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Object[#97],Top,Object[#94],Object[#94],Object[#172],Object[#97],Integer},{}) full_frame(@425,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Top,Object[#94],Object[#97],Object[#97],Object[#97],Integer},{Object[#104]}) full_frame(@442,{Object[#98],Object[#97],Object[#162],Object[#100],Object[#176],Object[#94],Object[#172],Object[#96],Integer,Top,Object[#104],Object[#94],Object[#97],Object[#97],Object[#97],Integer},{})
at org.springframework.context.annotation.ConfigurationClassEnhancer.(ConfigurationClassEnhancer.java:67)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)
at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.