Skip to Main Content

Integration

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

JRockit JRMC Flight recording

2610963Aug 5 2014 — edited Aug 7 2014

Hi

I am using JRockit JRMC flight recording to monitor app server JVM. I set the time to record as 120 minutes and just when time is about to end, i see following exception and am unable to open the JRA file. PLease help.

java.lang.StringIndexOutOfBoundsException: String index out of range: -21176

  at java.lang.String.checkBounds(String.java:397)

  at java.lang.String.<init>(String.java:442)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.UTFStringParser.read(UTFStringParser.java:34)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.UTFStringParser.read(UTFStringParser.java:1)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.ConstantMapParser.read(ConstantMapParser.java:40)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.CheckPointParser.read(CheckPointParser.java:40)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.MetadataParser.read(MetadataParser.java:57)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.MainParser.read(MainParser.java:98)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.parsers.MainParser.read(MainParser.java:51)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.JRockitBinaryEventProvider.readFromInput(JRockitBinaryEventProvider.java:114)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.JRockitBinaryEventProvider.initialize(JRockitBinaryEventProvider.java:93)

  at com.jrockit.mc.flightrecorder.internal.api.binary.jrockit.JRockitBinaryEventProvider.createEventTypeRepository(JRockitBinaryEventProvider.java:52)

  at com.jrockit.mc.flightrecorder.FlightRecording.getEventTypeRepository(FlightRecording.java:67)

  at com.jrockit.mc.flightrecorder.ui.FlightRecordingEditor.createTyperepository(FlightRecordingEditor.java:98)

  at com.jrockit.mc.flightrecorder.ui.FlightRecordingEditor.initialize(FlightRecordingEditor.java:61)

  at com.jrockit.mc.components.ui.design.DesignEditor.init(DesignEditor.java:80)

  at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)

  at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644)

  at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)

  at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

  at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:286)

  at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2857)

  at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)

  at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)

  at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)

  at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

  at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)

  at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)

  at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)

  at com.jrockit.mc.flightrecorder.ui.FlightRecordingOpener.open(FlightRecordingOpener.java:128)

  at com.jrockit.mc.flightrecorder.ui.FlightRecordingOpener.openFile(FlightRecordingOpener.java:121)

  at com.jrockit.mc.flightrecorder.ui.FlightRecordingOpener.openIfValidFile(FlightRecordingOpener.java:93)

  at com.jrockit.mc.flightrecorder.ui.FlightRecordingOpener.open(FlightRecordingOpener.java:85)

  at com.jrockit.mc.rcp.application.MissionControlEditorDropAdapter.openFilename(MissionControlEditorDropAdapter.java:92)

  at com.jrockit.mc.rcp.application.MissionControlEditorDropAdapter$1.run(MissionControlEditorDropAdapter.java:66)

  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)

  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)

  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)

  at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)

  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)

  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)

  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

  at com.jrockit.mc.rcp.application.Application.start(Application.java:27)

  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)

  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

  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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)

  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:515)

  at org.eclipse.equinox.launcher.Main.run(Main.java:1312)

  at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

  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 com.jrockit.mc.rcp.start.MCMain.run(MCMain.java:104)

  at com.jrockit.mc.rcp.start.MCMain.main(MCMain.java:75)

mc_error.png

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2014
Added on Aug 5 2014
5 comments
2,357 views