Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Thread Analysis - It is impossible to open the view for two different profiling sessions (Graphic is
Thread Analysis - It is impossible to open the view for two different profiling sessions (Graphic is [message #113372] Thu, 27 September 2007 06:25 Go to next message
Alessandro Tucci is currently offline Alessandro Tucci
Messages: 33
Registered: July 2009
Member
OS: linux SuSE 10.1
ECLIPSE VERSION: 3.3
TPTP VERSION: 4.4.0.2
JVM: jdk 1.5.0_12

Hi everybody,
I tested thread analysis on a local application and I found that I
cannot visualize the results of two profiling sessions in the same
Eclipse execution.
The first execution was ok: the thread statistics were calculated and
shown in a graphically pleasant way. Therefore, I closed the tabs, I
deleted the profiling data form the hard disk and tried to re-execute
the analysis. The profiler started, but as I clicked on:

Open with -> Thread Analysis

the following exception was raised:

Error creating the view.

Details:
org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.graphics.Color.getRGB(Color.java:217)
at org.eclipse.ui.forms.FormColors.getSystemColor(FormColors.ja va:197)
at
org.eclipse.ui.forms.FormColors.initializeColorTable(FormCol ors.java:149)
at org.eclipse.ui.forms.FormColors.initialize(FormColors.java:1 38)
at org.eclipse.ui.forms.FormColors.<init>(FormColors.java:116)
at org.eclipse.ui.forms.widgets.FormToolkit.<init>(FormToolkit.java:220)
at
org.eclipse.hyades.ui.util.HyadesFormToolkit.<init>(HyadesFormToolkit.java:33)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.BaseProfi lerView.createControl(BaseProfilerView.java:61)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.BaseProfi lerView. <init>(BaseProfilerView.java:49)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.BaseStati sticView. <init>(BaseStatisticView.java:334)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.ThreadSta tisticView. <init>(ThreadStatisticView.java:76)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.ThreadAna lysisPage.createControl(ThreadAnalysisPage.java:83)
at
org.eclipse.hyades.trace.ui.TraceViewer.addViewPage(TraceVie wer.java:208)
at
org.eclipse.hyades.trace.ui.TraceViewer.addViewPage(TraceVie wer.java:230)
at
org.eclipse.hyades.trace.ui.TraceViewer.createPartControl(Tr aceViewer.java:274)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:370)
at
org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:227)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at org.eclipse.ui.internal.Perspective.showView(Perspective.jav a:2077)
at
org.eclipse.ui.internal.WorkbenchPage.busyShowView(Workbench Page.java:1018)
at org.eclipse.ui.internal.WorkbenchPage.access$18(WorkbenchPag e.java:999)
at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.j ava:3666)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3663)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage .java:3639)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.OpenTrace ViewActionBase.openView(OpenTraceViewActionBase.java:90)
at
org.eclipse.tptp.trace.jvmti.internal.client.views.OpenTrace ViewActionBase.run(OpenTraceViewActionBase.java:107)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)


Therefore, I closed eclipse and I re-opened it. I started the profiling
session and opened the view without any problem. But, when I tried to
re-perform the analysis and re-open the view, the same error was raised.
Any idea about it?
Thanks for your attention,
Alessandro Tucci
Re: Thread Analysis - It is impossible to open the view for two different profil [message #113476 is a reply to message #113372] Thu, 27 September 2007 15:27 Go to previous message
Eclipse User
Originally posted by: alexander.n.alexeev.intel.com

Alessandro, thank you for this report.

Described defect is known and submitted to Bugzilla.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=191191

Fix should be contained in 4.4.1 release.

Alex.
Previous Topic:JPIAgent can't load ACCollector
Next Topic:Crash to desktop when attempting to open profile launch configuration dialog
Goto Forum:
  


Current Time: Sat Aug 02 00:36:49 EDT 2014

Powered by FUDForum. Page generated in 0.01591 seconds