cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schmid <coc...@sa-lsa.com>
Subject Re: JavaFlow/ CocoonFroms java.lang.VerifyError: Cocoon 2.1.5.1
Date Tue, 10 Aug 2004 07:04:26 GMT
I found a workaround for this:
 as long as you declare the var global (menas a class var) the error 
does not happen.
Maybe this helps you continuing work as long as the bug is not fixed.
CYA

Andreas Schmid

Bart Molenkamp wrote:

>I've had the same problem in 2.1.5.1. I reported a bug here:
>http://archives.real-time.com/pipermail/cocoon-devel/2004-July/035779.ht
>ml
>I had the problem that when I use:
>doSomethingWithClass(Product.class);	// fails
>doSomethingWithClass(Product.getClass());		// ok, does not
>fail
>
>Bart.
>
>-----Original Message-----
>From: Andreas Schmid [mailto:cocoon@sa-lsa.com] 
>Sent: Monday, August 09, 2004 9:23 PM
>To: dev@cocoon.apache.org
>Subject: JavaFlow/ CocoonFroms java.lang.VerifyError: Cocoon 2.1.5.1
>
>As far as i know this bug was already posted by stephan coboos, and 
>fixed in a daily snapshot in Version 2.1.4
>
>This happens, when is try to wrtite a timestamp to a bean (means a long 
>value) in javaflow. e.g
>
>long myLong = 12345;
>MyBean bean = new MyBean();
>bean.setMyLong(myLong);
>form.load(bean);
>form.show();
>form.save(bean);
>this.getLogger.error(bean.getMyLong);
>
>Right now when i try to startup cocoon in my Tomcat (5.x) the javaflow 
>will not be loaded an an exception listed below is thrown by Tomcat.
>
>Can anyone help me ?
>
>THX
>
>Andreas Schmid
>
>
>2004-08-09 20:24:19 StandardWrapperValve[Cocoon]: Servlet.service() for 
>servlet Cocoon threw exception
>java.lang.VerifyError: (class: 
>net/projektinter/gui/flow/tree/EditTreeNodeFlow, method: doEditTreeNode 
>signature: ()V) Attempt to split long or double on the stack
>    at java.lang.Class.getDeclaredMethods0(Native Method)
>    at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
>    at java.lang.Class.privateGetPublicMethods(Class.java:1770)
>    at java.lang.Class.getMethods(Class.java:824)
>    at 
>org.apache.cocoon.components.flow.java.JavaInterpreter.initialize(JavaIn
>terpreter.java:96)
>    at 
>org.apache.cocoon.components.flow.java.JavaInterpreter.callFunction(Java
>Interpreter.java:130)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invo
>ke(CallFunctionNode.java:130)
>    at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
>invokeNodes(AbstractParentProcessingNode.java:49)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
>nvoke(PreparableMatchNode.java:130)
>    at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
>invokeNodes(AbstractParentProcessingNode.java:72)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
>ipelineNode.java:126)
>    at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
>invokeNodes(AbstractParentProcessingNode.java:72)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
>PipelinesNode.java:101)
>    at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
>cessor.java:336)
>    at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
>cessor.java:277)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun
>tNode.java:103)
>    at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
>invokeNodes(AbstractParentProcessingNode.java:49)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
>nvoke(PreparableMatchNode.java:130)
>    at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
>invokeNodes(AbstractParentProcessingNode.java:72)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
>ipelineNode.java:126)
>    at 
>org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
>invokeNodes(AbstractParentProcessingNode.java:72)
>    at 
>org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
>PipelinesNode.java:101)
>    at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
>cessor.java:336)
>    at 
>org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
>cessor.java:277)
>    at org.apache.cocoon.Cocoon.process(Cocoon.java:639)
>    at 
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>    at 
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
>tionFilterChain.java:237)
>    at 
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
>erChain.java:157)
>    at 
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
>e.java:214)
>    at 
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
>ntext.java:104)
>    at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
>20)
>    at 
>org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon
>textValve.java:198)
>    at 
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
>e.java:152)
>    at 
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
>ntext.java:104)
>    at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
>20)
>    at 
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
>:137)
>    at 
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
>ntext.java:104)
>    at 
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>:117)
>    at 
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
>ntext.java:102)
>    at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
>20)
>    at 
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>java:109)
>    at 
>org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo
>ntext.java:104)
>    at 
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5
>20)
>    at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>    at 
>org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>    at 
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79
>3)
>    at 
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
>onnection(Http11Protocol.java:702)
>    at 
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
>1)
>    at 
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
>.java:644)
>    at java.lang.Thread.run(Thread.java:534)
>
>
>  
>


Mime
View raw message