OpenTreeMap / otm-android

An OpenTreeMap client for Android. The OpenTreeMap code can be downloaded at https://github.com/OpenTreeMap/otm-core.
Other
23 stars 22 forks source link

Crash on Tree Detail page related to Stewardship #223

Open maurizi opened 9 years ago

maurizi commented 9 years ago

From the Google Play console. Looks like it's from the Stewardship screen specifically.

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=Intent { (has extras) }} to activity {org.azavea.otm2.prod/org.azavea.otm.ui.TreeEditDisplay}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.removeAllViews()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3977)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4020)
at android.app.ActivityThread.access$1400(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.ViewGroup.removeAllViews()' on a null object reference
at org.azavea.otm.fields.UDFCollectionFieldGroup.rerenderEditFields(UDFCollectionFieldGroup.java:236)
at org.azavea.otm.fields.UDFCollectionFieldGroup.receiveActivityResult(UDFCollectionFieldGroup.java:130)
at org.azavea.otm.ui.TreeEditDisplay.onActivityResult(TreeEditDisplay.java:380)
at android.app.Activity.dispatchActivityResult(Activity.java:6475)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
... 10 more