You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2025/07/24 13:54:00 UTC
[jira] [Commented] (CAMEL-22271) Olingo4AppAPITest.testReadUnparsedEntity is failing with Premature end of Content-Length delimited message body
[ https://issues.apache.org/jira/browse/CAMEL-22271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009586#comment-18009586 ]
Aurélien Pupier commented on CAMEL-22271:
-----------------------------------------
The problem is related to the upgrade of Jackson from 2.19.1 to 2.19.2
Test is passing if i revert https://github.com/apache/camel/commit/b7dd8d793f9afe315e8d89d2e8f7bcd2a97b4fc4
> Olingo4AppAPITest.testReadUnparsedEntity is failing with Premature end of Content-Length delimited message body
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-22271
> URL: https://issues.apache.org/jira/browse/CAMEL-22271
> Project: Camel
> Issue Type: Test
> Components: camel-olingo4
> Affects Versions: 4.14.0
> Reporter: Aurélien Pupier
> Priority: Major
>
> it has failed 6 times in a row
> {noformat}
> org.apache.olingo.client.api.serialization.ODataDeserializerException: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 218; received: 0)
> at org.apache.olingo.client.core.serialization.JsonDeserializer.toEntity(JsonDeserializer.java:429)
> at org.apache.olingo.client.core.serialization.ClientODataDeserializerImpl.toEntity(ClientODataDeserializerImpl.java:96)
> at org.apache.olingo.client.core.serialization.ODataReaderImpl.readEntity(ODataReaderImpl.java:170)
> at org.apache.camel.component.olingo4.Olingo4AppAPITest.testReadUnparsedEntity(Olingo4AppAPITest.java:250)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
> Caused by: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 218; received: 0)
> at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:178)
> at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
> at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.ensureLoaded(ByteSourceJsonBootstrapper.java:547)
> at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.detectEncoding(ByteSourceJsonBootstrapper.java:137)
> at com.fasterxml.jackson.core.json.ByteSourceJsonBootstrapper.constructParser(ByteSourceJsonBootstrapper.java:266)
> at com.fasterxml.jackson.core.JsonFactory._createParser(JsonFactory.java:1874)
> at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:1273)
> at org.apache.olingo.client.core.serialization.JsonDeserializer.toEntity(JsonDeserializer.java:426)
> ... 6 more
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)