Android Question crash in debugger (but not in debugger legacy)

When (not) using the legacy debugger I get the following errors. The app doesn't start at all (short flash). Running in releasemode is not a problem. Any thoughts? Using B4A 10.2

B4X:
java.lang.RuntimeException: Unable to create service lmmobile.jds.android.starter: java.lang.RuntimeException: java.io.EOFException
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4023)
    at android.app.ActivityThread.access$1600(ActivityThread.java:224)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1903)
    at android.os.Handler.dispatchMessage(Handler.java:107)
    at android.os.Looper.loop(Looper.java:224)
    at android.app.ActivityThread.main(ActivityThread.java:7560)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.RuntimeException: java.io.EOFException
    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 lmmobile.jds.android.starter.onCreate(starter.java:34)
    at android.app.ActivityThread.handleCreateService(ActivityThread.java:4011)
    ... 8 more
Caused by: java.io.EOFException
    at java.io.DataInputStream.readFully(DataInputStream.java:200)
    at java.io.DataInputStream.readInt(DataInputStream.java:389)
    at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:136)
    ... 12 more
 

eps

Expert
Licensed User
Longtime User
Looks like you've reached the End of the File - EOFException so the stream or file isn't terminated properly
 
Upvote 0
This is usually related to code inside one of the global subs. In most cases there would be a warnings about it.
I've had a look at all sub globals but none of thhem has a warning (unless "unused variable" is suchs a thing).
The warnings I've are mostly "unused subs/variables/libraries".
 
Upvote 0
Top