I am having problems running a local build:
[INFO] Running org.apache.http.impl.conn.TestDefaultHttpResponseParser
[ERROR] Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed:
0.025 s <<< FAILURE! - in
org.apache.http.impl.conn.TestDefaultHttpResponseParser
[ERROR]
testResponseParsingWithTooMuchGarbage(org.apache.http.impl.conn.TestDefaultHttpResponseParser)
Time elapsed: 0.023 s <<< ERROR!
java.lang.Exception: Unexpected exception,
expected<org.apache.http.ProtocolException> but
was<java.lang.NoSuchMethodError>
at
org.apache.http.impl.conn.TestDefaultHttpResponseParser.testResponseParsingWithTooMuchGarbage(TestDefaultHttpResponseParser.java:93)
[ERROR]
testResponseParsingOnlyGarbage(org.apache.http.impl.conn.TestDefaultHttpResponseParser)
Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Unexpected exception,
expected<org.apache.http.ProtocolException> but
was<java.lang.NoSuchMethodError>
at
org.apache.http.impl.conn.TestDefaultHttpResponseParser.testResponseParsingOnlyGarbage(TestDefaultHttpResponseParser.java:112)
[ERROR]
testResponseParsingWithSomeGarbage(org.apache.http.impl.conn.TestDefaultHttpResponseParser)
Time elapsed: 0 s <<< ERROR!
java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer;
at
org.apache.http.impl.conn.TestDefaultHttpResponseParser.testResponseParsingWithSomeGarbage(TestDefaultHttpResponseParser.java:61)
I tried various combinations of Maven 3.0.5, 3.5.4 and Java 6, 7, and 8 to
no avail.
The above was with:
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
06:51:28-0700)
Maven home: C:\Java\apache-maven-3.0.5
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_80\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
Any clues?
Gary
On Thu, Jul 5, 2018 at 6:16 AM Oleg Kalnichevski <[email protected]> wrote:
> Please vote on releasing these packages as HttpClient 4.5.6.
> The vote is open for the at least 72 hours, and only votes from
> HttpComponents PMC members are binding. The vote passes if at least
> three binding +1 votes are cast and there are more +1 than -1 votes.
>
> Release notes:
>
> https://dist.apache.org/repos/dist/dev/httpcomponents/httpclient-4.5.6-RC1/RELEASE_NOTES-4.5.x.txt
>
> Maven artefacts:
>
> https://repository.apache.org/content/repositories/orgapachehttpcomponents-1079/org/apache/httpcomponents/
>
> Git Tag: 4.5.6-RC1
> https://github.com/apache/httpcomponents-client/tree/4.5.6-RC1
>
> Packages:
>
> https://dist.apache.org/repos/dist/dev/httpcomponents/httpclient-4.5.6-RC1
> revision 27923
>
> Hashes:
> 32eabb9142f10f58298f5db7f32d5e97 httpcomponents-client-4.5.6-bin.zip
> 436dc40ab008d20891d5fde8996e770b httpcomponents-client-4.5.6-src.tar.gz
> 406caf4c1333ff9696815374f3421996 httpcomponents-client-4.5.6-src.zip
> 8f485b3a108c7378c8f92888a228910f httpcomponents-client-4.5.6-osgi-bin.zip
> adbc4575f158a1393e1da3a545482394
> httpcomponents-client-4.5.6-osgi-bin.tar.gz
> 8fcb2e6233113f052dad98e5124f70a0 httpcomponents-client-4.5.6-bin.tar.gz
>
> Keys:
> http://www.apache.org/dist/httpcomponents/httpclient/KEYS
>
> --------------------------------------------------------------------------
> Vote: HttpClient 4.5.6 release
> [ ] +1 Release the packages as HttpClient 4.5.6.
> [ ] -1 I am against releasing the packages (must include a reason).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>