When I try to connect the remote mysql database, it fatches the data (shows in Log) but the data can not be parsed. Shows the following error.
Response from server:
"Connected first"
~l11851975:
~l11851975:
~l11851975:
[{"user_name":"joydeepi","pass_word":"*123#Joy"},{"user_name":"AA","pass_word":"BB"}]
main_jobdone (java line: 428)
java.lang.RuntimeException: JSON Array expected.
at anywheresoftware.b4a.objects.collections.JSONParser.NextArray(JSONParser.java:62)
at b4a.example.main._jobdone(main.java:428)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.keywords.Common$11.run(Common.java:1164)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Few days earlier, I was able to parse the data but from yesterday this error message shows. I have formated the desktop and then reinstalled everything. But the problem remains.
Please Help me .....
Response from server:
"Connected first"
~l11851975:
~l11851975:
~l11851975:
[{"user_name":"joydeepi","pass_word":"*123#Joy"},{"user_name":"AA","pass_word":"BB"}]
main_jobdone (java line: 428)
java.lang.RuntimeException: JSON Array expected.
at anywheresoftware.b4a.objects.collections.JSONParser.NextArray(JSONParser.java:62)
at b4a.example.main._jobdone(main.java:428)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at anywheresoftware.b4a.keywords.Common$11.run(Common.java:1164)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Few days earlier, I was able to parse the data but from yesterday this error message shows. I have formated the desktop and then reinstalled everything. But the problem remains.
Please Help me .....