Hi,
since today, all my apps did not run in "debug mode". In "release mode" everything works fine.
I use B4A V11.00.
The virus scanner "AVG" is disabled.
Even if i try a "new project" with only one button in the main layout, the error occurs.
The error message is always the same for all apps:
The app starts and the title is shown for a short moment. After that the screen becomes white and after a while a message with "wait" or "cancel app" appears.
I searched the forum, found some hints (delete windows temp directory - does not work) but there was nothing that helped.
I hope someone knows the reason for this behavior.
Thank in advance
Fred
since today, all my apps did not run in "debug mode". In "release mode" everything works fine.
I use B4A V11.00.
The virus scanner "AVG" is disabled.
Even if i try a "new project" with only one button in the main layout, the error occurs.
The error message is always the same for all apps:
B4X:
java.lang.RuntimeException: Unable to create service b4a.example.starter: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.OutputStream.write(byte[])' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3544)
at android.app.ActivityThread.access$1300(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.OutputStream.write(byte[])' on a null object reference
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 b4a.example.starter.onCreate(starter.java:34)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3532)
... 8 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.OutputStream.write(byte[])' on a null object reference
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:61)
at anywheresoftware.b4a.shell.Shell.virtualAssets(Shell.java:124)
... 12 more
The app starts and the title is shown for a short moment. After that the screen becomes white and after a while a message with "wait" or "cancel app" appears.
I searched the forum, found some hints (delete windows temp directory - does not work) but there was nothing that helped.
I hope someone knows the reason for this behavior.
Thank in advance
Fred