Android Question java.lang.RuntimeException: java.net.SocketException: Socket closed

nicieri

Active Member
Licensed User
Longtime User
Hi,
I'm getting this error every time I try to run the app in Debug mode.

java.lang.RuntimeException: Unable to create service com.xxx.starter: java.lang.RuntimeException: java.net.SocketException: Socket closed

Does anyone know the solution?



B4X:
Logger connected to:  motorola moto g04
--------- beginning of main
** Activity (main) Pause event (activity is not paused). **
*** mainpage: B4XPage_Disappear [mainpage]
Copying updated assets files (79)
java.lang.RuntimeException: Unable to create service com.xxx.starter: java.lang.RuntimeException: java.net.SocketException: Socket closed
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4778)
    at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2356)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:205)
    at android.os.Looper.loop(Looper.java:294)
    at android.app.ActivityThread.main(ActivityThread.java:8385)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:640)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982)
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:105)
    at com.ciericorp.voyarist.starter.onCreate(starter.java:34)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4765)
    ... 9 more
Caused by: java.net.SocketException: Socket closed
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:118)
    at java.net.SocketInputStream.read(SocketInputStream.java:173)
    at java.net.SocketInputStream.read(SocketInputStream.java:143)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:277)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:338)
    at java.io.DataInputStream.read(DataInputStream.java:152)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:154)
    ... 13 more
 
Top