java.lang.RuntimeException: Unable to start service com.rootsoft.standout.MostBasicWindow@411333d8 with Intent { act=SHOW cmp=com.rootsoft.standout/.MostBasicWindow (has extras) }: java.lang.ClassCastException: anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to anywheresoftware.b4a.objects.collections.Map

b4x.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java Question - RAF in library | B4X Community - Android, iOS, desktop, server and IoT programming tools

    b4x.com | 6 months ago
    java.lang.RuntimeException: Unable to start service com.rootsoft.standout.MostBasicWindow@411333d8 with Intent { act=SHOW cmp=com.rootsoft.standout/.MostBasicWindow (has extras) }: java.lang.ClassCastException: anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to anywheresoftware.b4a.objects.collections.Map

    Root Cause Analysis

    1. java.lang.ClassCastException

      anywheresoftware.b4a.objects.collections.Map$MyMap cannot be cast to anywheresoftware.b4a.objects.collections.Map at com.rootsoft.standout.MostBasicWindow.createAndAttachView(MostBasicWindow.java:67) -- this is readObject

      at com.rootsoft.standout.StandOutWindow$Window.<init>()
    2. com.rootsoft.standout
      StandOutWindow.onStartCommand
      1. com.rootsoft.standout.StandOutWindow$Window.<init>(StandOutWindow.java:2213)
      2. com.rootsoft.standout.StandOutWindow.show(StandOutWindow.java:1416)
      3. com.rootsoft.standout.StandOutWindow.onStartCommand(StandOutWindow.java:716)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2359)
      2. android.app.ActivityThread.access$1900(ActivityThread.java:123)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210)
      4. android.os.Handler.dispatchMessage(Handler.java:99)
      5. android.os.Looper.loop(Looper.java:137)
      6. android.app.ActivityThread.main(ActivityThread.java:4424)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame