Community
Participate
Working Groups
when i make a new connection with "Remote Host" as the name (WITH SPACE) i get a npe when i hit the browse button Using Eclipse 3.7 indigo M4 I20101208-1300 PTP installed from indigo M4 staging is 5.0.0.201012140925 New remote c/c++ project (this is the first one i tried) leave the names as "Remote Host" with spaces in the name enter the remote address and userid and password click the 'browse' button to find directory NPE popup with no additional information Error log shows this: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4091) at org.eclipse.swt.SWT.error(SWT.java:4006) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3765) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3456) 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:113) 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) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) Looking for the original bug about space in the name....
Here is the previous bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=325650 but it presented problem at a different point
The steps between 'New remote c/c++ project (this is the first one i tried)' and 'leave the names as "Remote Host" with spaces in the name' are missing. Also, how do you know it's related to the space in the name? Are you able to browse when there is no space in the name?
yes i tried one right after that with the usual abe.ncsa.uiuc.edu as the name and it worked fine. will post more details.... assuming i can still get it to fail. argh.
Cannot reproduce. argh. Wondering if it was a network glitch, remote host possibly not reachable at that time or something.