This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 142063 [details] jpg of dialog box fail I try to map a remote path and despite being able to use with folders dialog to click-navigate to my desired folders the request to map the drives fails with the disaplyed error: - Remote path '/app/' doesnt exist. The IDE log contains the following lines: FINE [nativeexecution.support.logger]: [28219 ms.] New connection established: user@host.net - Linux-SuSE FINE [cnd.remote.logger]: RemoteCommandSupport<Init>: Running [test -d "/remote/dir" -o -f "/remote/dir"] on user@host.net FINEST [nativeexecution.support.logger]: [28219 ms.] user@host.net test -d "/remote/dir" -o -f "/remote/dir" [0]: State changed: INITIAL -> STARTING FINE [nativeexecution.support.logger]: [28219 ms.] availableChannels == 10 FINE [nativeexecution.support.logger]: [28219 ms.] Reuse session [32,919,302]. 9 channels remains... FINE [nativeexecution.support.logger]: [28219 ms.] Acquired channel [30,917,883] from session [32,919,302]. FINEST [nativeexecution.support.logger]: [28453 ms.] user@host.net test -d "/remote/dir" -o -f "/remote/dir" [0]: State changed: STARTING -> ERROR FINE [nativeexecution.support.logger]: [28453 ms.] Error occurred: info must be in format NAME=VALUE - was Floating exception java.lang.IllegalArgumentException: info must be in format NAME=VALUE - was Floating exception at org.netbeans.modules.nativeexecution.AbstractNativeProcess.addProcessInfo(AbstractNativeProcess.java:206) at org.netbeans.modules.nativeexecution.NbNativeProcess.readProcessInfo(NbNativeProcess.java:176) at org.netbeans.modules.nativeexecution.NbNativeProcess.create(NbNativeProcess.java:91) [catch] at org.netbeans.modules.nativeexecution.AbstractNativeProcess.createAndStart(AbstractNativeProcess.java:152) at org.netbeans.modules.nativeexecution.api.NativeProcessBuilder.call(NativeProcessBuilder.java:270) at org.netbeans.modules.cnd.remote.support.RemoteCommandSupport.run(RemoteCommandSupport.java:134) at org.netbeans.modules.cnd.remote.mapper.RemoteHostInfoProviderFactory$RemoteHostInfo.fileExists(RemoteHostInfoProviderFactory.java:71) at org.netbeans.modules.cnd.api.remote.HostInfoProvider.fileExists(HostInfoProvider.java:77) at org.netbeans.modules.cnd.remote.ui.EditPathMapDialog.validateMaps(EditPathMapDialog.java:600) at org.netbeans.modules.cnd.remote.ui.EditPathMapDialog.access$1200(EditPathMapDialog.java:100) at org.netbeans.modules.cnd.remote.ui.EditPathMapDialog$7.run(EditPathMapDialog.java:536) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2048) FINE [cnd.remote.logger]: RemoteCommandSupport: test -d "/remote/dir" -o -f "/remote/dir" on user@host.net finished; rc=-1 FINEST [cnd.remote.logger]: RemoteCommandSupport ERROR: info must be in format NAME=VALUE - was Floating exception I've spent a few days on this issue and found a similar post but the reply requested a log be attached (I couldn't find a solution).
Your help is much appreciated. Thanks in advance
My guess is that pty binary (which is used to launch processes on remote host) exited abnormally. Could you answer some questions: 1) What is the remote system (uname -a; cat cat /etc/*release*) 2) On the remote host, pty utility I mentioned resides in /var/tmp/dlight_${USER}/${HASH}/pty (where HASH is a unique number that corresponds your NetBeans userdir). Could you ssh to the remote host and launch it twice with the following parameters a) pty --dumpenv /tmp/tmp_env b) pty --no-pty --readenv /tmp/tmp_env /bin/sh -c "exec test -d /app/rdg/ -o -f /app/rdg/" Does it execute normally? What is the result code and the output?
Can not fix without additional information requested in previous comment. Besides this might is probably fixed in 7.4. Should the situation repeat, please reopen with additional information.
i am having exactly the same problem. Even though i select the folders and do not type them in, in the path mapper fields, i still get an error: Remote path "/home/milicm" doesnt exist Here are the requested commands: milicm@rheine> pwd /var/tmp/dlight_milicm/477ef8a8/359511408 milicm@rheine> pty --dumpenv /tmp/tmp_env milicm@rheine> pty --no-pty --readenv /tmp/tmp_env /bin/sh -c "exec test -d /home/milicm/ -o -f /home/milicm/" PID=15594 TTY=/dev/pts/8 PSID=12055 NBMAGIC=15593 milicm@rheine> echo $? 0 milicm@rheine>
Thanks for info. You use 8.0, right?The original issue description contained the following in console/IDE loh:FINE [nativeexecution.support.logger]: [28453 ms.] Error occurred: info must be in format NAME=VALUE - was Floating exceptionjava.lang.IllegalArgumentException: info must be in format NAME=VALUE - was Floating exception at org.netbeans.modules.nativeexecution.AbstractNativeProcess.addProcessInfo(AbstractNativeProcess.java:206) at org.netbeans.modules.nativeexecution.NbNativeProcess.readProcessInfo(NbNativePro...Does your IDE log contain such error messages?In any case, could you run your IDE with command line options-J-Dcnd.remote.logger.level=0 -J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0and attach IDE log (or send it to me via email)?(Please note that IDE log will contain host and user names you would probably like to strip)
Sorry, it seems my previous comment was formatted in a strange way bu bugzilla. Let me try once more - the content is the same, just formatting differ (I hope this time bugzilla will leave it as is) Thanks for info. You use 8.0, right? The original issue description contained the following in console/IDE loh: FINE [nativeexecution.support.logger]: [28453 ms.] Error occurred: info must be in format NAME=VALUE - was Floating exception java.lang.IllegalArgumentException: info must be in format NAME=VALUE - was Floating exception at org.netbeans.modules.nativeexecution.AbstractNativeProcess.addProcessInfo(AbstractNativeProcess.java:206) at org.netbeans.modules.nativeexecution.NbNativeProcess.readProcessInfo(NbNativePro... Does your IDE log contain such error messages? In any case, could you run your IDE with command line options -J-Dcnd.remote.logger.level=0 -J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0 and attach IDE log (or send it to me via email)? (Please note that IDE log will contain host and user names you would probably like to strip)
This might happen if "test" command is not in your path on remote host; or if there is another "test" command in your path that precedes standard one. Please the following in your remote host console: test -d "/home/milicm" -o -f "/home/milicm"; echo $? It should print "0", I guess it will print non zero. There is a related issue 244116
http://hg.netbeans.org/cnd-main/rev/b1bd440c94b5 http://hg.netbeans.org/cnd-main/rev/68cf4e10db38
Integrated into 'main-silver', will be available in build *201505160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b1bd440c94b5 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #238238 - Map remote path error: Remote path does not exist : Windows -> Samba