java.lang.ClassCastException: com.nextgis.maplib.datasource.GeometryRTree$Node cannot be cast to com.nextgis.maplib.datasource.GeometryRTree$Entry

GitHub | BishopGIS | 3 months ago
  1. 0

    Insert point failed

    GitHub | 3 months ago | BishopGIS
    java.lang.ClassCastException: com.nextgis.maplib.datasource.GeometryRTree$Node cannot be cast to com.nextgis.maplib.datasource.GeometryRTree$Entry
  2. 0

    How can I create an array of items whose entries have generic fields?

    Stack Overflow | 1 year ago | paulpaul1076
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [LFoo$Entry;
  3. 0

    ClassCastException when run against a Leiningen plugin

    GitHub | 5 years ago | kumarshantanu
    java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry (NO_SOURCE_FILE:0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dodgy URL params cause class cast exception from nested-params

    GitHub | 3 years ago | jaley
    java.lang.ClassCastException: java.lang.Character cannot be cast to java.util.Map$Entry

    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.ClassCastException

      com.nextgis.maplib.datasource.GeometryRTree$Node cannot be cast to com.nextgis.maplib.datasource.GeometryRTree$Entry

      at com.nextgis.maplib.datasource.GeometryRTree.search()
    2. com.nextgis.maplib
      LayerContentProvider.insert
      1. com.nextgis.maplib.datasource.GeometryRTree.search(GeometryRTree.java:288)
      2. com.nextgis.maplib.datasource.GeometryRTree.search(GeometryRTree.java:301)
      3. com.nextgis.maplib.datasource.GeometryRTree.search(GeometryRTree.java:257)
      4. com.nextgis.maplib.map.VectorLayer.checkPointOverlaps(VectorLayer.java:641)
      5. com.nextgis.maplib.map.VectorLayer.prepareGeometry(VectorLayer.java:657)
      6. com.nextgis.maplib.map.VectorLayer.insertInternal(VectorLayer.java:1302)
      7. com.nextgis.maplib.map.NGWVectorLayer.insertInternal(NGWVectorLayer.java:283)
      8. com.nextgis.maplib.map.VectorLayer.insert(VectorLayer.java:1294)
      9. com.nextgis.maplib.map.VectorLayer.insert(VectorLayer.java:1398)
      10. com.nextgis.maplib.datasource.LayerContentProvider.insert(LayerContentProvider.java:167)
      10 frames
    3. Android Platform
      ContentResolver.insert
      1. android.content.ContentProvider$Transport.insert(ContentProvider.java:267)
      2. android.content.ContentResolver.insert(ContentResolver.java:1234)
      2 frames
    4. com.nextgis.maplibui
      ModifyAttributesActivity.onOptionsItemSelected
      1. com.nextgis.maplibui.activity.ModifyAttributesActivity.saveFeature(ModifyAttributesActivity.java:566)
      2. com.nextgis.maplibui.activity.FormBuilderModifyAttributesActivity.saveFeature(FormBuilderModifyAttributesActivity.java:312)
      3. com.nextgis.maplibui.activity.ModifyAttributesActivity.onOptionsItemSelected(ModifyAttributesActivity.java:485)
      3 frames
    5. Android Platform
      Activity.onMenuItemSelected
      1. android.app.Activity.onMenuItemSelected(Activity.java:2948)
      1 frame
    6. Android Support v4
      FragmentActivity.onMenuItemSelected
      1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)
      1 frame
    7. Android v7
      ActionMenuView$MenuBuilderCallback.onMenuItemSelected
      1. android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)
      2. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
      3. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
      4. android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
      5. android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)
      6. android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)
      6 frames
    8. android.support.v7
      MenuBuilder.performItemAction
      1. android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)
      2. android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
      3. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)
      4. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)
      4 frames
    9. Android v7
      ActionMenuView.invokeItem
      1. android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)
      1 frame
    10. android.support.v7
      ActionMenuItemView.onClick
      1. android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:155)
      1 frame
    11. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5213)
      2. android.view.View$PerformClick.run(View.java:21174)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:148)
      6. android.app.ActivityThread.main(ActivityThread.java:5498)
      6 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    13. 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