Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5122

Protostream's code generator does not use the proper classloader and does not work in OSGI

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Beta1
    • None
    • Remote Querying
    • None

      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...

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: