java.lang.RuntimeException: Unable to pause activity {com.nextgis.forestinspector/com.nextgis.forestinspector.activity.IndictmentCreatorActivity}: java.lang.NullPointerException

GitHub | BishopGIS | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Падение при редактировании

    GitHub | 9 months ago | BishopGIS
    java.lang.RuntimeException: Unable to pause activity {com.nextgis.forestinspector/com.nextgis.forestinspector.activity.IndictmentCreatorActivity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.nextgis.maplib.datasource.GeoEnvelope.getMinX()
    2. com.nextgis.maplib
      GeoEnvelope.getMinX
      1. com.nextgis.maplib.datasource.GeoEnvelope.getMinX(GeoEnvelope.java:288)
      1 frame
    3. com.nextgis.forestinspector
      DocumentCreatorActivity.onPause
      1. com.nextgis.forestinspector.activity.DocumentCreatorActivity.setRegionFieldValue(DocumentCreatorActivity.java:427)
      2. com.nextgis.forestinspector.activity.DocumentCreatorActivity.saveControlsToFeature(DocumentCreatorActivity.java:283)
      3. com.nextgis.forestinspector.activity.IndictmentCreatorActivity.saveControlsToFeature(IndictmentCreatorActivity.java:212)
      4. com.nextgis.forestinspector.activity.DocumentCreatorActivity.saveTempEditFeature(DocumentCreatorActivity.java:451)
      5. com.nextgis.forestinspector.activity.DocumentCreatorActivity.onPause(DocumentCreatorActivity.java:221)
      5 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performPause(Activity.java:5555)
      2. android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1239)
      3. android.app.ActivityThread.performPauseActivity(ActivityThread.java:3263)
      4. android.app.ActivityThread.performPauseActivity(ActivityThread.java:3232)
      5. android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3210)
      6. android.app.ActivityThread.access$1100(ActivityThread.java:169)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1291)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:146)
      10. android.app.ActivityThread.main(ActivityThread.java:5487)
      10 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame