Can anyone Get Helios working?

Topics for the Eclipse Environment
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Can anyone Get Helios working?

Post by tod »

Has anyone gotten the NetBurner plug-ins to work with the latest Eclipse Helios release? I'm trying it under Windows 7 with the 64 bit version of Helios. Most of the it works, but the ability to set a target platform doesn't seem to work from either the Project Properties or when setting up a run configuration. I can get existing projects to compile, just can't run them with the Run menu.

Using it from the Run configuration results in this dialog
NetBurner_Helios.png
NetBurner_Helios.png (17.56 KiB) Viewed 15830 times
When using the Project Properties and selecting NetBurner Options, the panel just remains blank.
NetBurner_Helios2.png
NetBurner_Helios2.png (29.98 KiB) Viewed 15830 times
The normal trick of just moving to a different setting and them coming back to the NetBurner options isn't working. I've been unable to ever see the options. Nothing too critical about using Helios versus Galileo, just always looking to stay current.
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: Can anyone Get Helios working?

Post by barttech »

Tod,
Have you had any luck on this? I was using a quiet week to try some of your suggestions for linting and Galileo, saw that Helios was out and decided to try it. I'm getting the same error (but then I followed your wiki so I would expect the same problem). Should I try to find Galileo and install that instead?
I installed 64-bit Helios, is NBEclipse and its plug-ins just for 32-bit?
Sam
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Can anyone Get Helios working?

Post by tod »

Sorry but no. I got pretty busy with a C# project and haven't had a chance to look into this any further. I'm just using a 32 bit Galileo install under Win7/64. You made a good point though, I didn't every try a 32 bit version of Helios. I'd be very interested to hear if you get a chance to try that.
User avatar
Forrest
Posts: 287
Joined: Wed Apr 23, 2008 10:05 am

Re: Can anyone Get Helios working?

Post by Forrest »

Post the log message associated with this crash. It should be in workspace/.metadata/.log. Might want to clear it first, then make the error occur so its not overflowing with old errors. I'm most interested in the stack.
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: Can anyone Get Helios working?

Post by barttech »

Here you go, I hope this helps.

!SESSION 2010-03-21 14:04:43.586 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_17
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

<old errors snipped by RGB>

!ENTRY org.eclipse.core.jobs 4 2 2010-09-03 14:50:36.503
!MESSAGE An internal error occurred during: "Launching 41429".
!STACK 0
java.lang.NullPointerException
at nbeclipse.core.utility.NBUtil.getNBRoot(NBUtil.java:43)
at nbeclipse.core.utility.NBUtil.getNetBurnerToolsDir(NBUtil.java:48)
at nbeclipse.core.launch.NBLaunchConfiguration.finalLaunchCheck(NBLaunchConfiguration.java:268)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:834)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
User avatar
Forrest
Posts: 287
Joined: Wed Apr 23, 2008 10:05 am

Re: Can anyone Get Helios working?

Post by Forrest »

barttech wrote:Here you go, I hope this helps.

!SESSION 2010-03-21 14:04:43.586 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_17
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

<old errors snipped by RGB>

!ENTRY org.eclipse.core.jobs 4 2 2010-09-03 14:50:36.503
!MESSAGE An internal error occurred during: "Launching 41429".
!STACK 0
java.lang.NullPointerException
at nbeclipse.core.utility.NBUtil.getNBRoot(NBUtil.java:43)
at nbeclipse.core.utility.NBUtil.getNetBurnerToolsDir(NBUtil.java:48)
at nbeclipse.core.launch.NBLaunchConfiguration.finalLaunchCheck(NBLaunchConfiguration.java:268)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:834)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Check your registry. Do you have the folder HKEY_LOCAL_MACHINE\SOFTWARE\NetBurner\Network Development Kit with key NBURN_ROOT_LOCATION? And if so, does it point to you c:\nburn directory (if thats where you are installed). If you do have all this, I wonder if this is a win7 registry permissions issue.
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
barttech
Posts: 135
Joined: Fri Feb 20, 2009 12:59 pm

Re: Can anyone Get Helios working?

Post by barttech »

No I don't but I do have a key called
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Network Development Kit with key NBURN_ROOT_LOCATION that points to my installation (G:\nburn).
I'm running Vista 64.
Sam
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Can anyone Get Helios working?

Post by tod »

Larry,
I just created a new workspace. Tried to start a new project but couldn't because I can't select a platform type in the wizard. I could get the Search to come up and could find the NB but it wouldn't add it. So I imported a FactoryDemo and got a slightly different error (attached).
HeliosError2.png
HeliosError2.png (81.47 KiB) Viewed 15749 times
I'm unclear as to what parts of the log you want so here is the first entry in its entirety and then subsequent entries with just the "nbeclipse" portions.

Code: Select all

!SESSION 2010-09-03 14:35:28.570 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.cdt.managedbuilder.core 4 0 2010-09-03 14:37:09.129
!MESSAGE invalid value id
!STACK 1
org.eclipse.core.runtime.CoreException: invalid value id
	at org.eclipse.cdt.managedbuilder.internal.buildproperties.BuildProperty.setValue(BuildProperty.java:58)
	at org.eclipse.cdt.managedbuilder.internal.buildproperties.BuildProperty.<init>(BuildProperty.java:47)
	at org.eclipse.cdt.managedbuilder.internal.buildproperties.BuildPropertyManager.createProperty(BuildPropertyManager.java:122)
	at org.eclipse.cdt.managedbuilder.internal.buildproperties.BuildProperties.setProperty(BuildProperties.java:74)
	at org.eclipse.cdt.managedbuilder.internal.core.ProjectType.loadFromManifest(ProjectType.java:178)
	at org.eclipse.cdt.managedbuilder.internal.core.ProjectType.<init>(ProjectType.java:91)
	at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.loadConfigElements(ManagedBuildManager.java:2513)
	at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.loadExtensionsSynchronized(ManagedBuildManager.java:2188)
	at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.loadExtensions(ManagedBuildManager.java:2119)
	at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getExtensionToolChainMap(ManagedBuildManager.java:413)
	at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getSortedToolChains(ManagedBuildManager.java:4148)
	at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getExtensionsToolChains(ManagedBuildManager.java:4328)
	at org.eclipse.cdt.managedbuilder.ui.wizards.ManagedBuildWizard.createItems(ManagedBuildWizard.java:56)
	at org.eclipse.cdt.ui.wizards.CDTMainWizardPage.updateData(CDTMainWizardPage.java:291)
	at org.eclipse.cdt.ui.wizards.CDTMainWizardPage.createControl(CDTMainWizardPage.java:93)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:734)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:606)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	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:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 0 2010-09-03 14:37:09.130
!MESSAGE invalid value id

!ENTRY org.eclipse.ui 4 0 2010-09-03 14:37:21.814
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at nbeclipse.core.utility.NBUtil.getNBRoot(NBUtil.java:43)
	at nbeclipse.core.utility.NBUtil.getPlatforms(NBUtil.java:59)
	at nbeclipse.core.wizard.NBPlatformOptionsPage.createControl(NBPlatformOptionsPage.java:131)
...elided

!ENTRY org.eclipse.ui 4 0 2010-09-03 14:38:29.712
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at nbeclipse.core.utility.NBUtil.getNBRoot(NBUtil.java:43)
	at nbeclipse.core.utility.NBUtil.getPlatforms(NBUtil.java:59)
	at nbeclipse.core.wizard.NBPlatformOptionsPage.handleIPButtonSelected(NBPlatformOptionsPage.java:247)
	at nbeclipse.core.wizard.NBPlatformOptionsPage$2.widgetSelected(NBPlatformOptionsPage.java:118)
...elided
I have the key but I also have the "Wow6432Node" folder before the "NetBurner" folder, here's a screenshot (serial numbers were erased), you can see the full path in the status bar. I'm running Windows 7/64 bit. The Wow6432Node directory is used for 32 bit apps. Since I installed the 64 bit version of Helios I suspect that this directory is not getting read in Helios but only from the 32 bit install of Galileo.
NetBurnerRegistry.png
NetBurnerRegistry.png (115.91 KiB) Viewed 15748 times
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Can anyone Get Helios working?

Post by pbreed »

The obvious experiment is to add a windows registry key without the Wow6432 etc... in the path.
IE add the Netburner links in the apropriate place.

Eclipse uses this "root" location to scan for installed platforms, so it sort of all makes sense.

Paul
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Can anyone Get Helios working?

Post by tod »

The 32 bit version of Helios mostly works. A few of the normal quirks. After you import a project, go to the Properties page NetBurner Options tab. Dismiss the java null exception. Move to a different tab, come back and set the target platform. Then the imported program compiled. A new program can be started from scratch and compiled with no problem. Both scenarios have an issue with Run configurations. I can't get the Run Configurations... option to work.
RunConfigError.png
RunConfigError.png (19.02 KiB) Viewed 15743 times
RunConfigError2.png
RunConfigError2.png (13.77 KiB) Viewed 15742 times
I can just click on the Run As and select NB Application and get it to load and run. There is just no way to modify it. After the initial errors I can get the Run Configurations Dialog to open but clicking on anything created in the NetBurner Launcher area causes a similar error sequence as does clicking the 'New' button after selecting NetBurner Launcher. Standard C/C++ Applications can be configured.
Post Reply