简体   繁体   English

java.lang.Exception:java.lang.VerifyError:JVMVRFY012堆栈形状不一致

[英]java.lang.Exception: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent

I am deploying a maven war file on websphere portal version 8.5 . 我正在Websphere Portal 8.5版上部署Maven War文件。 While deplying , I am getting the following error ---- 在发送时,出现以下错误----

[10/2/17 15:43:14:658 IST] 00000131 DispatcherPor E org.springframework.web.portlet.DispatcherPortlet processRequest Could not complete request
                                 javax.portlet.PortletException: java.lang.Exception: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=com/ibm/_jsp/_SearchCRO, method=_jspx_meth_c_forEach_0(Ljavax/servlet/jsp/tagext/JspTag;Ljavax/servlet/jsp/PageContext;[I)Z, pc=76
        at com.ibm.ws.portletcontainer.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:127)
        at org.springframework.web.portlet.DispatcherPortlet.doRender(DispatcherPortlet.java:1137)
        at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1092)
        at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:761)
        at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:522)
        at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:470)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:222)
        at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
        at com.ibm.wps.engine.el.init.AttributeCopyFilter.doFilter(AttributeCopyFilter.java:158)
        at com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
        at com.ibm.wps.resourceaggregator.capabilities.filter.PortletCapabilityDependencyFilter.doFilter(PortletCapabilityDependencyFilter.java:279)

Can anybody tell me what is the issue and how to resolve it ? 谁能告诉我问题是什么以及如何解决?

I saw this in regards to the error I experienced the same error a while ago when I was trying to upgrade from IBM JRE 1.7.0 SR3 to 1.7.0 SR5. 我在尝试从IBM JRE 1.7.0 SR3升级到1.7.0 SR5时遇到了同样的错误。 The research about this very error has been going ever since. 此后,一直在进行有关这种错误的研究。 So far I have found the following things: 1) in SR5, IBM introduced an improved bytecode verification, which obviously doesn't like bytecode that has been compiled for/from a different version. 到目前为止,我发现了以下内容:1)在SR5中,IBM引入了改进的字节码验证,它显然不喜欢针对不同版本编译的字节码。 2) if the bytecode was complied for/from the same version and adjusted afterwards (with tools such as AspectJWeaver and similar), which is my very case, the IBM JVM doesn't like that as well. 2)如果字节码是从相同版本编译而来的,或者之后又进行了调整(使用AspectJWeaver之类的工具和类似工具),这就是我的情况,那么IBM JVM也不太喜欢。 So, in case you are not using any bytecode modifications, you might get lucky. 因此,如果您不使用任何字节码修改,则可能会很幸运。 Try compiling the affected classes with a newer version of the JDK. 尝试使用较新版本的JDK编译受影响的类。 If you are indeed using tools like AspectJWeaver, can't help you. 如果确实使用了AspectJWeaver之类的工具,那就帮不了您。 I have opened a bug report in the Eclipse Foundation bug tracking system and I am waiting for a response. 我已经在Eclipse Foundation错误跟踪系统中打开了一个错误报告,正在等待响应。

Another recommendation was to try upgrading to later than sr6 now that it is out 另一个建议是,既然已经推出,请尝试升级到sr6之后的版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM