Hello all,
I have a B4A App, that interacts with a Payment terminal
i am getting an error that does not show in the code or the log window.
It just crashes.
The log (unfiltered) is as follows:
Any ideas !?
I have a B4A App, that interacts with a Payment terminal
i am getting an error that does not show in the code or the log window.
It just crashes.
The log (unfiltered) is as follows:
Any ideas !?
B4X:
Logger connected to: Wolder miTab_COLORS_10
--------- beginning of crash
FATAL EXCEPTION: main
Process: p2g.scz, PID: 4796
org.json.JSONException: End of input at character 0 of
at org.json.JSONTokener.syntaxError(JSONTokener.java:449)
at org.json.JSONTokener.nextValue(JSONTokener.java:97)
at anywheresoftware.b4a.objects.collections.JSONParser.NextObject(JSONParser.java:48)
at p2g.scz.main._result(main.java:3771)
at p2g.scz.main._jobdone(main.java:2432)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at anywheresoftware.b4a.keywords.Common$11.run(Common.java:1151)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)
FATAL EXCEPTION: main
Process: p2g.scz, PID: 5200
java.lang.RuntimeException: Cannot parse: -1 as boolean
at anywheresoftware.b4a.BA.parseBoolean(BA.java:591)
at anywheresoftware.b4a.BA.ObjectToBoolean(BA.java:661)
at p2g.scz.main._btnsair_click(main.java:1380)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:80)
at android.view.View.performClick(View.java:5265)
at android.view.View$PerformClick.run(View.java:21534)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)
--------- beginning of main
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 239, sample 1, bsLength 0!!
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 3ce9!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 3ce9!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 3ce9!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 3ce9!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 3ce9!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 3ce9!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 241d!!
jpeg_decoder mode 1, colorType 4, w 240, h 239, sample 1, bsLength 1f47!!
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
FATAL EXCEPTION: main
Process: p2g.scz, PID: 8442
java.lang.IllegalArgumentException: Unknown pattern character 'Y'
at java.text.SimpleDateFormat.validatePatternCharacter(SimpleDateFormat.java:323)
at java.text.SimpleDateFormat.validatePattern(SimpleDateFormat.java:312)
at java.text.SimpleDateFormat.applyPattern(SimpleDateFormat.java:403)
at anywheresoftware.b4a.keywords.DateTime.setDateFormat(DateTime.java:138)
at p2g.scz.main._writeoperations(main.java:4076)
at p2g.scz.main._result(main.java:3843)
at p2g.scz.main._jobdone(main.java:2431)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at anywheresoftware.b4a.keywords.Common$11.run(Common.java:1151)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:749)
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 240, sample 1, bsLength 0!!
jpeg_decoder mode 1, colorType 4, w 240, h 239, sample 1, bsLength 0!!
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
[getaddrinfo]: hostname=192.168.0.48; servname=(null); netid=0; mark=0
[getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0