Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by BishopGIS
, 1 year ago
com.nextgis.maplib.datasource.GeometryRTree$Node cannot be cast to com.nextgis.maplib.datasource.GeometryRTree$Entry
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(GeometryRTree.java:288)	at com.nextgis.maplib.datasource.GeometryRTree.search(GeometryRTree.java:301)	at com.nextgis.maplib.datasource.GeometryRTree.search(GeometryRTree.java:257)	at com.nextgis.maplib.map.VectorLayer.checkPointOverlaps(VectorLayer.java:641)	at com.nextgis.maplib.map.VectorLayer.prepareGeometry(VectorLayer.java:657)	at com.nextgis.maplib.map.VectorLayer.insertInternal(VectorLayer.java:1302)	at com.nextgis.maplib.map.NGWVectorLayer.insertInternal(NGWVectorLayer.java:283)	at com.nextgis.maplib.map.VectorLayer.insert(VectorLayer.java:1294)	at com.nextgis.maplib.map.VectorLayer.insert(VectorLayer.java:1398)	at com.nextgis.maplib.datasource.LayerContentProvider.insert(LayerContentProvider.java:167)	at android.content.ContentProvider$Transport.insert(ContentProvider.java:267)	at android.content.ContentResolver.insert(ContentResolver.java:1234)	at com.nextgis.maplibui.activity.ModifyAttributesActivity.saveFeature(ModifyAttributesActivity.java:566)	at com.nextgis.maplibui.activity.FormBuilderModifyAttributesActivity.saveFeature(FormBuilderModifyAttributesActivity.java:312)	at com.nextgis.maplibui.activity.ModifyAttributesActivity.onOptionsItemSelected(ModifyAttributesActivity.java:485)	at android.app.Activity.onMenuItemSelected(Activity.java:2948)	at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)	at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)	at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)	at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)	at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)	at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)	at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)	at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)	at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)	at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:155)	at android.view.View.performClick(View.java:5213)	at android.view.View$PerformClick.run(View.java:21174)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5498)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)