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

GitHub | BishopGIS | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Падение при вводе геометрии обходом

    GitHub | 8 months ago | BishopGIS
    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

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to com.nextgis.maplib.datasource.GeoGeometry

      at com.nextgis.maplibui.service.WalkEditService.onStartCommand()
    2. com.nextgis.maplibui
      WalkEditService.onStartCommand
      1. com.nextgis.maplibui.service.WalkEditService.onStartCommand(WalkEditService.java:114)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2889)
      2. android.app.ActivityThread.access$2200(ActivityThread.java:169)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1377)
      4. android.os.Handler.dispatchMessage(Handler.java:102)
      5. android.os.Looper.loop(Looper.java:146)
      6. android.app.ActivityThread.main(ActivityThread.java:5487)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame