This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39530
    
  27
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.IOException: chunked stream ended unexpectedly
 
Similar Threads
java.io.IOException: chunked stream ended unexpectedly
SCEA part 3 results
java.io.IOException: chunked stream ended unexpectedly (htmlUnit)
java.io.IOException: chunked stream ended unexpectedly. htmlUnit exception
Axis Client Web Service call problem: java.io.IOException: Stream closed