Crash vue détail sur Anémone de Duchassain
"APP_VERSION_CODE": 67, "APP_VERSION_NAME": "4.6"
dans la version 4.6, si l'on affiche les détails de l'anémone de Duchassain
on a un crash avec l'exception suivante:
java.lang.RuntimeException: Unable to resume activity {fr.ffessm.doris.android/fr.ffessm.doris.android.activities.DetailsFiche_ElementViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void fr.ffessm.doris.android.datamodel.Participant.setContextDB(fr.ffessm.doris.android.datamodel.DorisDBHelper)' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4290)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4330)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2123)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:7470)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void fr.ffessm.doris.android.datamodel.Participant.setContextDB(fr.ffessm.doris.android.datamodel.DorisDBHelper)' on a null object reference
at fr.ffessm.doris.android.activities.DetailsFiche_ElementViewActivity.refreshScreenData(DetailsFiche_ElementViewActivity.java:386)
at fr.ffessm.doris.android.activities.DetailsFiche_ElementViewActivity.onResume(DetailsFiche_ElementViewActivity.java:207)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1456)
at android.app.Activity.performResume(Activity.java:7592)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4272)[ACRA-report-2019-06-06-pp.stacktrace](/uploads/f451fd2ab30c39bdcf699252a8485913/ACRA-report-2019-06-06-pp.stacktrace)
Edited by Vojtisek Didier