Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Problems profiling my Eclipse Plugin in TPTP
Problems profiling my Eclipse Plugin in TPTP [message #44543] Fri, 02 December 2005 14:27
Oliver Wong is currently offline Oliver Wong
Messages: 47
Registered: July 2009
Member
I've just installed the TPTP features from the Update Manager today, so I
believe I'm running the latest version (4.1). I also downloaded the Agent
Controller and have it running while trying to profile, as instructed.

I can't seem to get the profile to run on the Eclipse plugin I'm developing
and trying to profile.

I've got a configuration set up for the plugin, but when I try to launch it
for profiling, I get an exception. Also, when I click on "Profiling ..." I
also get an exception thrown.

Here's the stack trace for the error which occurs when I try to launch my
plugin.

<stackTrace>
java.lang.NoClassDefFoundError:
org/eclipse/pde/internal/ui/launcher/ILauncherSettings
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:233)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:68)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1246)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
at
org.eclipse.debug.internal.core.ContributedDelegate.getDeleg ate(ContributedDelegate.java:103)
at
org.eclipse.debug.internal.core.LaunchConfigurationType.getD elegate(LaunchConfigurationType.java:260)
at
org.eclipse.debug.internal.core.LaunchConfiguration.getDeleg ate(LaunchConfiguration.java:362)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:524)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:515)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:733)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:931)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
</stackTrace>

Here's the stack trace for the error which occurs when I click on "Profling
...."

<stackTrace>
java.lang.NoClassDefFoundError:
org/eclipse/pde/internal/ui/launcher/BasicLauncherTab
at
org.eclipse.hyades.trace.ui.internal.launcher.ProfileRuntime WorkbenchTabGroup.createTabs(ProfileRuntimeWorkbenchTabGroup .java:38)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer$6.run(LaunchConfigurationTabGroupVi ewer.java:749)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.createGroup(LaunchConfigurationTabG roupViewer.java:758)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.showInstanceTabsFor(LaunchConfigura tionTabGroupViewer.java:633)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.displayInstanceTabs(LaunchConfigura tionTabGroupViewer.java:519)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer$5.run(LaunchConfigurationTabGroupVi ewer.java:471)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.inputChanged(LaunchConfigurationTab GroupViewer.java:488)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.setInput(LaunchConfigurationTabGrou pViewer.java:452)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.handleLaunchConfigurationSelectionChanged( LaunchConfigurationsDialog.java:789)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog$3.selectionChanged(LaunchConfigurationsDia log.java:601)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:763)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:761)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.java:1453)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:37 9)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.doInitialTreeSelection(LaunchConfiguration sDialog.java:376)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.initializeContent(LaunchConfigurationsDial og.java:317)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.createContents(LaunchConfigurationsDialog. java:312)
at org.eclipse.jface.window.Window.create(Window.java:418)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.create(LaunchConfigurationsDialog.java:159 7)
at org.eclipse.jface.window.Window.open(Window.java:776)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:439)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:35 6)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:360)
at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:302)
at
org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
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:884)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3194)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2823)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1755)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:368)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:377)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
</stackTrace>

It sounds like I've messed up the install somehow, but I'm not sure what
I should do next at this point.

- Oliver
Previous Topic:TPTP 4.1 release available
Next Topic:AGR Remote Testing
Goto Forum:
  


Current Time: Tue Jul 22 19:43:39 EDT 2014

Powered by FUDForum. Page generated in 0.02456 seconds