java.lang.NullPointerException: Attempt to invoke virtual method 'boolean net.osmand.osm.PoiType.isNotEditableOsm()' on a null object reference

GitHub | Boothy99 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 2831#234687415

    GitHub | 7 months ago | Boothy99
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean net.osmand.osm.PoiType.isNotEditableOsm()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'boolean net.osmand.osm.PoiType.isNotEditableOsm()' on a null object reference

      at net.osmand.plus.osmedit.OsmEditingPlugin.registerMapContextMenuActions()
    2. net.osmand.plus
      MapContextMenuFragment$11.onClick
      1. net.osmand.plus.osmedit.OsmEditingPlugin.registerMapContextMenuActions(OsmEditingPlugin.java:204)
      2. net.osmand.plus.OsmandPlugin.registerMapContextMenu(OsmandPlugin.java:386)
      3. net.osmand.plus.activities.MapActivityActions.contextMenuPoint(MapActivityActions.java:284)
      4. net.osmand.plus.mapcontextmenu.MapContextMenu.buttonMorePressed(MapContextMenu.java:582)
      5. net.osmand.plus.mapcontextmenu.MapContextMenuFragment$11.onClick(MapContextMenuFragment.java:442)
      5 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4785)
      2. android.view.View$PerformClick.run(View.java:19858)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:155)
      6. android.app.ActivityThread.main(ActivityThread.java:5696)
      6 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:1028)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
      2 frames