Hello,
I have a b4j non-ui app working 24 hours on vps to update mysql db every 5 seconds according to data downloaded from remote server. LAtely it started to stop randomly with crash. I removed obfuscation and started with nohup on my vps.
Last night it crashed again and the sub it crashed was appstart.
How can a 24 hour running app go to appstart and crash there ? ( It was running for more than 24 hours when it crashed )
What may i be doing wrong , how the the already ruuning app go to appstart ?
error was saying for the appstart : java.null.pointer.exception.
I have these on my appstart :
Thanks
I have a b4j non-ui app working 24 hours on vps to update mysql db every 5 seconds according to data downloaded from remote server. LAtely it started to stop randomly with crash. I removed obfuscation and started with nohup on my vps.
Last night it crashed again and the sub it crashed was appstart.
How can a 24 hour running app go to appstart and crash there ? ( It was running for more than 24 hours when it crashed )
What may i be doing wrong , how the the already ruuning app go to appstart ?
error was saying for the appstart : java.null.pointer.exception.
I have these on my appstart :
B4X:
Sub AppStart (Args() As String)
timerayarla
veri_al
StartMessageLoop
End Sub
B4X:
Sub timerayarla
timeryenile.Initialize("timeryenile",1500)
timeryenile.Enabled=False
timerlog.Initialize("timerlog",1)
timerlog.Enabled=False
End Sub
B4X:
Sub veri_al
ob
j.Initialize("j", Me)
j.Download("http://....")
End Sub
Thanks