This is been going on for years. Finally decided to post it. I must have something set up wrong (since 2012).
After cleaning a project, the first run almost always ends in the following after the device displays the view loaded to root, the IDE stops, then ...
Nothing else in log. Unfiltered has volumes of crap in it that only The Erels understand. What socket is it talking about?
I immediately run again (no Clean) and all is fine. Happens in multiple projects (but I clone most at first) and on emulators and real devices.
There is basically nothing in Starter (yet) except the default template stuff.
I think this is a symptom of a more serious illness.
After cleaning a project, the first run almost always ends in the following after the device displays the view loaded to root, the IDE stops, then ...
B4X:
java.lang.RuntimeException: Unable to create service com.marcsmart.aatimer.starter: java.lang.RuntimeException: java.net.SocketException: Socket closed
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4204)
at android.app.ActivityThread.access$1500(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.RuntimeException: java.net.SocketException: Socket closed
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:164)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:102)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:92)
at com.marcsmart.aatimer.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4192)
... 8 more
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:119)
at java.net.SocketInputStream.read(SocketInputStream.java:176)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:248)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:288)
at java.io.BufferedInputStream.read(BufferedInputStream.java:347)
at java.io.DataInputStream.readFully(DataInputStream.java:198)
at java.io.DataInputStream.readInt(DataInputStream.java:389)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:136)
... 12 more
Nothing else in log. Unfiltered has volumes of crap in it that only The Erels understand. What socket is it talking about?
I immediately run again (no Clean) and all is fine. Happens in multiple projects (but I clone most at first) and on emulators and real devices.
There is basically nothing in Starter (yet) except the default template stuff.
I think this is a symptom of a more serious illness.