Android Question [Resolved]java.lang.RuntimeException: JSON Object expected.

Douglas Farias

Expert
Licensed User
Longtime User
why sometimes i have this error?

sometimes work sometime give me this error why this?

here is a image

and how to solve this?
 

Attachments

  • Sem título.png
    165.1 KB · Views: 317

Douglas Farias

Expert
Licensed User
Longtime User
i forgot the log
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
realy i need use user photo to return in json or any data value of face api thx
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
yes with the picture return in map and work i m not using maps i think is for this
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
aaaaaaaa i forgot to initializate my map *-* i see this in release mode now ty solved

B4X:
    Dim Root2 As Map
    Root2.Initialize
    Private jParser2 As JSONParser
    jParser2.Initialize(JSONText2)
    Try
    Root2 = jParser2.NextObject
    Catch
    fb.Login
    End Try
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…