Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 408519

Summary: Systemtap: 2.0.0 M7 - throws error: org.eclipse.linuxtools.systemtap.ui.ide.property.systemtap to type class java.util.ArrayList
Product: [Tools] Linux Tools Reporter: Wainer dos Santos Moschetta <wainersm>
Component: SystemtapAssignee: Otavio Pontes <obusatto>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: anithra, cabernal, pmuldoon, swagiaal, wlai
Version: unspecified   
Target Milestone: 2.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Wainer dos Santos Moschetta CLA 2013-05-20 16:29:10 EDT
Hi,

Installed Linuxtools 2.0.0 M7 (code updated until 05/14) and got following error:

-----	

    !ENTRY org.eclipse.debug.ui 4 0 2013-05-16 10:59:17.696
    !MESSAGE Launch shortcut 'org.eclipse.linuxtools.systemtap.ui.ide.StapLaunchShortcut' enablement expression caused exception. Shortcut was removed.
    !STACK 1
    org.eclipse.core.runtime.CoreException: No property tester contributes a property org.eclipse.linuxtools.systemtap.ui.ide.property.systemtap to type class java.util.ArrayList
            at org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:123)
            at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:96)
            at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
            at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
            at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
            at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)
            at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)
            at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getApplicableConfigurationTypes(LaunchConfigurationManager.java:750)
            at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getApplicableLaunchConfigurations(LaunchConfigurationManager.java:787)
            at org.eclipse.debug.internal.ui.preferences.RunDebugPropertiesPage.collectConfigCandidates(RunDebugPropertiesPage.java:272)
            at org.eclipse.debug.internal.ui.preferences.RunDebugPropertiesPage.createContents(RunDebugPropertiesPage.java:110)
            at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
            at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1502)
            at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1259)
            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.preference.PreferenceDialog.showPage(PreferenceDialog.java:1253)
            at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:675)
            at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:709)
            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
            at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:705)
            at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888)
            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.firePostSelectionChanged(StructuredViewer.java:886)
            at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226)
            at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251)
            at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262)
            at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256)
            at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433)
            at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
            at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
            at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3692)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3341)
            at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
            at org.eclipse.jface.window.Window.open(Window.java:802)
            at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158)
            at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
            at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
            at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
            at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3717)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3338)
            at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1108)
            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
            at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:992)
            at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:137)
            at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:600)
            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
            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:354)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
            at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
    !SUBENTRY 1 org.eclipse.core.expressions 4 201 2013-05-16 10:59:17.697
    !MESSAGE No property tester contributes a property org.eclipse.linuxtools.systemtap.ui.ide.property.systemtap to type class java.util.ArrayList
Comment 1 Camilo Bernal CLA 2013-05-24 15:33:09 EDT
Could you specify the steps reproduce this issue?
Comment 2 Wainer dos Santos Moschetta CLA 2013-05-27 20:49:18 EDT
(In reply to comment #1)
> Could you specify the steps reproduce this issue?

Hi Camilo,

fyi, I don't have Systemtap in my environment. Don't now whether it is related or not.

Anyway, to reproduce the problem:

1. Create an C/C++ project
2. Right-click > Properties
3. click 'Run/Debug settings'

It throws error stacktrace in the log file.
Comment 3 Sami Wagiaalla CLA 2013-05-28 17:01:55 EDT
*** Bug 407188 has been marked as a duplicate of this bug. ***
Comment 4 Camilo Bernal CLA 2013-05-29 14:30:53 EDT
A fix has been submitted on master in commit e95a05d8b5433240b630a710fedf996ddc33d71c.
Comment 5 Camilo Bernal CLA 2013-06-27 16:18:51 EDT
Updating bug status.