android - volley status code 200 is considered as error response in 5.0.2 -
i have been using volley in app. have tested app in version 5.0.2 device throws exception like..
05-15 14:56:02.374: e/volley(23574): [18922] basicnetwork.performrequest: unexpected response code 200 http://sample_url.com (sample url) 05-15 14:56:02.380: e/androidruntime(23574): fatal exception: thread-18922 05-15 14:56:02.380: e/androidruntime(23574): process: com.example.jadoofy_android, pid: 23574 05-15 14:56:02.380: e/androidruntime(23574): java.lang.nullpointerexception: attempt read field 'int com.android.volley.networkresponse.statuscode' on null object reference 05-15 14:56:02.380: e/androidruntime(23574): @ com.android.jadhoofy.backend_tracker_volley.backendhelper_volley$3.parsenetworkerror(backendhelper_volley.java:480) 05-15 14:56:02.380: e/androidruntime(23574): @ com.android.volley.networkdispatcher.parseanddelivernetworkerror(networkdispatcher.java:149) 05-15 14:56:02.380: e/androidruntime(23574): @ com.android.volley.networkdispatcher.run(networkdispatcher.java:138)
response code 200 considered error response. works fine in other versions
Comments
Post a Comment