Hi Liviu,
I have updated the plugins to
GNU ARM C/C++ J-Linke Debugging 3.2.1.201508011813
and now the Segger J-Link debug configurations do not work any more:
An error has occurred. See error log for more details.
ilg/gnuarmeclipse/debug/gdbjtag/data/CProjectAttributes
The problem has been reported by other users too (see https://community.freescale.com/thread/363937).
So it seems something is missing in existing launch configuration files?
Thanks,
Erich
.log content:
!ENTRY org.eclipse.jface 4 2 2015-08-05 11:36:13.122
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: ilg/gnuarmeclipse/debug/gdbjtag/data/CProjectAttributes
at ilg.gnuarmeclipse.debug.gdbjtag.jlink.ui.TabDebugger.initializeFrom(TabDebugger.java:1199)
at org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom(AbstractLaunchConfigurationTabGroup.java:90)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.initializeFrom(LaunchConfigurationTabGroupWrapper.java:201)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:764)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.java:635)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:652)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.java:613)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:588)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:960)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$3.selectionChanged(LaunchConfigurationsDialog.java:573)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:876)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:873)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1708)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1093)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.doInitialTreeSelection(LaunchConfigurationsDialog.java:613)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.initializeContent(LaunchConfigurationsDialog.java:1101)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createContents(LaunchConfigurationsDialog.java:446)
at org.eclipse.jface.window.Window.create(Window.java:435)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.create(LaunchConfigurationsDialog.java:374)
at org.eclipse.jface.window.Window.open(Window.java:797)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1154)
at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:611)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:619)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:552)
at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:82)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
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.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
i'll investigate and fix it shortly.
this looks like a missing or broken dependency, the TabDebugger.java from J-Link refers CProjectAttributes from common gdbjtag class.
could you check the version of the ilg.gnuarmeclise.debug.gdbjtag plugin?
Liviu
my first explanation is that the problem might be caused by a partial Eclipse update, for one reason or another, it did not update the ilg.gnuarmeclise.debug.gdbjtag plug-in.
to confirm this, check the date and if it is not from 20150801, it was not updated.
if so, please try to reinstall my plug-ins from the /updates url and check again if that plug-in is now up-to-date.
These are the version I have:
GNU ARM C/C++ Cross Compiler 1.14.1.201508011813 ilg.gnuarmeclipse.managedbuild.cross.feature.group Liviu Ionescu
GNU ARM C/C++ J-Link Debugging 3.2.1.201508011813 ilg.gnuarmeclipse.debug.gdbjtag.jlink.feature.group Liviu Ionescu
GNU ARM C/C++ OpenOCD Debugging 3.2.1.201508011813 ilg.gnuarmeclipse.debug.gdbjtag.openocd.feature.group Liviu Ionescu
those are the versions of the 'Eclipse features', please check the plug-ins versions.
BTW, I performed a regular update of an older Eclipse running on Windows and all plug-ins were updated properly.
ilg.gnuarmeclipse.debug.gdbjtag has 2.1.3.20153181632
then this is the problem.
update it to the latest version and it should work.
I updated it now from http://gnuarmeclipse.sourceforge.net/updates, but gdbjtag is still at 2.1.3.20153181632
So this did not help
Update seems broken, try to Install New Software from that url.
Yes, I did Install New Software from that URL
Is there a way to remove the gdbjtag plugin?
looks like you have a broken configuration already.
remove all my plug-ins and reinstall. or try to install from updates-test.
since my test to update the plug-ins in a regular Eclipse was successful, my guess is that the problem is related to the KDS packaging.
as far as I know, you need to remove all features that refer to it.
I tried to uninstall it the usual way (http://mcuoneclipse.com/2012/06/10/uninstalling-eclipse-plugins/), but failed. Strangly, because of a Somnium plugin?
Cannot complete the install because one or more required items could not be found.
Software currently installed: Kinetis Design Studio 3.0.0 (com.somniumtech.kds 3.0.0)
Missing requirement: Patch Feature ilg_fr91 1.0.0.201503181632 (com.somniumtech.patchfeature.luna.ilg_fr91.feature.group 1.0.0.201503181632) requires 'ilg.gnuarmeclipse.debug.gdbjtag.jlink.feature.group 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Kinetis Design Studio 3.0.0 (com.somniumtech.kds 3.0.0)
To: com.somniumtech.patchfeature.luna.ilg_fr91.feature.group [1.0.0.201503181632]
:-(
We have found a workaround: to copy the attached two plugins in to the eclipse\plugin folder.
Still, I think the root cause is caused by some dependency from the Somnium plugins.
hmmm... these are my plug-ins, but repacked somehow.
what is wrong with them?
nothing with your plugins (still).
These are your latest plugins from the SourceForge (August 1st release), but renamed so they replace the Files from March which somehow did not got updated.
So these are your new files, but made Eclipse happy to use them.
I've reproduced on Ubuntu Linux and the plugin jar is updated: ilg.gnuarmeclipse.debug.gdbjtag.jlink_3.2.1.201508011813.jar
Attempting to uninstall GNU ARM C/C++ J-Link Debugging through Eclipse produces an error as well. Please advise if you like me to provide detail on either of these errors.
Thank you,
-Tomas
sure, provide any details you think relevant.
plugins.zip resolved the issue. Thanks Erich.
-Tomas
hmmm... rezolved what issue? so far I could not identify any issue with the plug-ins.
apparently KDS has an issue, caused by some plug-in that is not under my control, but his is another story.
so, if you suspect any issues related to the GNU ARM Eclipse plug-ins, please provide enough details to reproduce them on a standard setup, wihout KDS.
what relevance have the files in the archive?
I experienced the same issue reported, "An error has occurred. See error log for more details.
ilg/gnuarmeclipse/debug/gdbjtag/data/CProjectAttributes" while in KDS. After replacing the 2 jars in the zip, your plugin works fine. This is almost certianly an upgrade issue with one of the plugin's dependency manifests.
I did the following:
and everything went smoothly.
if you know of any problem within the plugin's dependency manifests, you're welcom to submit patches.
btw, the date 201503181632 does not match any of my release dates, it is between 2.6.1-201502281154 and 2.7.1-201503211846, so the plug-in you are refering to might not be an original GNU ARM Eclipse plug-in, but an unfortunate third party repack.
Last edit: Liviu Ionescu (ilg) 2015-08-07