My app crashes with this error:
It seems that the getstring I'm doing on the HttpJob causes a file not found error in a temporary directory? Can anyone explain why this is happening?
B4X:
main._appstart (java line: 170)
java.lang.RuntimeException: java.io.FileNotFoundException: /tmp/6 (No such file or directory)
at anywheresoftware.b4a.keywords.Common$2$1.run(Common.java:1052)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:47)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:43)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:180)
at b4j.example.main._appstart(main.java:170)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:111)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:98)
at b4j.example.main.main(main.java:28)
Caused by: java.io.FileNotFoundException: /tmp/6 (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:244)
at b4j.example.httpjob._getstring2(httpjob.java:252)
at b4j.example.httpjob._getstring(httpjob.java:241)
at b4j.example.main$ResumableSub_getNext.resume(main.java:3177)
at anywheresoftware.b4a.keywords.Common$2$1.run(Common.java:1050)
... 11 more