This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: java.io.IOException: chunked stream ended unexpectedly (htmlUnit)
 
Similar Threads
ADF MyFaces and HttpUnit testing
java.io.IOException: chunked stream ended unexpectedly
java.io.IOException: chunked stream ended unexpectedly
cannot get https page details
java.io.IOException: chunked stream ended unexpectedly. htmlUnit exception