java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l

GitHub | mightyfrog | 6 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

    ClassCastException

    GitHub | 6 months ago | mightyfrog
    java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l

      at com.koushikdutta.async.http.Headers.toStringBuilder()
    2. AndroidAsync
      AsyncHttpResponseImpl.toString
      1. com.koushikdutta.async.http.Headers.toStringBuilder(SourceFile:114)
      2. com.koushikdutta.async.http.Headers.toPrefixString(SourceFile:133)
      3. com.koushikdutta.async.http.AsyncHttpResponseImpl.toString(SourceFile:167)
      3 frames
    3. Java RT
      StringBuilder.append
      1. java.lang.StringBuilder.append(StringBuilder.java:202)
      1 frame
    4. AndroidAsync
      AsyncServer$13.run
      1. com.koushikdutta.async.Util.emitAllData(SourceFile:49)
      2. com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:56)
      3. com.koushikdutta.async.Util.emitAllData(SourceFile:23)
      4. com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:56)
      5. com.koushikdutta.async.http.cache.ResponseCacheMiddleware$CachedBodyEmitter.sendCachedDataOnNetworkThread(SourceFile:460)
      6. com.koushikdutta.async.http.cache.ResponseCacheMiddleware$CachedBodyEmitter$1.run(SourceFile:428)
      7. com.koushikdutta.async.AsyncServer.lockAndRunQueue(SourceFile:709)
      8. com.koushikdutta.async.AsyncServer.runLoop(SourceFile:723)
      9. com.koushikdutta.async.AsyncServer.run(SourceFile:5627)
      10. com.koushikdutta.async.AsyncServer$13.run(SourceFile:569)
      10 frames