Hello All,
Now and again I get a strange error in the HttpUtils2Service (HttpUtils2 version 2.01) at line 40, Response.GetAsynchronously.....
It just happens now and again once in a blue moon, basically randomly. Does anybody have any ideas on what exactly the issue is apart from where it says (No such file or directory). I personally am not creating any files or folders on the fly.
What I'm doing is getting an image(png) from of the internet and inserting it directly into a bitmap.
java.io.FileNotFoundException: /data/data/com.simplysoftware.stardate/cache/4: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:409)
at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:370)
at com.simplysoftware.stardate.httputils2service._hc_responsesuccess(httputils2service.java:186)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at anywheresoftware.b4a.BA$3.run(BA.java:319)
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:5103)
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:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:393)
... 16 more
It maybe happening happening if JobDone is busy, but I'm not sure to hell you the truth.
Cheers...
Now and again I get a strange error in the HttpUtils2Service (HttpUtils2 version 2.01) at line 40, Response.GetAsynchronously.....
B4X:
Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
Response.GetAsynchronously("response", File.OpenOutput(TempFolder, TaskId, False), True, TaskId)
End Sub
It just happens now and again once in a blue moon, basically randomly. Does anybody have any ideas on what exactly the issue is apart from where it says (No such file or directory). I personally am not creating any files or folders on the fly.
What I'm doing is getting an image(png) from of the internet and inserting it directly into a bitmap.
java.io.FileNotFoundException: /data/data/com.simplysoftware.stardate/cache/4: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:409)
at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:370)
at com.simplysoftware.stardate.httputils2service._hc_responsesuccess(httputils2service.java:186)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at anywheresoftware.b4a.BA$3.run(BA.java:319)
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:5103)
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:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:393)
... 16 more
It maybe happening happening if JobDone is busy, but I'm not sure to hell you the truth.
Cheers...
Last edited: