[Solved] java.lang.NullPointerException occuring, developing android, how do I fix that? [duplicate]

[ad_1]

this means that the JSONObject json == null. You can check this in code before calling methods on the JSONObject. I guess you dont actually get data when you call the httprequest.

2

[ad_2]

solved java.lang.NullPointerException occuring, developing android, how do I fix that? [duplicate]