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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by mightyfrog
, 1 year ago
java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l
via GitHub by zhulijun
, 2 years ago
java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.util.TaggedList
via GitHub by paopao-yu
, 2 months ago
java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.util.TaggedList
java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to com.koushikdutta.async.e.l
at com.koushikdutta.async.http.Headers.toStringBuilder(SourceFile:114)
at com.koushikdutta.async.http.Headers.toPrefixString(SourceFile:133)
at java.lang.StringBuilder.append(StringBuilder.java:202)
at com.koushikdutta.async.Util.emitAllData(SourceFile:49)
at com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:56)
at com.koushikdutta.async.Util.emitAllData(SourceFile:23)
at com.koushikdutta.async.FilteredDataEmitter.onDataAvailable(SourceFile:56)
at com.koushikdutta.async.http.cache.ResponseCacheMiddleware$CachedBodyEmitter.sendCachedDataOnNetworkThread(SourceFile:460)
at com.koushikdutta.async.http.cache.ResponseCacheMiddleware$CachedBodyEmitter$1.run(SourceFile:428)
at com.koushikdutta.async.AsyncServer.lockAndRunQueue(SourceFile:709)
at com.koushikdutta.async.AsyncServer.runLoop(SourceFile:723)
at com.koushikdutta.async.AsyncServer.run(SourceFile:5627)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.