java.lang.RuntimeException

Unable to start service com.nextgis.maplibui.service.WalkEditService@423ab790 with Intent { act=com.nextgis.maplibui.WALKEDIT_START cmp=com.nextgis.forestinspector/com.nextgis.maplibui.service.WalkEditService (has extras) }: java.lang.ClassCastException: java.lang.Integer cannot be cast to com.nextgis.maplib.datasource.GeoGeometry

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • java.lang.RuntimeException: Unable to start service com.nextgis.maplibui.service.WalkEditService@423ab790 with Intent { act=com.nextgis.maplibui.WALKEDIT_START cmp=com.nextgis.forestinspector/com.nextgis.maplibui.service.WalkEditService (has extras) }: java.lang.ClassCastException: java.lang.Integer cannot be cast to com.nextgis.maplib.datasource.GeoGeometry at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2906) at android.app.ActivityThread.access$2200(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1377) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5487) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to com.nextgis.maplib.datasource.GeoGeometry at com.nextgis.maplibui.service.WalkEditService.onStartCommand(WalkEditService.java:114) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2889) ... 10 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.