java.lang.NullPointerException: Attempt to invoke virtual method 'long com.nextgis.maplib.datasource.Feature.getId()' on a null object reference

GitHub | BishopGIS | 3 months ago
  1. 0

    Crash while selecting feature

    GitHub | 3 months ago | BishopGIS
    java.lang.NullPointerException: Attempt to invoke virtual method 'long com.nextgis.maplib.datasource.Feature.getId()' on a null object reference
  2. 0

    How to setAlarmManager at Dialog fragment in android

    Stack Overflow | 6 months ago | opu
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.AlarmManager.setRepeating(int, long, long, android.app.PendingIntent)' on a null object reference
  3. 0

    GitHub comment 9#72351962

    GitHub | 2 years ago | repat
    java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android - CodeSend.com

    codesend.com | 1 year ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'long android.database.sqlite.SQLiteDatabase.insert(java.lang.String, java.lang.String, android.content.ContentValues)' on a null object reference
  6. 0

    Attempt to invoke interface method 'void android.bluetooth.IBluetoothPan.setBluetoothTethering(boolean)' on a null object reference | java - android - nullpointerexception - bluetooth - tethering

    solutionscore.com | 1 year ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.Calendar.setTimeInMillis(long)' on a null object reference**

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'long com.nextgis.maplib.datasource.Feature.getId()' on a null object reference

      at com.nextgis.maplibui.overlay.EditLayerOverlay.selectGeometryInScreenCoordinates()
    2. com.nextgis.maplibui
      EditLayerOverlay.selectGeometryInScreenCoordinates
      1. com.nextgis.maplibui.overlay.EditLayerOverlay.selectGeometryInScreenCoordinates(EditLayerOverlay.java:1199)
      1 frame
    3. com.nextgis.mobile
      MapFragment.onSingleTapUp
      1. com.nextgis.mobile.fragment.MapFragment.onSingleTapUp(MapFragment.java:1531)
      1 frame
    4. com.nextgis.maplibui
      MapView.onSingleTapUp
      1. com.nextgis.maplibui.mapui.MapView.onSingleTapUp(MapView.java:479)
      1 frame
    5. Android Platform
      GestureDetector.onTouchEvent
      1. android.view.GestureDetector.onTouchEvent(GestureDetector.java:635)
      1 frame
    6. com.nextgis.maplibui
      MapView.onTouchEvent
      1. com.nextgis.maplibui.mapui.MapView.onTouchEvent(MapView.java:329)
      1 frame
    7. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:9310)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2554)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2255)
      17 frames
    8. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2458)
      2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1748)
      2 frames
    9. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2805)
      1 frame
    10. Android Support v4
      BaseFragmentActivityDonut.dispatchTouchEvent
      1. android.support.v4.app.BaseFragmentActivityDonut.dispatchTouchEvent(BaseFragmentActivityDonut.java)
      1 frame
    11. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
      2. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
      2 frames
    12. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2419)
      1 frame
    13. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:9530)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3787)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3844)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3661)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3669)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5922)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5896)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5857)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6025)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.os.MessageQueue.nativePollOnce(Native Method)
      21. android.os.MessageQueue.next(MessageQueue.java:323)
      22. android.os.Looper.loop(Looper.java:135)
      23. android.app.ActivityThread.main(ActivityThread.java:5498)
      23 frames
    14. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    15. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames