This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes java.io.IOException: chunked stream ended unexpectedly (htmlUnit) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "java.io.IOException: chunked stream ended unexpectedly (htmlUnit)" Watch "java.io.IOException: chunked stream ended unexpectedly (htmlUnit)" New topic
Author

java.io.IOException: chunked stream ended unexpectedly (htmlUnit)

Kameshwar Prasad
Greenhorn

Joined: Dec 04, 2007
Posts: 12
hi friends,
i am facing a hard problem and i need your help, please help me.

Thanks in advance.

i am using htmlunit to submit a webpage.
A form having some textfield, some combo boxs and one check box, after filling all these field i submit then i get exception, but this alway not occur at one place it may also occur when a new registration form is submitted.


Chris Janicki
Greenhorn

Joined: Aug 30, 2006
Posts: 21

Sounds like the web server is not sending the expected amount of data before the connection closed.

It might just be that the server is busy and decided to abandon you? Can you catch the exception and retry?

If occurs every time for a set of data, then you'll have to figure out which field is causing the server to panic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.io.IOException: chunked stream ended unexpectedly (htmlUnit)
 
Similar Threads
cannot get https page details
java.io.IOException: chunked stream ended unexpectedly
java.io.IOException: chunked stream ended unexpectedly. htmlUnit exception
ADF MyFaces and HttpUnit testing
java.io.IOException: chunked stream ended unexpectedly