I'm using httputils2service and OkHttp v1.01.
In live application I can see errors on android 5.x device in httputils2service in line job.success = success
Error (obfuscated release):
My manifest :<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19"/>
For release I'm using android.jar 23.
In Google Analytics crash, a lot of errors like (on 4k active app installation)
Stack trace from Google Dev console:
I'm unable to reproduce errors on my devices, also try emulator (Genymotion) without success to reproduce any of these errors.
Can anyone help with errors or workarounds?
In live application I can see errors on android 5.x device in httputils2service in line job.success = success
Error (obfuscated release):
All errors come from android 5.x version (SDK 22).Attempt to write to field 'boolean com.xxxx.yyyy.httpjob._vvvvvvvvvvvvv5' on a null object reference
My manifest :<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19"/>
For release I'm using android.jar 23.
In Google Analytics crash, a lot of errors like (on 4k active app installation)
ErrnoException (@httputils2service:_hc_responsesuccess:170) {main} - about 300 errors per day
NullPointerException (@httputils2service:_vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0:142) {main} - about 150 errors per day
ErrnoException (@httpjob:_vvvvvvvvvvvv7:180) {main} - about 90 errors per day
Stack trace from Google Dev console:
========= 01 =========
(all errors are from Android 5.x)
java.lang.NullPointerException
at com.xxxx.yyyyy.httputils2service._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv0(httputils2service.java:142)
at com.xxxx.yyyyy.httputils2service._response_streamfinish(httputils2service.java:196)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA$2.run(BA.java:328)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5478)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:875)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:691)
at dalvik.system.NativeStart.main(Native Method)
========= 02 =========
(errors from Android 4.x and Android 5.x)
java.io.FileNotFoundException: /data/data/com.xxxx.yyyyy/files/tempdown/3: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:456)
at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:370)
at com.xxxx.yyyyy.httputils2service._hc_responsesuccess(httputils2service.java:170)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA$2.run(BA.java:328)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:442)
... 15 more
I'm unable to reproduce errors on my devices, also try emulator (Genymotion) without success to reproduce any of these errors.
Can anyone help with errors or workarounds?