Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Profile launch fails: can't resolve data collectors
Profile launch fails: can't resolve data collectors [message #90171] Wed, 13 December 2006 17:33 Go to next message
Eclipse User
Originally posted by: clark.updike.jhuapl.edu

!SESSION 2006-12-13 09:38:10.683
-----------------------------------------------
eclipse.buildId=M20060921-0945
When I try to launch a profile, I get a failure. The log file output is
below. Another user reported the same thing here
< http://dev.eclipse.org/newslists/news.eclipse.tptp/msg03186. html> but
never got any response.

TIA, Clark


java.version=1.5.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.hyades.trace.ui 4 0 2006-12-13 09:39:07.996
!MESSAGE An error occurred while attempting to resolve the data collectors
selected
!STACK 1
org.eclipse.core.runtime.CoreException: An error occurred while attempting
to resolve the data collectors selected
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:120)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:128)
at
org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:152)
at java.lang.Thread.run(Thread.java:595)
!SUBENTRY 1 org.eclipse.hyades.trace.ui 4 0 2006-12-13 09:39:07.996
!MESSAGE An error occurred while attempting to resolve the data collectors
selected
Re: Profile launch fails: can't resolve data collectors [message #90236 is a reply to message #90171] Wed, 13 December 2006 22:52 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
You need to specify what needs to be monitored before you can profile your
application. Follow the steps below:

- Open the profile launch configuration (Select 'Run' > 'Profile...' from
the menu OR use the profile drop down toolbar and select 'Profile...')
- Switch to the 'Monitor' tab
- Select one or more of the available analysis types under "Java Profiling
(...)". For example, "Execution Time Analysis"

This appears to be a usability issue if reported by multiple users. I have
opened the following defect for it to be addressed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167976

Thanks,
Ali Mehregani


"Clark" <clark.updike@jhuapl.edu> wrote in message
news:49c55d54bb686e569478f7be8e3043d2$1@www.eclipse.org...
>
>
> !SESSION 2006-12-13
> 09:38:10.683 -----------------------------------------------
> eclipse.buildId=M20060921-0945
> When I try to launch a profile, I get a failure. The log file output is
> below. Another user reported the same thing here
> < http://dev.eclipse.org/newslists/news.eclipse.tptp/msg03186. html> but
> never got any response.
>
> TIA, Clark
>
>
> java.version=1.5.0_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -clean
>
> !ENTRY org.eclipse.hyades.trace.ui 4 0 2006-12-13 09:39:07.996
> !MESSAGE An error occurred while attempting to resolve the data collectors
> selected
> !STACK 1
> org.eclipse.core.runtime.CoreException: An error occurred while attempting
> to resolve the data collectors selected
> at
> org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:120)
> at
> org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:128)
> at
> org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:152)
> at java.lang.Thread.run(Thread.java:595)
> !SUBENTRY 1 org.eclipse.hyades.trace.ui 4 0 2006-12-13 09:39:07.996
> !MESSAGE An error occurred while attempting to resolve the data collectors
> selected
>
>
Re: Profile launch fails: can't resolve data collectors [message #90267 is a reply to message #90236] Thu, 14 December 2006 14:11 Go to previous message
Eclipse User
Originally posted by: clark.updike.jhuapl.edu

Thanks for filing that. Turns out that something was wrong with my
installation and I wasn't ever getting the monitor tab in the launch
dialog (or any tabs for that matter). I had installed tptp via update and
something must have gone wrong. I got the full eclipse bundle and the
launch dialog now works correctly. I'm still struggling to get it to run
the profile with the graphical execution flow--guess I'll have to
breakdown and RTFM.

P.S Here's the exception I get running tptp installed via the update
manager (when the tabs don't show up):

!ENTRY org.eclipse.jface 4 2 2006-12-14 09:04:50.919
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/tptp/trace/ui/internal/launcher/application/Filt erExtendedConfigurationPage
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:160)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:498)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:468)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:427)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:410)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:188)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:334)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:386)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:347)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIE xtendedConfiguration. <init>(TIExtendedConfiguration.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:157)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.Configurati onLoader.constructInstance(ConfigurationLoader.java:68)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.Configurati onManager.initialize(ConfigurationManager.java:66)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.Configurati onManager. <init>(ConfigurationManager.java:40)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.Configurati onManager.getInstance(ConfigurationManager.java:86)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.AnalysisTyp e.constructInstance(AnalysisType.java:66)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.AnalysisTyp eManager.initialize(AnalysisTypeManager.java:43)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.AnalysisTyp eManager. <init>(AnalysisTypeManager.java:32)
at
org.eclipse.tptp.trace.ui.internal.launcher.core.AnalysisTyp eManager.getInstance(AnalysisTypeManager.java:51)
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsM anager.initializeProfilingTypes(ProfilingSetsManager.java:23 5)
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsM anager.initialize(ProfilingSetsManager.java:117)
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsM anager.getDefaultSet(ProfilingSetsManager.java:594)
at
org.eclipse.hyades.trace.ui.launcher.ProfilingSetsManagerCop y.initializeProfilingSets(ProfilingSetsManagerCopy.java:181)
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsM anager.initialize(ProfilingSetsManager.java:118)
at
org.eclipse.hyades.trace.ui.launcher.ProfilingSetsManagerCop y. <init>(ProfilingSetsManagerCopy.java:51)
at
org.eclipse.hyades.trace.ui.internal.core.TraceProfileUI.get ProfilingSetWC(TraceProfileUI.java:964)
at
org.eclipse.hyades.trace.ui.internal.core.TraceProfileUI.cre ateDataCollectorTree(TraceProfileUI.java:277)
at
org.eclipse.hyades.trace.ui.internal.core.TraceProfileUI.cre ateFlatControl(TraceProfileUI.java:246)
at
org.eclipse.hyades.trace.ui.internal.core.TraceProfileUI.cre ateControl(TraceProfileUI.java:207)
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfileTab.cre ateControl(ProfileTab.java:73)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.showTabsFor(LaunchConfigurationTabG roupViewer.java:757)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.showInstanceTabsFor(LaunchConfigura tionTabGroupViewer.java:697)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.displayInstanceTabs(LaunchConfigura tionTabGroupViewer.java:632)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer$6.run(LaunchConfigurationTabGroupVi ewer.java:548)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.inputChanged(LaunchConfigurationTab GroupViewer.java:565)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput(LaunchConfigurationTabGrou pViewer.java:529)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.handleLaunchConfigurationSelectionChanged( LaunchConfigurationsDialog.java:928)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$4.selectionChanged(LaunchConfigurationsDia log.java:547)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:839)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 9)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:837)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect( StructuredViewer.java:1143)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected( StructuredViewer.java:1163)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(O penStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:230)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java: 404)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:1086)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 3)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:387)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:329)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Previous Topic:org.xml.sax.SAXParseException when trying to profile a BIRT application using TPTP.
Next Topic:TIme-out occurred while attempting to launch the process
Goto Forum:
  


Current Time: Tue Sep 16 11:31:57 GMT 2014

Powered by FUDForum. Page generated in 0.05343 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software