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

org.json.JSONException: Could not find key: tree.species on plot/tree object #312

Open RobinIsTheBird opened 7 years ago

RobinIsTheBird commented 7 years ago

View details in Rollbar: https://rollbar.com/Azavea/OpenTreeMap/items/158/


org.json.JSONException: No value for tree
  org.json.JSONObject.get (JSONObject.java:389)
  org.json.JSONObject.getJSONObject (JSONObject.java:609)
  org.azavea.otm.data.Model.getValueForKey (Model.java:93)
  org.azavea.otm.data.Model.getValueForKey (Model.java:54)
  org.azavea.otm.fields.ButtonField.renderForEdit (ButtonField.java:45)
  org.azavea.otm.fields.FieldGroup.render (FieldGroup.java:92)
  org.azavea.otm.fields.FieldGroup.renderForEdit (FieldGroup.java:124)
  org.azavea.otm.ui.TreeEditDisplay.initializeEditPage (TreeEditDisplay.java:152)
  org.azavea.otm.ui.TreeEditDisplay.onCreate (TreeEditDisplay.java:106)
  android.app.Activity.performCreate (Activity.java:6942)
  android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1126)
  android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2880)
  android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2988)
  android.app.ActivityThread.-wrap14 (Unknown source)
  android.app.ActivityThread$H.handleMessage (ActivityThread.java:1631)
  android.os.Handler.dispatchMessage (Handler.java:102)
  android.os.Looper.loop (Looper.java:154)
  android.app.ActivityThread.main (ActivityThread.java:6682)
  java.lang.reflect.Method.invoke (Unknown source)
  com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
  com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)