java.lang.ClassCastException: com.cocosw.bottomsheet.SimpleSectionedGridAdapter$Section cannot be cast to android.view.MenuItem

GitHub | hasan5151 | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassCastException

    GitHub | 5 months ago | hasan5151
    java.lang.ClassCastException: com.cocosw.bottomsheet.SimpleSectionedGridAdapter$Section cannot be cast to android.view.MenuItem

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.cocosw.bottomsheet.SimpleSectionedGridAdapter$Section cannot be cast to android.view.MenuItem

      at com.cocosw.bottomsheet.BottomSheet$4.onItemClick()
    2. com.cocosw.bottomsheet
      BottomSheet$4.onItemClick
      1. com.cocosw.bottomsheet.BottomSheet$4.onItemClick(BottomSheet.java:322)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.widget.AdapterView.performItemClick(AdapterView.java:308)
      2. android.widget.AbsListView.performItemClick(AbsListView.java:1510)
      3. android.widget.AbsListView$PerformClick.run(AbsListView.java:3472)
      4. android.widget.AbsListView$3.run(AbsListView.java:4835)
      5. android.os.Handler.handleCallback(Handler.java:733)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:146)
      8. android.app.ActivityThread.main(ActivityThread.java:5511)
      8 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      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(NativeStart.java)
      1 frame