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.
Summary: | Netbeans causes Linux to freeze when it runs an executable | ||
---|---|---|---|
Product: | projects | Reporter: | yeti |
Component: | Ant | Assignee: | Tomas Stupka <tstupka> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
yeti
2014-02-12 01:44:32 UTC
I see the 'component' is being changed, but beware, this happens if Netbeans starts any executable through both Ant and Java give the same behaviour! So both through <exec /> and Runtime.getRuntime() but also through Apache Commons Exec library. When I tried to make a ssh/rsync-plugin for Netbeans, using an external executable same thing occured. Anybody been able to replicate this on another machine? can you attach the netbeans log file? (http://wiki.netbeans.org/FaqLogMessagesFile) please note that your main class is likely executed via <exec> ant task as well (from within the IDE's JVM). Please also turn debug logging on in the ant build and attach it to the issue. which jdk version are we talking about? is it oracle's jdk? in general I'm inclined to think that a java program per se cannot do what you describe, it's mostly the VM's fault. another interesting experiment would be to run the said program in a maven project. Maven project builds execute in separate JVM, unlike ant projects. any update on this? This is still an issue in 2017. I created a maven project, and this failed as well. Just passing on the information to you all. A work around I am going to use is to run those commands in C++ code instead of java, and just call the code from java with command line options there. Live Long and Prosper! |