java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.Collection

Stack Overflow | Suborno Dey | 10 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

    java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.Collection

    Stack Overflow | 10 months ago | Suborno Dey
    java.lang.ClassCastException: java.util.HashMap cannot be cast to java.util.Collection

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashMap cannot be cast to java.util.Collection

      at com.sextech.noui.ListViewAdapter.filter()
    2. com.sextech.noui
      MainActivity$DownloadJSON$1.afterTextChanged
      1. com.sextech.noui.ListViewAdapter.filter(ListViewAdapter.java:154)
      2. com.sextech.noui.MainActivity$DownloadJSON$1.afterTextChanged(MainActivity.java:230)
      2 frames
    3. Android Platform
      BaseInputConnection.setComposingText
      1. android.widget.TextView.sendAfterTextChanged(TextView.java:7822)
      2. android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:9635)
      3. android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:976)
      4. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:520)
      5. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:454)
      6. android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:33)
      7. android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:690)
      8. android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:450)
      8 frames
    4. Android
      IInputConnectionWrapper$MyHandler.handleMessage
      1. com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:349)
      2. com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:82)
      2 frames
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:135)
      3. android.app.ActivityThread.main(ActivityThread.java:5593)
      3 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames