Re: ArrayIndexOutOfBoundsException at Frame.merge/MethodWriter.visitMaxs
Tronje Krop <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Organization | Darmstadt University of Technology |
| Message-ID | <[email protected]> |
Hi Peter, have you checked, whether L11 has multiple entry points that differ in stack size? 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)
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