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/12/12 20:20:00 UTC

[jira] [Closed] (CAMEL-22767) Fix issue related to failing test Olingo4AppAPITest.testReadUnparsedEntitySet

     [ https://issues.apache.org/jira/browse/CAMEL-22767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aurélien Pupier closed CAMEL-22767.
-----------------------------------
    Resolution: Duplicate

> Fix issue related to failing test Olingo4AppAPITest.testReadUnparsedEntitySet
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-22767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22767
>             Project: Camel
>          Issue Type: Test
>          Components: camel-olingo4
>            Reporter: Aurélien Pupier
>            Priority: Minor
>
> the test has failed 6 times in a row on all jdks version:
> {noformat}
> org.apache.olingo.client.api.serialization.ODataDeserializerException: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 7,105; received: 0)
> 	at org.apache.olingo.client.core.serialization.JsonDeserializer.toEntitySet(JsonDeserializer.java:419)
> 	at org.apache.olingo.client.core.serialization.ClientODataDeserializerImpl.toEntitySet(ClientODataDeserializerImpl.java:91)
> 	at org.apache.olingo.client.core.serialization.ODataReaderImpl.readEntitySet(ODataReaderImpl.java:164)
> 	at org.apache.camel.component.olingo4.Olingo4AppAPITest.testReadUnparsedEntitySet(Olingo4AppAPITest.java:213)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> Caused by: org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 7,105; 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.toEntitySet(JsonDeserializer.java:416)
> 	... 6 more
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)