]
Adrian Nistor updated ISPN-5122:
--------------------------------
Status: Open (was: New)
Protostream's code generator does not use the proper classloader
and does not work in OSGI
------------------------------------------------------------------------------------------
Key: ISPN-5122
URL:
https://issues.jboss.org/browse/ISPN-5122
Project: Infinispan
Issue Type: Bug
Components: Remote Querying
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 7.1.0.Beta1
{quote}
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.888 sec <<<
FAILURE! - in org.infinispan.server.test.client.hotrod.osgi.RemoteCacheOsgiIT
testAttributeQuery(org.infinispan.server.test.client.hotrod.osgi.RemoteCacheOsgiIT) Time
elapsed: 0.122 sec <<< ERROR!
infinispan.javassist.NotFoundException: org.infinispan.protostream.EnumMarshaller
at infinispan.javassist.ClassPool.get(ClassPool.java:450)
at infinispan.javassist.ClassPool.getCtClass(ClassPool.java:515)
at
org.infinispan.protostream.annotations.impl.MarshallerCodeGenerator.<init>(MarshallerCodeGenerator.java:80)
at
org.infinispan.protostream.annotations.impl.ProtoSchemaGenerator.generateMarshallers(ProtoSchemaGenerator.java:134)
at
org.infinispan.protostream.annotations.impl.ProtoSchemaGenerator.generateAndRegister(ProtoSchemaGenerator.java:106)
at
org.infinispan.protostream.annotations.ProtoSchemaBuilder.build(ProtoSchemaBuilder.java:64)
at
org.infinispan.server.test.client.hotrod.osgi.RemoteCacheOsgiIT.testAttributeQuery(RemoteCacheOsgiIT.java:138)
Results :
Tests in error:
RemoteCacheOsgiIT.testAttributeQuery:138 ยป NotFound org.infinispan.protostream...
{quote}