Android Question Program not compiling shows EOF exception consistently.

Juzer Hussain

Active Member
Licensed User
Longtime User
Hi Guys,
I am trying to compile my project in Debug Rapid mode it is consistently showing
java.lang.RuntimeException: java.io.EOFException.
I am using android version 6.0 and B4A 5.2. This happens many times then it will start compiling normally for few attempts and again the same thing.
Do I need to do some refreshing ?

Pls guide me.

Thanks
Juzer
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
Start with posting the complete error

Hi DonManfred,

The fulll error message is like as below.

java.lang.RuntimeException: java.io.EOFException
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:159)
at anywheresoftware.b4a.shell.Shell.start(Shell.java:91)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:76)
at com.svps_all.main.afterFirstLayout(main.java:92)
at com.svps_all.main.access$100(main.java:17)
at com.svps_all.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.io.EOFException
at libcore.io.Streams.readFully(Streams.java:83)
at java.io.DataInputStream.readInt(DataInputStream.java:103)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:131)
... 12 more

I tried changing the usb port, cleaning the project nothing helps.
Juzer
 
Upvote 0

Juzer Hussain

Active Member
Licensed User
Longtime User
Thanks Erel,
The project is quite big, I think there is some version conflict in my mobile as i have another version also installed and compiling on release mode is always successfull. I will uninstall other versions and check.
Juzer
 
Upvote 0
Top