Re: ArrayIndexOutOfBoundsException at Frame.merge/MethodWriter.visitMaxs

Peter Veentjer <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
Hi David,

The strange thing that i get this error when an jump is introduced  
that should not cause problems,

No loop:

L0
Invokestatic somemethod1
Astore 1
L1
Aload 0
Aload 1
Invokespecial someconstructor
Goto l1
L2

And now with jump
L0
Invokestatic



On 9 nov 2009, at 14:02, David Chase <[email protected]> wrote:

> I think this is the diagnostic that means "you didn't balance pushes  
> and pops on the two branches of an if/backedge".  I would look for  
> that, at least.
>
> David
>
> On 2009-11-09, at 7:40 AM, Peter Veentjer wrote:
>
>> Hi Guys,
>>
>> I get an ArrayIndexOutOfBoundsException
>>
>> java.lang.ArrayIndexOutOfBoundsException: 0
>>    at org.objectweb.asm.Frame.merge(Frame.java:1373)
>>    at org.objectweb.asm.Frame.merge(Frame.java:1350)
>
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.