[yocto] [eclipse-plugin] Exception Eclipse Plugin 1.7 / kepler Windows using MinGW can x-comp. No options are stored after configuration.

J.J. Garcia sm0ketst at gmail.com
Thu Jan 22 00:03:09 PST 2015


J.J. Garcia <sm0ketst at ...> writes:

> 
> Hi all,
> When using the Yocto plugin in Kepler/Windos/X86_64 and 
MinGW/Toolchain deployed in /opt/poky/1.7, after setting up the options 
as:
> - Standard pre-built toolchain
> - Toolchain Root Location: C:\MinGW\msys\1.0\opt\poky\1.7
> - Sysroot Location: C:\MinGW\msys\1.0\opt\poky\1.7\sysroots\i686-
pokysdk-mingw32
> and
> - Target options set to "External HW"
> 
> I'm able to see how the Target Architecture is preset automatically to 
"core2-32-poky-linux" but when I apply the changes an error message is 
raised and the changes are lost if i come back to the plug propierties.
> 
> The error log shows the following 
details:================================================================
===============================
> 
> - Messsage: Unhandled event loop exception
> 
========================================================================
=======================
> 
> - Exception Stack Trace:
> 
> java.lang.NullPointerException
> 
> 	at org.yocto.sdk.ide.YoctoSDKChecker.checkYoctoSDK(Unknown 
Source)
> 
> 	at org.yocto.sdk.ide.YoctoUISetting.validateInput(Unknown 
Source)
> 
> 	at 
org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage.performOk(Unknown 
Source)
> 
> 	at 
org.eclipse.jface.preference.PreferencePage.performApply(PreferencePage.
java:432)
> 
> 	at 
org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferenceP
age.java:281)
> 
> 	at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248
)
> 
> 	at 
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> 
> 	at 
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
> 
> 	at 
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
> 
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
> 
> 	at org.eclipse.jface.window.Window.open(Window.java:802)
> 
> 	at 
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(Workbench
PreferenceDialog.java:215)
> 
> 	at 
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.
java:65)
> 
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
> 
> 	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:584)
> 
> 	at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
ionItem.java:501)
> 
> 	at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
ributionItem.java:411)
> 
> 	at 
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
> 
> 	at 
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
> 
> 	at 
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
> 
> 	at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartR
enderingEngine.java:1113)
> 
> 	at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
> 
> 	at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRen
deringEngine.java:997)
> 
> 	at 
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbe
nch.java:140)
> 
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
> 
> 	at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
> 
> 	at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:5
67)
> 
> 	at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 
> 	at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat
ion.java:124)
> 
> 	at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:196)
> 
> 	at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:110)
> 
> 	at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.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(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: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)
> 
> 
========================================================================
=======================
> 
> - Session Data:
> 
> eclipse.buildId=4.3.2.M20140221-1700
> java.version=1.6.0_29
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Framework arguments:  -product 
org.eclipse.epp.package.standard.product
> Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
org.eclipse.epp.package.standard.product
> 
> 
========================================================================
=======================
> 
> 
> Thanks in advance,
> 
> Regards
> 
> JJ
> 
> 

Assigned:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7211

By the meantime I'm setting up the eclipse with the 
compiler/linker/debug options from "$CC -v ..." out of plugin.

Seems to work.

Thanks and all the best for the project!!

JJ



More information about the yocto mailing list