commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt (JIRA)" <j...@apache.org>
Subject [jira] Closed: (SANDBOX-111) [javaflow] JavaFlow throws VerifyError when using .class in code
Date Tue, 30 Sep 2008 22:59:44 GMT

     [ https://issues.apache.org/jira/browse/SANDBOX-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Torsten Curdt closed SANDBOX-111.
---------------------------------

    Resolution: Fixed

This is covered by the ClassAccess tests now.

> [javaflow] JavaFlow throws VerifyError when using .class in code
> ----------------------------------------------------------------
>
>                 Key: SANDBOX-111
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-111
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Javaflow
>    Affects Versions: Nightly Builds
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Bart Molenkamp
>
> This code causes an error:
> QueryByCriteria query = new QueryByCriteria(Account.class, new Criteria());
>  
> While this code works fine: 
> QueryByCriteria query = new
> QueryByCriteria(Class.forName("com.bizzdesign.persistence.risks.Account"), new
> Criteria());
> The stack trace:
> 13:10:26.216 WARN!! Error for /risks/editAccount.jfdo
> java.lang.VerifyError: (class:
> org/apache/cocoon/samples/flow/java/CalculatorFlow, method: doEditAccount
> signature: ()V) Unable to pop operand off an empty 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(JavaInterpreter.java:96)
>         at
> org.apache.cocoon.components.flow.java.JavaInterpreter.callFunction(JavaInterpreter.java:130)
>         at
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:130)
>         at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
>         at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
>         at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
>         at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.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(TreeProcessor.java:336)
>         at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
>         at
> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103)
>         at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
>         at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
>         at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
>         at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.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(TreeProcessor.java:336)
>         at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.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:853)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
>         at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:879)
>         at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
>         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
>         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
>         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
>         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
>         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message