CDV ❯ Weird unreproducable exception
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L1
-
-
hhuynh
-
Reporter: gbevin
-
February 23, 2007
-
0
-
Watchers: 1
-
March 27, 2008
-
January 16, 2008
Attachments
Description
Just thought I’d file this, I was working on RIFE support, started up tomcat and went away. When I came back 10 mins later, I found this exception on the console. Sadly I can’t reproduce it.
INFO: Server startup in 3901 ms
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.__tc_remove(ArrayList.java:392)
at java.util.ArrayList.remove(ArrayList.java)
at com.tc.asm.commons.AdviceAdapter.popValue(AdviceAdapter.java:580)
at com.tc.asm.commons.AdviceAdapter.visitInsn(AdviceAdapter.java:118)
at com.tc.object.bytecode.TransparencyCodeAdapter.visitInsn(TransparencyCodeAdapter.java:300)
at com.tc.asm.ClassReader.accept(ClassReader.java:951)
at com.tc.asm.ClassReader.accept(ClassReader.java:300)
at com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:259)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:109)
at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:415)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at com.uwyn.rife.engine.EngineClassLoader.loadClass(EngineClassLoader.java:501)
at com.uwyn.rife.engine.EngineClassLoader.loadClass(EngineClassLoader.java:179)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.uwyn.rife.engine.ElementInfoProcessorFactory.
Comments
Tim Eck 2007-02-23
Tim Eck 2007-02-26
moving this moraga, but it will probably get pushed out since we don’t really know what the underlying issue is
Tim Eck 2007-04-06
Eugene and I have reviewed TransparencyCodeAdapter quite a bit recently for any cases where this sort of problem is bound to happen (ie. calling on the delegate visitor directly instead of letting AdviceAdapter do that). There was also a bug fix for AdviceAdapter in ASM 3 (now in trunk).
closing this for now
orion 2008-01-15
Viktor Klang gave us a reproducible case.
orion 2008-01-15
Viktor Klang sez this reproduces the issue.
Fiona OShea 2008-01-16
Can you see if there is anything obvious in this that we can resolve this week? If not assign back to DRB
Alex Miller 2008-01-16
Assigning to Tim to update with ASM upgrade info.
Tim Eck 2008-01-16
this is fixed in trunk already
Fiona OShea 2008-01-23
I think this is in 2.5.1 can you verify? thanks
Hung Huynh 2008-01-23
Tim confirmed it’s not merged to 2.5 branch.
Fiona OShea 2008-01-23
Fix is in trunk nightly builds and will be included in Terracotta 2.6 release
We don’t know what caused this, but we spotted something in TransparencyCodeAdapter that doesn’t look quite right. To try to reproduce, we instrumented every class in the rife-jdk15 jar, but did not get this exception