I got OutOfMemoryError either with Java heap space or with GC overhead limit exceeded message depends on heap space. Added -XX:-UseGCOverheadLimit to disable overhead limit, set -Xms4096m -Xmx6144m. Got a strange ArrayIndexOutOfBoundsException
2011-12-29 18:37:46,080 [Thread-2] INFO mhs.agent.station.PalletEmulator2 - 250002 (java.lang.ArrayIndexOutOfBoundsException)
java.lang.ArrayIndexOutOfBoundsException: 250002
at com.chronon.sb.recorder.eventdata.meta.CallerMeta.a(SourceFile:62)
at com.chronon.sb.recorder.e.a.e.a(SourceFile:345)
at com.chronon.sb.recorder.instrument.InstrumentationCode.addMethodCall1(SourceFile:478)
at com.kiva.mhs.testing.MhsTestCase.reloadDatabase(MhsTestCase.java:1058)
at com.kiva.mhs.lazyrun.LazyRunEmulatorTest.reloadDatabase(LazyRunEmulatorTest.java:199)
at com.kiva.mhs.agent.station.PalletEmulator2.reloadDatabase(PalletEmulator2.java:456)
at com.kiva.mhs.testing.JobManagerTestCase.setUp(JobManagerTestCase.java:120)
at com.kiva.mhs.lazyrun.LazyRunEmulatorTest.setUp(LazyRunEmulatorTest.java:101)
at com.kiva.mhs.agent.station.PalletEmulator2.setUp(PalletEmulator2.java:319)
at com.kiva.common.testing.KivaTestCase.setUpTopLevel(KivaTestCase.java:366)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)
java.lang.ArrayIndexOutOfBoundsException: 250002 at com.chronon.sb.recorder.eventdata.meta.CallerMeta.a(SourceFile:62)
Official
Response
-
EMPLOYEE
I’m
happy
This is now fixed in Chronon Recorder 2.2.3.
Please update your eclipse plugin to get the bugfix.
If you are using the Chronon Recording Server, you only need to use the updated recorder.jar from the recording server zip in your new installation.
-
1. Are you recording from inside eclipse or are you using the recording server?
2. Is the exception mentioned above thrown at a special event, say while the program is shutting down, or in the case of the recording server, while a 'split' is happening? -
-
1. I'm recording it inside eclipse.
2. I'm trying to record a JUnit test. The exception is thrown in the middle of the execution. There are a lot of preparation in that test, database reloading, launching of external programs (Flex UI). It fails right away after database reloading. I don't need to record all this setups actually. It would be great to start recording after that preparation after UI started but I don't see this opportunity in the chronon. -
-
Vladimir,
To record after the initialization of the UI, you will have to use the Chronon Recording Server which has the dynamic start/stop capabilities:
http://www.chrononsystems.com/product...
Is this bug consistently reproducible or did it just happen that one time? -
-
-
-
ok which version of Chronon are you using?
-
-
You can check the version from eclipse using the instructions here:
http://chronon.onconfluence.com/displ... -
-
We might need to send you a special recorder binary which will produce debug output so we can resolve this issue for you.
Can you please send a mail to support@chrononsystems.com so we can proceed with this there. -
-
-
-
EMPLOYEE
I’m
happy
This is now fixed in Chronon Recorder 2.2.3.
Please update your eclipse plugin to get the bugfix.
If you are using the Chronon Recording Server, you only need to use the updated recorder.jar from the recording server zip in your new installation. -
Loading Profile...



Twitter,
Facebook, or email.

