Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] PTP5.0 SLURM RM test failed

Jie,

Please try now. Let me know if you still have problems.

Greg

On Apr 26, 2011, at 1:16 AM, JiangJie wrote:

> Hi all,
> 
> The SLURM proxy configuration window does not show up.
> 
> In the Parallel Runtime Perspective, when tring to add a SLURM resource manager by selecting "Adding resource manager->SLURM" in the "Choose Resource Manger Type" window, then "Next", there is NO "proxy configuration" window displayed to let me configure the proxy connection and options.
> 
> But if clicking twice the Next button in the "Choose Resource Manager Type" window, a "Common Resource Manager Configuration" window pop up. And this is quite different from other resource managers.
> 
> I have checked out the HEAD source code from CVS. When running with the source code, adding a SLURM resource manager leads to the following errors:
> 
> !ENTRY org.eclipse.ui 4 0 2011-04-26 10:44:04.509
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
>     at org.eclipse.ptp.rm.ui.wizards.AbstractRemoteProxyResourceManagerConfigurationWizardPage.l oadSaved(AbstractRemoteProxyResourceManagerConfigurationWizardPage.java:653)
>     at org.eclipse.ptp.rm.ui.wizards.AbstractRemoteProxyResourceManagerConfigurationWizardPage.initContents(AbstractRemoteProxyResourceManagerConfigurationWizardPage.java:1000)
>     at org.eclipse.ptp.rm.ui.wizards.AbstractRemoteProxyResourceManagerConfigurationWizardPage.setVisible(AbstractRemoteProxyResourceManagerConfigurationWizardPage.java:352)
>     at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1260)
>     at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1239)
>     at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1228)
>     at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>     at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1226)
>     at org.eclipse.jface.w izard.WizardDialog.nextPressed(WizardDialog.java:915)
>     at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:428)
>     at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3568)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
>     at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>     at org.eclipse.jface.window.Window.open(Window.java:801)
>     at org.eclipse.ptp.ui.actions.AddResourceManagerAction.run(AddResourceManagerAction.java:46)
>     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:1258)
>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3568)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
>     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
>     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
>     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
>     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
>     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
>     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>     at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>     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.adap tor.EclipseStarter.run(EclipseStarter.java:344)
>     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
>     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
>     at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
>     at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
> 
> I find that the getConfiguration()(AbstractRemoteProxyResourceManagerConfigurationWizardPage.java, line 653) returns NULL, whic h should be the cause of the previous error. 
> 
> How to fix it?
> 
> Regards,
> Jie
> 
> _______________________________________________
> ptp-dev mailing list
> ptp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-dev



Back to the top