L lancaster Member Licensed User Longtime User Jan 16, 2019 #1 One of my projects regularly fails to start in Debug mode and reports a Socket Error with Caused by: java.lang.RuntimeException: java.net.SocketException: Socket closed at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120) at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98) at b4j.example.main.<clinit>(main.java:17) Caused by: java.net.SocketException: Socket closed After attempting this several times I might just get "Waiting for debugger to connect..." and then nothing or occasionally it behaves correctly an stops at my first breakpoint and we're good to go. It is only on one of my projects. Others are fine. This project uses OkHttp (Library) and HttpJob and HttpUtils2Service (Source code). I have moved the project to two other Windows machines and get the same issue. The project never fails in Release mode. Suggestions gratefully received as it is slowing down my development somewhat. Thanks
One of my projects regularly fails to start in Debug mode and reports a Socket Error with Caused by: java.lang.RuntimeException: java.net.SocketException: Socket closed at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120) at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98) at b4j.example.main.<clinit>(main.java:17) Caused by: java.net.SocketException: Socket closed After attempting this several times I might just get "Waiting for debugger to connect..." and then nothing or occasionally it behaves correctly an stops at my first breakpoint and we're good to go. It is only on one of my projects. Others are fine. This project uses OkHttp (Library) and HttpJob and HttpUtils2Service (Source code). I have moved the project to two other Windows machines and get the same issue. The project never fails in Release mode. Suggestions gratefully received as it is slowing down my development somewhat. Thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2019 #2 Can you upload the project? Upvote 0
L lancaster Member Licensed User Longtime User Jan 17, 2019 #3 Erel said: Can you upload the project? Click to expand... As requested. Erel. Attachments Backup 2019-01-17 13.06.zip Backup 2019-01-17 13.06.zip 108.7 KB · Views: 386 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2019 #4 Works fine here. Tested multiple times. Waiting for debugger to connect... Program started. Extractor version 1.34 running.. Job file does not exist Might be related to an over-aggresive antivirus. Upvote 0
Works fine here. Tested multiple times. Waiting for debugger to connect... Program started. Extractor version 1.34 running.. Job file does not exist Might be related to an over-aggresive antivirus.