[JBoss JIRA] (IPROTO-38) ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-38?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated IPROTO-38:
--------------------------------
Fix Version/s: 4.1.3.Final
> ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
> -------------------------------------------------------------------------------------------
>
> Key: IPROTO-38
> URL: https://issues.jboss.org/browse/IPROTO-38
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.2.0.Alpha6, 4.1.3.Final
>
> Attachments: stacktrace.txt
>
>
> This was tested and fails with Karaf ver. 2.4.4, 3.0.8, 4.1.3.
> This seems to be a classloading issue that is only happening when using annotation based protobuf marsahlling.
> The bytecode generation that happens under the hood using javassist fails. The reason was found to be the wrong classloader used by the javassist ClassPool. Relying on the default (thread context classloader) works usually, but not in OSGi. The fix is to pass the classloader that loaded the protostream bundle to the ClassPool instead, but ClassPool's constructors do not allow that, so we need another creative solution.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (IPROTO-38) ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-38?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on IPROTO-38:
-------------------------------------
The second fix backported to 4.1.3.Final too.
> ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
> -------------------------------------------------------------------------------------------
>
> Key: IPROTO-38
> URL: https://issues.jboss.org/browse/IPROTO-38
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.2.0.Alpha6, 4.1.3.Final
>
> Attachments: stacktrace.txt
>
>
> This was tested and fails with Karaf ver. 2.4.4, 3.0.8, 4.1.3.
> This seems to be a classloading issue that is only happening when using annotation based protobuf marsahlling.
> The bytecode generation that happens under the hood using javassist fails. The reason was found to be the wrong classloader used by the javassist ClassPool. Relying on the default (thread context classloader) works usually, but not in OSGi. The fix is to pass the classloader that loaded the protostream bundle to the ClassPool instead, but ClassPool's constructors do not allow that, so we need another creative solution.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (IPROTO-38) ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-38?page=com.atlassian.jira.plugin.... ]
Adrian Nistor commented on IPROTO-38:
-------------------------------------
Regression solved with this commit: https://github.com/infinispan/protostream/commit/fc702ef5769f5cd6f33bbbb9...
The new fix will be released in 4.2.0.Alpha6.
> ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
> -------------------------------------------------------------------------------------------
>
> Key: IPROTO-38
> URL: https://issues.jboss.org/browse/IPROTO-38
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.2.0.Alpha6
>
> Attachments: stacktrace.txt
>
>
> This was tested and fails with Karaf ver. 2.4.4, 3.0.8, 4.1.3.
> This seems to be a classloading issue that is only happening when using annotation based protobuf marsahlling.
> The bytecode generation that happens under the hood using javassist fails. The reason was found to be the wrong classloader used by the javassist ClassPool. Relying on the default (thread context classloader) works usually, but not in OSGi. The fix is to pass the classloader that loaded the protostream bundle to the ClassPool instead, but ClassPool's constructors do not allow that, so we need another creative solution.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (IPROTO-38) ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/IPROTO-38?page=com.atlassian.jira.plugin.... ]
Adrian Nistor resolved IPROTO-38.
---------------------------------
Fix Version/s: 4.2.0.Alpha6
(was: 4.2.0.Alpha5)
(was: 4.1.2.Final)
Resolution: Done
> ProtoSchemaGenerator fails in Karaf: CNFE: org.infinispan.protostream.RawProtobufMarshaller
> -------------------------------------------------------------------------------------------
>
> Key: IPROTO-38
> URL: https://issues.jboss.org/browse/IPROTO-38
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 3.0.0.Alpha1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Fix For: 4.2.0.Alpha6
>
> Attachments: stacktrace.txt
>
>
> This was tested and fails with Karaf ver. 2.4.4, 3.0.8, 4.1.3.
> This seems to be a classloading issue that is only happening when using annotation based protobuf marsahlling.
> The bytecode generation that happens under the hood using javassist fails. The reason was found to be the wrong classloader used by the javassist ClassPool. Relying on the default (thread context classloader) works usually, but not in OSGi. The fix is to pass the classloader that loaded the protostream bundle to the ClassPool instead, but ClassPool's constructors do not allow that, so we need another creative solution.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8001) HotRodCustomMarshallerIteratorIT fails randomly
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-8001?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-8001:
--------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/5324, https://github.com/infinispan/infinispan/pull/5604, https://github.com/infinispan/infinispan/pull/5605 (was: https://github.com/infinispan/infinispan/pull/5324, https://github.com/infinispan/infinispan/pull/5604)
> HotRodCustomMarshallerIteratorIT fails randomly
> -----------------------------------------------
>
> Key: ISPN-8001
> URL: https://issues.jboss.org/browse/ISPN-8001
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols, Test Suite - Server
> Affects Versions: 9.1.0.Beta1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Labels: testsuite_stability
> Fix For: 9.2.0.Beta2, 9.2.0.Final
>
>
> There seems to be a race condition between the execution of the test and the deployment of the marshaller.
> {code}
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.355 sec <<< FAILURE! - in org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT
> testIteration(org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT) Time elapsed: 0.103 sec <<< ERROR!
> org.infinispan.client.hotrod.exceptions.HotRodClientException: java.io.IOException: Unsupported protocol version 40
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
> at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:51)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:104)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:88)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.iteratorToMap(HotRodCustomMarshallerIteratorIT.java:145)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.testIteration(HotRodCustomMarshallerIteratorIT.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8001) HotRodCustomMarshallerIteratorIT fails randomly
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-8001?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-8001:
--------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/5324, https://github.com/infinispan/infinispan/pull/5604 (was: https://github.com/infinispan/infinispan/pull/5324)
> HotRodCustomMarshallerIteratorIT fails randomly
> -----------------------------------------------
>
> Key: ISPN-8001
> URL: https://issues.jboss.org/browse/ISPN-8001
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols, Test Suite - Server
> Affects Versions: 9.1.0.Beta1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Labels: testsuite_stability
> Fix For: 9.2.0.Beta2, 9.2.0.Final
>
>
> There seems to be a race condition between the execution of the test and the deployment of the marshaller.
> {code}
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.355 sec <<< FAILURE! - in org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT
> testIteration(org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT) Time elapsed: 0.103 sec <<< ERROR!
> org.infinispan.client.hotrod.exceptions.HotRodClientException: java.io.IOException: Unsupported protocol version 40
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
> at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:51)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:104)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:88)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.iteratorToMap(HotRodCustomMarshallerIteratorIT.java:145)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.testIteration(HotRodCustomMarshallerIteratorIT.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8001) HotRodCustomMarshallerIteratorIT fails randomly
by Adrian Nistor (JIRA)
[ https://issues.jboss.org/browse/ISPN-8001?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated ISPN-8001:
--------------------------------
Fix Version/s: 9.2.0.Beta2
> HotRodCustomMarshallerIteratorIT fails randomly
> -----------------------------------------------
>
> Key: ISPN-8001
> URL: https://issues.jboss.org/browse/ISPN-8001
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols, Test Suite - Server
> Affects Versions: 9.1.0.Beta1
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Labels: testsuite_stability
> Fix For: 9.2.0.Beta2, 9.2.0.Final
>
>
> There seems to be a race condition between the execution of the test and the deployment of the marshaller.
> {code}
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.355 sec <<< FAILURE! - in org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT
> testIteration(org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT) Time elapsed: 0.103 sec <<< ERROR!
> org.infinispan.client.hotrod.exceptions.HotRodClientException: java.io.IOException: Unsupported protocol version 40
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:363)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:152)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:138)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:60)
> at org.infinispan.client.hotrod.impl.operations.IterationNextOperation.execute(IterationNextOperation.java:51)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.fetch(RemoteCloseableIterator.java:104)
> at org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator.hasNext(RemoteCloseableIterator.java:88)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.iteratorToMap(HotRodCustomMarshallerIteratorIT.java:145)
> at org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT.testIteration(HotRodCustomMarshallerIteratorIT.java:132)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month