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.

Bug 242724 - IllegalThreadStateException: process hasn't exited
Summary: IllegalThreadStateException: process hasn't exited
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: 8.0_HR_FIX, REGRESSION
Depends on:
Blocks:
 
Reported: 2014-03-10 08:16 UTC by Vladimir Riha
Modified: 2014-03-12 02:47 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208282


Attachments
stacktrace (1.18 KB, text/plain)
2014-03-10 08:16 UTC, Vladimir Riha
Details
stacktrace (1.18 KB, text/plain)
2014-03-10 12:16 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-03-10 08:16:20 UTC
Build: NetBeans IDE 8.0 (Build 201403070930)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Mac OS X

User Comments:
vriha: Trying to run HTML5 application on iOS Simulator. The simulator window goes black for a moment and then back to home screen instead of launching mobile Safari




Stacktrace: 
java.lang.IllegalThreadStateException: process hasn't exited
   at java.lang.UNIXProcess.exitValue(UNIXProcess.java:287)
   at org.netbeans.modules.extexecution.WrapperProcess.exitValue(WrapperProcess.java:88)
   at org.netbeans.modules.cordova.platforms.api.ProcessUtilities.callProcess(ProcessUtilities.java:144)
   at org.netbeans.modules.cordova.platforms.ios.IOSDevice.openUrl(IOSDevice.java:136)
   at org.netbeans.modules.cordova.platforms.ios.IOSBrowser.setURL(IOSBrowser.java:156)
   at org.netbeans.modules.web.browser.api.WebBrowserPane$2.run(WebBrowserPane.java:229)
Comment 1 Vladimir Riha 2014-03-10 08:16:22 UTC
Created attachment 145885 [details]
stacktrace
Comment 2 Vladimir Riha 2014-03-10 09:38:45 UTC
This is potential stopper, I can't run HTML5 project (not Cordova type) in iOS Simulator. Please evaluate.

I've tried the same with 7.4 and Dev Build 20140205001 and it works OK.

Adding Honza to cc as owner of cordova.platforms
Comment 3 Marian Mirilovic 2014-03-10 10:04:20 UTC
Please evaluate ASAP !
Comment 4 Jiri Rechtacek 2014-03-10 10:06:30 UTC
(In reply to Vladimir Riha from comment #2)
> Adding Honza to cc as owner of cordova.platforms

Honza is on vacation this week, ccing David.
Comment 5 Tomas Danek 2014-03-10 12:16:06 UTC
Created attachment 145897 [details]
stacktrace

run html5 project in ios browser
Comment 6 Jiri Rechtacek 2014-03-10 15:54:22 UTC
Suspected changeset: http://hg.netbeans.org/core-main/rev/aadbbc472efe
Comment 7 Jiri Rechtacek 2014-03-10 15:55:10 UTC
http://hg.netbeans.org/core-main/rev/1a200f6ec53c
Comment 8 Jiri Rechtacek 2014-03-10 16:06:17 UTC
http://hg.netbeans.org/releases/rev/b8e35b888b3f
Comment 9 Quality Engineering 2014-03-10 19:08:50 UTC
Integrated into 'releases/release80', will be available in build *201403101706* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/b8e35b888b3f
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #242724 - IllegalThreadStateException: process hasn't exited
(transplanted from 1a200f6ec53c7f4762df5d458c85a26fbb9fcff2)
Comment 10 Vladimir Riha 2014-03-11 12:22:06 UTC
Thank you, verified in 8.0. I've tried to run HTML5 project on iOS Simulator/device and Android emulator and Cordova project as well.

Product Version: NetBeans IDE 8.0 (Build 201403101706)
JDK8
Comment 11 Quality Engineering 2014-03-12 02:47:43 UTC
Integrated into 'main-silver', will be available in build *201403120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1a200f6ec53c
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #242724 - IllegalThreadStateException: process hasn't exited