java.lang.VerifyError: Inconsistent stackmap frames at branch target 24 (Doc ID 2199543.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.0.0 version, WLS-Upgrade (non-component)

After upgrading WebLogic from 10.3.6 to 12c (12.2.1.0.0), when trying to deploy the newly complied /migrated war file in 12c, noticing the following error only one of the 2 managed servers. When deploying the WebServices app on WLS 12.2.1.0 domain, deployment is failing on MS1 only and not on MS2. MS1 and MS2 are clustered and on 2 different physical boxes. The application is compiled using Ant scripts and application is deployed manually from the console. Customer is not using Eclipse IDE.

Environment: WLS 12.2.1.0.0, JDK : java version "1.8.0_65", Oracle Linux 6/Oracle VM- Linux x86-64

 

<Sep 11, 2016 1:16:34 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "DSTWebServicePort" failed to preload on startup in Web application: "DSTCodeTranslationWebService.war".
java.lang.VerifyError: Inconsistent stackmap frames at branch target 24
Exception Details:
Location:
weblogic/wsee/jaxws/WLSInstanceResolver$WLSInvoker.invoke(Lcom/sun/xml/ws/api/message/Packet;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; @24: getstatic
Reason:
Type 'java/lang/Object' (current frame, locals[4]) is not assignable to 'com/sun/xml/ws/api/server/Invoker' (stack map, locals[4])
Current Frame:
bci: @15
flags: { }
locals: { 'weblogic/wsee/jaxws/WLSInstanceResolver$WLSInvoker', 'com/sun/xml/ws/api/message/Packet', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'java/lang/Object', null }
stack: { }
Stackmap Frame:
bci: @24
flags: { }
locals: { 'weblogic/wsee/jaxws/WLSInstanceResolver$WLSInvoker', 'com/sun/xml/ws/api/message/Packet', 'java/lang/reflect/Method', '[Ljava/lang/Object;', 'com/sun/xml/ws/api/server/Invoker', 'java/lang/Throwable' }
stack: { }
Bytecode:
0x0000000: 013a 0401 3a05 2a2b 2c2d b600 983a 04a7
0x0000010: 0009 3a06 1906 3a05 b200 9ab8 009b 3a06
0x0000020: 1906 c600 ac19 06b6 009c 9900 a4b8 009d
0x0000030: 9900 82bb 009e 592d be0c b700 9f3a 0703
0x0000040: 3608 1508 2dbe a200 202d 1508 323a 0919
0x0000050: 0715 0804 60b8 00a0 1909 b900 a103 0057
0x0000060: 8408 01a7 ffdf 0419 07b8 00a2 a700 0d3a
0x0000070: 07b2 00a3 1907 b800 a419 05c7 0032 bb00
0x0000080: 9e59 040c b700 9f3a 0719 0703 b800 a019
0x0000090: 04b9 00a1 0300 5703 1907 b800 a2a7 0015
0x00000a0: 3a07 b200 a519 07b8 00a4 a700 0803 01b8
0x00000b0: 00a2 1906 c600 1a19 06b6 00a6 a700 123a
0x00000c0: 0a19 06c6 0008 1906 b600 a619 0abf 1905
0x00000d0: c600 0619 05bf 1904 b0
Exception Handler Table:
bci [6, 15] => handler: 18
bci [51, 108] => handler: 111
bci [126, 157] => handler: 160
bci [45, 178] => handler: 191
bci [191, 193] => handler: 191
Stackmap Table:
full_frame(@18,{Object[#283],Object[#284],Object[#285],Object[#286],Object[#287],Object[#288]},{Object[#288]})
same_frame(@24)
append_frame(@66,Object[#289],Object[#290],Integer)
chop_frame(@102,1)
full_frame(@111,{Object[#283],Object[#284],Object[#285],Object[#286],Object[#287],Object[#288],Object[#289]},{Object[#288]})
same_frame(@121)
same_locals_1_stack_item_frame(@160,Object[#288])
same_frame(@173)
same_frame(@178)
same_locals_1_stack_item_frame(@191,Object[#288])
full_frame(@203,{Object[#283],Object[#284],Object[#285],Object[#286],Object[#287],Object[#288],Object[#289],Top,Top,Top,Object[#288]},{})
full_frame(@206,{Object[#283],Object[#284],Object[#285],Object[#286],Object[#287],Object[#288],Object[#289]},{})
same_frame(@214)
at weblogic.wsee.jaxws.WLSInstanceResolver.createInvoker(WLSInstanceResolver.java:83)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:337)
at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:167)
at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:79)
at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:91)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:343)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:294)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:99)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:87)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:71)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:57)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:31)
at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:673)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:612)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2053)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:2030)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1919)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3063)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1830)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:875)
at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:237)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:232)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:82)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:753)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:53)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:265)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:481)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:53)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:202)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:52)
at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:592)
at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:138)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:600)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:259)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:155)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:221)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:130)
at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:332)
at org.jvnet.hk2.internal.ClazzCreator.__AW_create(ClazzCreator.java:374)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java)
at org.jvnet.hk2.internal.SystemDescriptor.__AW_create(SystemDescriptor.java:471)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.__AW_findOrCreate(AsyncRunLevelContext.java:228)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.__AW_createService(Utilities.java:2072)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:211)
at org.jvnet.hk2.internal.ClazzCreator.__AW_resolveAllDependencies(ClazzCreator.java:234)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java)
at org.jvnet.hk2.internal.ClazzCreator.__AW_create(ClazzCreator.java:357)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java)
at org.jvnet.hk2.internal.SystemDescriptor.__AW_create(SystemDescriptor.java:471)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.__AW_findOrCreate(AsyncRunLevelContext.java:228)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.__AW_createService(Utilities.java:2072)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.__AW_oneJob(CurrentTaskFuture.java:1213)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.__AW_run(CurrentTaskFuture.java:1144)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
>

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms