A bug happens!
When the system tries to get an integer when the JSON object doesn't exist
Version
6.7.x (Production)
Where are you seeing the problem on?
Android
Relevant log output
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int org.json.JSONObject.getInt(java.lang.String)' on a null object reference
at com.stonefacesoft.ottaa.utils.JSONutils.getId(JSONutils.java:335)
at com.stonefacesoft.ottaa.JSONutils.Json.getId(Json.java:758)
at com.stonefacesoft.ottaa.Viewpagers.viewpager_galeria_pictos.finishApp(viewpager_galeria_pictos.java:193)
at com.stonefacesoft.ottaa.Viewpagers.viewpager_galeria_pictos.OnClickItem(viewpager_galeria_pictos.java:182)
at com.stonefacesoft.ottaa.GaleriaPictos3.onClick(GaleriaPictos3.java:322)
at android.view.View.performClick(View.java:7575)
at android.view.View.performClickInternal(View.java:7548)
at android.view.View.access$3600(View.java:837)
at android.view.View$PerformClick.run(View.java:28892)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:236)
at android.app.ActivityThread.main(ActivityThread.java:8025)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Contact Details
gonojuarez17@gmail.com
What happened?
A bug happens! When the system tries to get an integer when the JSON object doesn't exist
Version
6.7.x (Production)
Where are you seeing the problem on?
Android
Relevant log output
Code of Conduct