org.apache.http.MalformedChunkCodingException: Chunked stream ended unexpectedly

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.
org.apache.http.MalformedChunkCodingException: Chunked stream ended unexpectedly
at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:227)
at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:188)
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:160)
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:164)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.loadMore(UTF8StreamJsonParser.java:180)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._skipWSOrEnd2(UTF8StreamJsonParser.java:2777)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._skipWSOrEnd(UTF8StreamJsonParser.java:2772)
at com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer$Vanilla.deserialize(UntypedObjectDeserializer.java:443)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringMap(MapDeserializer.java:473)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:330)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:25)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
at com.couchbase.lite.replicator.ChangeTracker.runLoop(ChangeTracker.java:368)
at com.couchbase.lite.replicator.ChangeTracker.run(ChangeTracker.java:231)
at java.lang.Thread.run(Thread.java:833)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
14 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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