You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2007/04/17 17:59:51 UTC

DO NOT REPLY [Bug 42149] New: - Receiving java.io.IOException: missing CR

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42149

           Summary: Receiving java.io.IOException: missing CR
           Product: JMeter
           Version: 2.2
          Platform: Other
               URL: http://67.30.1.3:8081/ippm/participants?alias=redd&name=
                    SEP001647FB44EB&mtg=E58AF489-2C0D-449A-A792-
                    6ABA9BCCF5A3&pg=0&refresh=1
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: fekwueme@cisco.com


I am entering the following HTTP request:

GET
http://67.30.1.3:8081/ippm/participants?alias=redd&mtg=E58AF489-2C0D-449A-A792-6ABA9BCC5FA3&name=SEP001647FB44EB&status=0

I am receiving:
java.io.IOException: missing CR at
sun.net.www.http.ChunkedInputStream.processRaw(ChunkedInputStream.java:378) at
sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:545)
at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:582) at
sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:669) at
java.io.FilterInputStream.read(FilterInputStream.java:111) at
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:2172)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254) at
java.io.BufferedInputStream.read(BufferedInputStream.java:313) at
java.io.FilterInputStream.read(FilterInputStream.java:90) at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:243)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:433)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at
java.lang.Thread.run(Thread.java:595)

Here is some data from the ethereal trace:

HTTP/1.1 200 OK Date: Mon, 16 Apr 2007 21:43:06 GMT Server: Apache/2.0.16 (Unix)
dbMySQL/2.00 DBL2/2.00 Cache-control: private Refresh: 30;
url=http://67.30.1.3:8081/ippm/participants?alias=redd&name=SEP001647FB44EB&mtg=E58AF489-2C0D-449A-A792-6ABA9BCC5FA3&pg=0&refresh=1
Connection: close Transfer-Encoding: chunked Content-Type: text/xml  3e   b15
Rosters    7   redd   QueryStringParam:contact=redd     3

It seems that there is 3e allocated for the first chunk, but the following chunk
is allocated b15 which cannot be handled. This raises the java.io.exception. It
seems that the chunk is too large.

Is there something that can be done for this situation?

Thank you,
Marietta Okoli

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42149] - Receiving java.io.IOException: missing CR

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42149





------- Additional Comments From fekwueme@cisco.com  2007-04-18 08:24 -------
I tried the HTTPClient and received the following error message:
java.io.IOException: CRLF expected at end of chunk: 98/51
	at
org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:206)
	at
org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:218)
	at
org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:175)
	at java.io.FilterInputStream.read(FilterInputStream.java:111)
	at
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107)
	at java.io.FilterInputStream.read(FilterInputStream.java:90)
	at
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:126)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HTTPSampler2.java:546)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:658)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:647)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
	at java.lang.Thread.run(Thread.java:595)



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42149] - Receiving java.io.IOException: missing CR

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42149





------- Additional Comments From sebb@apache.org  2007-04-17 11:00 -------
The stack trace appears to suggest that this is a Java HTTP problem - or a 
server problem - rather than a JMeter problem, but I could be wrong.

You could try using the HTTPClient HTTP sampler instead and see if that behaves 
better.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42149] - Receiving java.io.IOException: missing CR

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42149


fekwueme@cisco.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From fekwueme@cisco.com  2007-04-19 16:04 -------
I gave it a try on a couple of browsers and recieved an XML parse error. Thus it
is a server error. Got the fix on the server and things are working great now.
Thanks for your help.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42149] - Receiving java.io.IOException: missing CR

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42149


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From sebb@apache.org  2007-04-18 08:35 -------
This also suggests that the problem may be in the server/web application.

Does it work OK with various browsers?



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org