[
https://issues.apache.org/jira/browse/NETBEANS-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaroslav Tulach resolved NETBEANS-3101.
---
Resolution: Won't Fix
This problem is a
[JDK-8211842|https://bugs.openjdk.java.net/browse/JDK-8211842] which has been
fixed in JDK12.0.2. Moreover it is possible to use {{spawn}} instead of
{{execFile}}:
{code:java}
var spawn = require("child_process").spawn;
let path = './netbeans';
let vvm = exec(path, [ 'dump.hprof' ], {
stdio : [ 'ignore', 'ignore', 'ignore' ]
}); {code}
Closing as won'tfix.
> 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
>Priority: Minor
>
>
> 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:
> {code:java}
> $ ls -l | cut -c50-
> dump.hprof
> nb.js
> nb.sh
> 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:
> {code:java}
> ./jvm.sh
> {code}
> The dump.hprof file opens in the the GUI. Close it and try the same via
> *node.js*:
> {code:java}
> node ./jvm.js
> {code}
> 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
(v8.3.2#803003)
-
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:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists