java.lang.ClassCastException: mono.android.runtime.JavaObject cannot be cast to java.util.Map

xamarin.com | 9 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

    BluetoothLeGatt Sample Issue — Xamarin Forums

    xamarin.com | 9 months ago
    java.lang.ClassCastException: mono.android.runtime.JavaObject cannot be cast to java.util.Map
  2. 0

    Menu Button Crash

    GitHub | 4 years ago | renclav
    java.lang.ClassCastException: com.android.internal.view.menu.ActionMenuView$LayoutParams cannot be cast to android.widget.FrameLayout$LayoutParams
  3. 0

    Creating a ListView with custom list items programmatically in Android - no xml list item layout

    Stack Overflow | 5 years ago
    java.lang.ClassCastException: android.view.ViewGroup$LayoutParams
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      mono.android.runtime.JavaObject cannot be cast to java.util.Map

      at android.widget.SimpleExpandableListAdapter.getGroupView()
    2. Android Platform
      LinearLayout.onMeasure
      1. android.widget.SimpleExpandableListAdapter.getGroupView(SimpleExpandableListAdapter.java:278)
      2. android.widget.ExpandableListConnector.getView(ExpandableListConnector.java:450)
      3. android.widget.AbsListView.obtainView(AbsListView.java:2627)
      4. android.widget.ListView.measureHeightOfChildren(ListView.java:1259)
      5. android.widget.ListView.onMeasure(ListView.java:1171)
      6. android.view.View.measure(View.java:16848)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5245)
      8. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1410)
      9. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
      10. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
      10 frames