File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes chunked stream ended unexpectedly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark " chunked stream ended unexpectedly" Watch " chunked stream ended unexpectedly" New topic
Author chunked stream ended unexpectedly

sridhar vedhanabatla

Joined: Feb 21, 2007
Posts: 12

I am using apache HttpClient. When the url has - char and get navigation is made, then the HttpClient is throwing IOException chunked stream ended unexpectedly
at org.apache.commons.httpclient.ChunkedInputStream.getChunkSizeFromInputStream(
at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(
at Source)
at Source)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(
at com.web.MyBrowser.get(

Please let me know if I have to change nay encoding or settings.

I agree. Here's the link:
subject: chunked stream ended unexpectedly
It's not a secret anymore!