java.lang.RuntimeException: Unable to resume activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.showFeature(long)' on a null object reference

GitHub | BishopGIS | 5 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

    Crash on resume

    GitHub | 5 months ago | BishopGIS
    java.lang.RuntimeException: Unable to resume activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.showFeature(long)' on a null object reference
  2. 0

    GitHub comment 362#217428173

    GitHub | 10 months ago | BishopGIS
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.showFeature(long)' on a null object reference
  3. 0

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

    GitHub | 8 months ago | BishopGIS
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.showFeature(long)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.showFeature(long)' on a null object reference

      at com.nextgis.mobile.fragment.MapFragment.onActivityResult()
    2. com.nextgis.mobile
      MainActivity.onActivityResult
      1. com.nextgis.mobile.fragment.MapFragment.onActivityResult(MapFragment.java:289)
      2. com.nextgis.mobile.activity.MainActivity.onActivityResult(MainActivity.java:430)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:6294)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:3835)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3221)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3270)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2613)
      6. android.app.ActivityThread.access$800(ActivityThread.java:178)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
      8. android.os.Handler.dispatchMessage(Handler.java:111)
      9. android.os.Looper.loop(Looper.java:194)
      10. android.app.ActivityThread.main(ActivityThread.java:5637)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
      2 frames