Jaroslav Tulach created NETBEANS-3101:

             Summary: Can't launch (and connect) NetBeans from node
                 Key: NETBEANS-3101
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3101
             Project: NetBeans
          Issue Type: Bug
          Components: platform - Launchers&CLI
            Reporter: Jaroslav Tulach


I am trying to connect to a *NetBeans* based application from _Visual Studio_ - 
aka _Electron_ - aka *node*. Somehow the *node* mangles network setup and the 
InetAddress.getHostAddress() isn't the same. To reproduce create following 
structure of files:
$ ls -l | cut -c50-
netbeans -> /home/devel/bin/netbeans/bin/netbeans
$ cat nb.sh 
./netbeans 'dump.hprof'
$ cat nb.js 
var exec = require("child_process").execFile;
let path = './netbeans';let vvm = exec(path, [ 'dump.hprof' ]){code}
Then start *./netbeans* on background and wait for the GUI to launch. Then do 
following from command line:
The dump.hprof file opens in the the GUI. Close it and try the same via 
node ./jvm.js
The heap dump isn't shown (on my computer), rather a warning dialog appears. 
Result of node and shell script disagreeing on what is local host address. One 
is using IPv6 and one IPv4.


This message was sent by Atlassian Jira

To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:

Reply via email to