aspose file tools*
The moose likes Java in General and the fly likes java.io.IOException: chunked stream ended unexpectedly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

java.io.IOException: chunked stream ended unexpectedly

sridhar vedhanabatla
Greenhorn

Joined: Feb 21, 2007
Posts: 12
hi,

I am using apache HttpClient. When the url has - char and get navigation is made, then the HttpClient is throwing IOException


java.io.IOException: chunked stream ended unexpectedly
at org.apache.commons.httpclient.ChunkedInputStream.getChunkSizeFromInputStream(ChunkedInputStream.java:251)
at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:220)
at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:175)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:126)
at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase.java:685)
at com.web.MyBrowser.get(MyBrowser.java:95)



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


Thanks,
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42285
    
  64
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.IOException: chunked stream ended unexpectedly