Community
Participate
Working Groups
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.ptp.remote.remotetools.ui.RemoteToolsUIConnectionManager.openConnectionWithProgress(RemoteToolsUIConnectionManager.java:155) at org.eclipse.ptp.rdt.ui.wizards.RemoteProjectContentsLocationArea.checkConnection(RemoteProjectContentsLocationArea.java:244) at org.eclipse.ptp.rdt.ui.wizards.RemoteProjectContentsLocationArea.access$8(RemoteProjectContentsLocationArea.java:241) at org.eclipse.ptp.rdt.ui.wizards.RemoteProjectContentsLocationArea$5.widgetSelected(RemoteProjectContentsLocationArea.java:443) This is using epp-parallel RC5 PTP Version: 5.0.0.201106140904 CDT Version: 8.0.0.201106081058 This was talking to a machine that needed an ssh 2-node hop to get it. I was using port 2222 to do this. I think I have have inadvertently closed the command window that i did the hop command with; and i also had some password problems this morning so it may have been a wrong password. Or both, together or separately. Just one more error we should catch and tell the user something
The trouble is that this is not where the NPE occurred, so it is impossible to know how to fix it. Do you have the stack trace of where it happened?
(In reply to comment #1) > The trouble is that this is not where the NPE occurred, so it is impossible to > know how to fix it. Do you have the stack trace of where it happened? It seems to be the same NPE I just got when I entered the wrong Passcode: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:196) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4683) at org.eclipse.ptp.remotetools.environment.generichost.core.AuthInfo$PromptSecret.prompt(AuthInfo.java:36) at org.eclipse.ptp.remotetools.environment.generichost.core.AuthInfo.promptPassphrase(AuthInfo.java:119) at org.eclipse.ptp.remotetools.internal.ssh.Connection$SSHUserInfo.promptPassphrase(Connection.java:112) at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:120) at com.jcraft.jsch.Session.connect(Session.java:419) at com.jcraft.jsch.Session.connect(Session.java:150) at org.eclipse.jsch.internal.core.JSchProvider.connect(JSchProvider.java:87) at org.eclipse.ptp.remotetools.internal.ssh.Connection.connect(Connection.java:266) at org.eclipse.ptp.remotetools.environment.control.SSHTargetControl.connect(SSHTargetControl.java:188) at org.eclipse.ptp.remotetools.environment.control.SSHTargetControl.create(SSHTargetControl.java:90) at org.eclipse.ptp.remotetools.environment.generichost.core.TargetControl.create(TargetControl.java:98) at org.eclipse.ptp.remote.remotetools.core.RemoteToolsConnection.open(RemoteToolsConnection.java:414) at org.eclipse.ptp.rm.jaxb.control.JAXBResourceManagerControl.checkConnection(JAXBResourceManagerControl.java:120) at org.eclipse.ptp.rm.jaxb.control.JAXBResourceManagerControl.doConnect(JAXBResourceManagerControl.java:672) at org.eclipse.ptp.rm.jaxb.control.JAXBResourceManagerControl.doStartup(JAXBResourceManagerControl.java:523) at org.eclipse.ptp.rmsystem.AbstractResourceManagerControl.start(AbstractResourceManagerControl.java:158) at org.eclipse.ptp.rmsystem.AbstractResourceManager.doStartup(AbstractResourceManager.java:492) at org.eclipse.ptp.rm.lml_jaxb.core.LMLJAXBResourceManager.doStartup(LMLJAXBResourceManager.java:79) at org.eclipse.ptp.rmsystem.AbstractResourceManager.start(AbstractResourceManager.java:383) at org.eclipse.ptp.ui.actions.StartResourceManagersObjectActionDelegate$1.run(StartResourceManagersObjectActionDelegate.java:48) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NullPointerException at org.eclipse.ptp.remotetools.environment.generichost.ui.UserValidationDialog.createDialogArea(UserValidationDialog.java:125) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.ptp.remotetools.environment.generichost.ui.UserValidationDialog.create(UserValidationDialog.java:87) at org.eclipse.jface.window.Window.open(Window.java:790) at org.eclipse.ptp.remotetools.environment.generichost.core.AuthInfo$PromptSecret$1.run(AuthInfo.java:40) 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:4140) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275) at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:960) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:995) at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:970) at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1166) at org.eclipse.ptp.ui.actions.StartResourceManagersObjectActionDelegate.run(StartResourceManagersObjectActionDelegate.java:58) at org.eclipse.ptp.ui.actions.AbstractResourceManagerSelectionActionDelegate.runWithEvent(AbstractResourceManagerSelectionActionDelegate.java:49) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241) 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) It seems the KEYLOCK_ICON is missing in the EPP (I'm using the EPP updated to 5.0.1).
What is the KEYLOCK_ICON? And where is it supposed to be?
(In reply to comment #3) > What is the KEYLOCK_ICON? And where is it supposed to be? /org.eclipse.ptp.remotetools.environment.generichost/icons/full/wizban/keylock.gif referenced by org.eclipse.ptp.remotetools.environment.generichost.ui.UserValidationDialog.KEYLOCK_ICON I just checked. I really doesn't seem to be in the binary. I doubt it has something to do with the EPP.
Fixed in ptp_5_0 and HEAD.