Hi Brent, thanks for your interest in tracing and linux tools, this is a known issue you're facing that can be fixed by getting the nightly build herehttp://www.eclipse.org/linuxtools/downloads.php <http://www.eclipse.org/linuxtools/downloads.php> the fix shall be in master v1.2.1 and the sha1 of the fix is 2e28cdfd523bbee8b8d96188c181273581577046
I hope this helps. On 13-01-11 12:59 PM, Brent Nemeth wrote: > I'm able to create a project with a kernel trace but when I try to > open it I get an index out of bounds exception. I have tried this > using Ubuntu 12.10 with Eclipse 3.8, as well as in Windows 8 using > Eclipse Juno with multiple different trace files on each and always > get the same error. > > This is what is logged when it crashes, any help resolving this would > be appreciated: > > !ENTRY org.eclipse.jface 4 2 2013-01-11 09:38:30.951 > !MESSAGE Problems occurred when invoking code from plug-in: > "org.eclipse.jface". > !STACK 0 > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.LinkedList.checkElementIndex(LinkedList.java:553) > at java.util.LinkedList.get(LinkedList.java:474) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent.parseFields(CtfTmfEvent.java:158) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfEvent.<init>(CtfTmfEvent.java:101) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfIterator.getCurrentEvent(CtfIterator.java:104) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfIterator.seek(CtfIterator.java:127) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTraceManager.getIterator(CtfIteratorManager.java:145) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfIteratorManager.getIterator(CtfIteratorManager.java:68) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfLightweightContext.getIterator(CtfTmfLightweightContext.java:174) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfLightweightContext.setLocation(CtfTmfLightweightContext.java:88) > at > org.eclipse.linuxtools.tmf.core.ctfadaptor.CtfTmfTrace.initTrace(CtfTmfTrace.java:92) > at > org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenExperimentHandler.execute(OpenExperimentHandler.java:148) > at > org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) > at > org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) > at > org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178) > at > org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247) > at > org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247) > at > org.eclipse.linuxtools.internal.tmf.ui.project.handlers.OpenAction.run(OpenAction.java:80) > at > org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221) > at > org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185) > at > org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) > at > org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866) > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) > at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) > at > org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864) > at > org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152) > at > org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462) > at > org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256) > at > org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275) > at > org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269) > at > org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309) > at > org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276) > at > org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554) > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179) > at > org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) > at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) > at > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > 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:353) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at > org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) > at org.eclipse.equinox.launcher.Main.run(Main.java:1438) > at org.eclipse.equinox.launcher.Main.main(Main.java:1414) > > > > _______________________________________________ > linuxtools-dev mailing list > linuxtools-dev@eclipse.org > https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
_______________________________________________ linuxtools-dev mailing list linuxtools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/linuxtools-dev