You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by roy huang <li...@hotmail.com> on 2005/08/08 13:27:13 UTC

javaflow problem

Hi:
  I try to switch flowscript to javaflow and write a method base original flowscript.But I got the error:
  org.apache.bcel.verifier.exc.StructuralCodeConstraintException: Instruction '1976: aload[25](2) 47' is part of more than one subroutine (or of the top level and a subroutine).
  
  Any suggesions?

  Roy Huang

Re: javaflow problem

Posted by Torsten Curdt <tc...@apache.org>.
On 08.08.2005, at 13:27, roy huang wrote:

> Hi:
>   I try to switch flowscript to javaflow and write a method base  
> original flowscript.But I got the error:
>   org.apache.bcel.verifier.exc.StructuralCodeConstraintException:  
> Instruction '1976: aload[25](2) 47' is part of more than one  
> subroutine (or of the top level and a subroutine).
>
>   Any suggesions?

Please post the code ...that's not enough information

cheers
--
Torsten



Re: javaflow problem

Posted by Ralph Goers <Ra...@dslextreme.com>.
I had the same problem. I have no idea what caused it. I ended up
completely restructuring my javaflow. I think it had to do with having
try catch blocks and returning from them, but I really don't have any
idea what caused it.

roy huang wrote:

>Hi:
>  I try to switch flowscript to javaflow and write a method base original flowscript.But I got the error:
>  org.apache.bcel.verifier.exc.StructuralCodeConstraintException: Instruction '1976: aload[25](2) 47' is part of more than one subroutine (or of the top level and a subroutine).
>  
>  Any suggesions?
>
>  Roy Huang
>  
>