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.
This bug was originally marked as duplicate of bug 241811, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201402260001) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Mac OS X User Comments: GUEST: . Stacktrace: java.lang.IllegalStateException: Cannot get websocket address at org.netbeans.modules.cordova.platforms.android.AndroidDebugTransport.getURI(AndroidDebugTransport.java:226) at org.netbeans.modules.cordova.platforms.android.AndroidDebugTransport.createWebSocket(AndroidDebugTransport.java:129) at org.netbeans.modules.cordova.platforms.android.AndroidDebugTransport.attach(AndroidDebugTransport.java:146) at org.netbeans.modules.cordova.platforms.api.WebKitDebuggingSupport.startDebugging(WebKitDebuggingSupport.java:110) at org.netbeans.modules.cordova.CordovaPerformer$1.run(CordovaPerformer.java:250) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Created attachment 145647 [details] stacktrace
please make sure, that you have Android 4.4+, cordova 3.3+ and android debugging is enabled on your device.
(In reply to Jan Becicka from comment #2) > please make sure, that you have Android 4.4+, cordova 3.3+ and android > debugging is enabled on your device. Thanks for the reply. I have Android v 4.4.2(API 19), Cordova v3.4.1-0.1.0 and debugging is enabled on the android device (a Samsung Galaxy SIII).
This can happen, when you have 2 or more devices connected to your machine. Is this your case? Can you attach full messages.log? Thanks
Created attachment 148401 [details] stacktrace stopping connection to Android emulator
(In reply to Jan Becicka from comment #4) > This can happen, when you have 2 or more devices connected to your machine. > Is this your case? Can you attach full messages.log? Thanks In my case, I had Android phone connected to PC and was trying to run application on Android emulator
Created attachment 151220 [details] stacktrace cordova build
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=208030
Created attachment 151221 [details] stacktrace cordova run
Changeset: 6bd20eb7a805 Author: Roman Svitanic <rsvitanic@netbeans.org> Date: 2015-02-12 17:07 Message: #248411: IllegalStateException: Cannot get websocket address - fixed