Hey Community,
I have a very big problem, I have changed last week to my app without a backup and I only noticed a week later that the app crashes, while receiving data (images, videos, etc) it ends in an error , After hours of searching for the error, the ideas go out to me.
Error:
Function after the app crashes:
after AStream_NewDate go to error:
My values:
I just have no idea what this error message has to mean.
Please help
I have a very big problem, I have changed last week to my app without a backup and I only noticed a week later that the app crashes, while receiving data (images, videos, etc) it ends in an error , After hours of searching for the error, the ideas go out to me.
Error:
B4X:
error: (errnoexception) android.system.errnoexception: open failed: enoent (no such file or directory)
Function after the app crashes:
B4X:
Sub AStream_NewData (Buffer() As Byte)
'get the file name
timer1.Enabled = True
currentFile = BytesToString(Buffer, 0, Buffer.Length, "UTF8")
lblFile = "Receiving file: " & currentFile
ReceivingFile = True
End Sub
after AStream_NewDate go to error:
B4X:
Sub Astream_Error
Log("Error: " & LastException)
astream.Close
AStream_Terminated 'manually call this method as it will not be called
'when we explicitly close the connection.
End Sub
My values:
B4X:
astream: anywheresoftware.b4a.randomaccessfile.AsyncStreams@e78154d
countingstream: (CountingInputStream) Not initialized
CurrentFile: IMG-20150718-WA0009.jpeg
frm_showdialog: []
main:
[cc=anywheresoftware.b4a.phone.Phone$ContentChooser@80abce4, fileend=, ip=
, ipadressfromdialog=, language=0, pcmode=true
, searchinprogress=false, ssid=, tb_savevar=false
]
pe: anywheresoftware.b4a.phone.PhoneEvents@4a72513
server: anywheresoftware.b4a.objects.SocketWrapper$ServerSocketWrapper@5063a19
service: anywheresoftware.b4a.objects.ServiceHelper@828c350
socket1: anywheresoftware.b4a.objects.SocketWrapper@4bdb949
timer1 : anywheresoftware.b4a.objects.Timer@ab2524e
totalsizeforsending: 0 (0x0)
Buffer:
[0=73, 1=77, 2=71, 3=45
, 4=50, 5=48, 6=49
, 7=53, 8=48, 9=55
, 10=49, 11=56, 12=45
, 13=87, 14=65, 15=48
, 16=48, 17=48, 18=57
, 19=46, 20=106, 21=112
, 22=101, 23=103]
I just have no idea what this error message has to mean.
Please help