hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiannan Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1618) EntityUtils toByteArray EOFException
Date Fri, 18 Sep 2015 09:47:04 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14805321#comment-14805321
] 

Qiannan Lu commented on HTTPCLIENT-1618:
----------------------------------------

Have you resolved this problem?

> EntityUtils toByteArray EOFException
> ------------------------------------
>
>                 Key: HTTPCLIENT-1618
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1618
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.5, 4.3.6, 4.4 Final
>         Environment: jdk1.7
>            Reporter: guor
>
> when I visit website below `http://club.kdnet.net`, such as `http://club.kdnet.net/dispbbs.asp?id=10731573&boardid=1`,
I got java.io.EOFException, the full exception stack as below:
> Exception in thread "main" java.io.EOFException
> 	at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:264)
> 	at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:254)
> 	at java.util.zip.GZIPInputStream.readUInt(GZIPInputStream.java:246)
> 	at java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:218)
> 	at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:118)
> 	at java.io.FilterInputStream.read(FilterInputStream.java:107)
> 	at org.apache.http.client.entity.LazyDecompressingInputStream.read(LazyDecompressingInputStream.java:67)
> 	at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:136)
> 	at demo.Test.main(Test.java:19)
> This happens at httpclient4.3.5/httpclient4.3.6/httpclient4.4, but It's OK in commons-httpclient3.1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message