Dear All,
On rare occasions I get an error like this:
which seems to be triggered in:
And when I say rare, we´re talking like every two weeks. I just had it happening today and did not see it till half an hour after that the app had crashed. Restarting it resolved the issue.
What I would like to know is whether if there´s a way to simply bypass it, have a timer wait for 20 secs and then try again.
Thanks
On rare occasions I get an error like this:
B4X:
ResponseError. Reason: java.lang.IllegalArgumentException: Unexpected char 0x01 at 545 in Cookie value: visid_incap_1244263=r+imxV2ZR0Klizpbd+cSA0RcfVsAAAAAQUIPAAAAAAAY1c2fTSk22G3/GLMNWtPM; nlbi_1244263=/52ZfrxGmG6P79RYK3zvtwAAAADgTKKjncgXmP3qWzgQhVPb; incap_ses_769_1244263=pLrhEMc2/EvufisC+wmsCgf6g1sAAAAAC3bywtBOgN1uVng7TVJ9LA==; incap_ses_768_1244263=zABpO48HMAPqHAG/YnyoCocmhFsAAAAApfIshuivRDuMyJolJgDe8A==; .ASPXANONYMOUS=pG0h3cwIxS3iJ44tCyqOiVOQJGpE-lkGj0NcegV7yF5n0ZxUh_IlKx07lg1jCXfj45SiDyG39qEKFsGBaeas4ExG-FFlJf0My0RV0mcGiOu9FRfR_vIDq_9W9kGQGGFFuJxOXTLxyT2DUR6jI4xsjg2; CryptopiaLang=en; ___utmvmBzuYcMIB=xGgKqqbcKsW; ___utmvaBzuYcMIB=jqAysOg; ___utmvbBzuYcMIB=xZL, Response:
main$ResumableSub_wv1_pagefinished.resume (java line: 1270)
java.lang.NullPointerException
at b4j.example.main$ResumableSub_wv1_pagefinished.resume(main.java:1270)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:135)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:84)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4a.keywords.Common$3.run(Common.java:1086)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)
which seems to be triggered in:
B4X:
Sub wv1_pagefinished (uri As String)
If uri = "https://www.cryptopia.co.nz/" Then
wait for (Get_Tradepairs) complete (rawlist As String)
If rawlist.Contains($""Success":true"$) Then
Dim cryptopairslist As List = Build_TPList (rawlist)
Init_WvWshttp(cryptopairslist)
End If
End If
End Sub
And when I say rare, we´re talking like every two weeks. I just had it happening today and did not see it till half an hour after that the app had crashed. Restarting it resolved the issue.
What I would like to know is whether if there´s a way to simply bypass it, have a timer wait for 20 secs and then try again.
Thanks