Re: Re: ArrayIndexOutOfBoundsException at Frame.merge/MethodWriter.visitMaxs
Peter Veentjer <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
On 9 nov 2009, at 20:27, Tronje Krop <[email protected]> wrote: > Hi Peter, > > have you checked, whether L11 has multiple entry points that > differ in stack size? Hi tronje thanks for your help What do you mean with 'entrypoint'? And where can i find the stacksize information? These are the frame.inputstacktop and frame.outputstackmax fields? > Or your L2 for jumping back has multiple > goto's that my is not balanced ... > > I had similar problems, designing my rewritten code. > > Best regards > > Tronje > > Peter Veentjer wrote: >> You could be on the right track because i get this error when i >> introduce a jump >> >> Before >> >> L0 >> Invokestatic gettransaction >> Astore 1 >> L1 >> Aload 0 >> Aload 1 >> Invokespecial someconstructor >> L2 >> Return >> L3 >> >> After >> >> L0 >> Invokespecial gettransaction >> Astore 1 >> L1 >> Aload 0 >> Aload 1 >> Invokespecial someconstructor >> Goto l1 >> L2 >> >> Both look fine to me, do you see something strange? >> >> Ps >> I'm working on adding some transaction advice on objects (including >> constructors) and i have removed all code that wasnt needed to >> reproduce the bug >> >> 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) > > -- > 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
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