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},{})

Spring JIRA | Rudi Wijaya | 2 years ago
  1. 0

    Following error happens using Spring 4.1.0.RELEASE when starting webapp in Tomcat 7.0.37. Using Oracle JDK 8u5 in Ubuntu 14.04 64-bit. -Did not happen when using 4.0.6.RELEASE.- Still happened when using 4.0.7.RELEASE if Tomcat Server configuration in Eclipse WTP is "unclean". {code} 13:25:11.866 ERROR | | | host-startStop-1 | o.s.w.c.ContextLoader | Context initialization failed 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.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] 13:25:11.876 ERROR | | | host-startStop-1 | o.a.c.c.C.[.[.[/] | Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener 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.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] 13:25:11.877 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Error listenerStart 13:25:11.889 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Context [] startup failed due to previous errors 13:25:11.923 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:344) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:836) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4837) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.__stop(StandardContext.java:5483) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] 13:25:11.925 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from LifecycleProcessor on context close java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:877) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:836) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4837) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.__stop(StandardContext.java:5483) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] {code} Log: (note that it crashes when loading the {{command-scanner-context.xml}}, but not before that) {code} Loading XML bean definitions from ServletContext resource [/WEB-INF/shell-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/ssh-command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/wrapper-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-scanner-context.xml] >> then error {code} On proper startup after the above log should be: {code} org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring {code}

    Spring JIRA | 2 years ago | Rudi Wijaya
    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},{})
  2. 0

    Following error happens using Spring 4.1.0.RELEASE when starting webapp in Tomcat 7.0.37. Using Oracle JDK 8u5 in Ubuntu 14.04 64-bit. -Did not happen when using 4.0.6.RELEASE.- Still happened when using 4.0.7.RELEASE if Tomcat Server configuration in Eclipse WTP is "unclean". {code} 13:25:11.866 ERROR | | | host-startStop-1 | o.s.w.c.ContextLoader | Context initialization failed 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.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] 13:25:11.876 ERROR | | | host-startStop-1 | o.a.c.c.C.[.[.[/] | Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener 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.<clinit>(ConfigurationClassEnhancer.java:67) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java) ~[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) ~[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] 13:25:11.877 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Error listenerStart 13:25:11.889 ERROR | | | host-startStop-1 | o.a.c.c.StandardContext | Context [] startup failed due to previous errors 13:25:11.923 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:344) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:331) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:869) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:836) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4837) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.__stop(StandardContext.java:5483) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] 13:25:11.925 WARN | | | host-startStop-1 | ationConfigWebApplicationContext | Exception thrown from LifecycleProcessor on context close java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Sep 11 13:25:05 WIB 2014]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:877) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:836) [spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) [spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4837) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.__stop(StandardContext.java:5483) [catalina.jar:7.0.37] at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232) [catalina.jar:7.0.37] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.37] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.37] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_05] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_05] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_05] {code} Log: (note that it crashes when loading the {{command-scanner-context.xml}}, but not before that) {code} Loading XML bean definitions from ServletContext resource [/WEB-INF/shell-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/ssh-command-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/wrapper-context.xml] Loading XML bean definitions from class path resource [META-INF/shell/command-scanner-context.xml] >> then error {code} On proper startup after the above log should be: {code} org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring {code}

    Spring JIRA | 2 years ago | Rudi Wijaya
    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},{})
  3. 0

    [SPR-12176] java.lang.VerifyError: Bad type on operand stack: Type 'org/springframework/beans/factory/config/ConfigurableBeanFactory' is not assignable to 'java/lang/String' - Spring JIRA

    spring.io | 1 year ago
    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},{})  
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [3.1.4] - Test - VerifyError occours when using variable of an data table inside a closure

    GitHub | 8 months ago | marcioaug
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: functional/FunctionalTestSpecSpec.$tt__$spock_feature_1_0(Ljava/lang/Object;Ljava/lang/Object;Lorg/springframework/transaction/TransactionStatus;)V @302: invokespecial Reason: Type 'java/lang/Object' (current frame, stack[24]) is not assignable to 'groovy/lang/Reference' Current Frame: bci: @302 flags: { } locals: { 'functional/FunctionalTestSpecSpec', 'java/lang/Object', 'java/lang/Object', 'org/springframework/transaction/TransactionStatus', '[Lorg/codehaus/groovy/runtime/callsite/CallSite;', 'java/lang/Object', 'java/util/List' } stack: { 'org/spockframework/runtime/ValueRecorder', 'java/lang/String', integer, integer, null, 'org/spockframework/runtime/ValueRecorder', integer, 'org/spockframework/runtime/ValueRecorder', integer, 'org/codehaus/groovy/runtime/callsite/CallSite', 'org/spockframework/runtime/ValueRecorder', integer, 'java/lang/Class', 'java/lang/Object', 'java/lang/String', '[Ljava/lang/Object;', '[Ljava/lang/Object;', integer, 'org/spockframework/runtime/ValueRecorder', integer, uninitialized 295, uninitialized 295, 'functional/FunctionalTestSpecSpec', 'functional/FunctionalTestSpecSpec', 'java/lang/Object' } Bytecode: 0x0000000: b800 233a 0419 0412 ee32 12f0 b900 3002 ...
  6. 0

    SBT and JDK8 incremental compilation issue: "java.lang.VerifyError: Bad local variable type"

    Stack Overflow | 2 years ago | oxbow_lakes
    java.lang.VerifyError: Bad local variable type Exception Details: Location: gsa/jerusalem/naming/ptp/PTPServerEodPositionHelper.fillResponse(Lgsa/jerusalem/protocol/ptp/PTPResponse;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lgsa/jerusalem/protocol/ptp/PTPCommand;Ljava/lang/String;)V @73: aload Reason: Type top (current frame, locals[7]) is not assignable to reference type Current Frame: bci: @73 flags: { } locals: { 'gsa/jerusalem/naming/ptp/PTPServerEodPositionHelper', 'gsa/jerusalem/protocol/ptp/PTPResponse', 'java/lang/String', 'java/lang/String', 'java/lang/String', 'gsa/jerusalem/protocol/ptp/PTPCommand', 'java/lang/String', top, '[Ljava/lang/String;', 'java/lang/String', 'gsa/shared/datetime/XDate' } stack: { 'java/util/logging/Logger', 'java/lang/String', '[Ljava/lang/Object;', '[Ljava/lang/Object;', integer } ...

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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.<clinit>()
    2. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.annotation.ConfigurationClassEnhancer.<clinit>(ConfigurationClassEnhancer.java:67)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      2. org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:372)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      3. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:259)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      4. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      5. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:126)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      6. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      7. org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:462)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      8. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)[spring-context-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      8 frames
    3. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)[spring-web-4.1.0.RELEASE.jar:4.1.0.RELEASE]
      3 frames
    4. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)[catalina.jar:7.0.37]
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)[catalina.jar:7.0.37]
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:7.0.37]
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)[catalina.jar:7.0.37]
      5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)[catalina.jar:7.0.37]
      5 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_05]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_05]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_05]
      4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_05]
      4 frames