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

    XMLWordPrintable

Details

    Description

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

      Attachments

        Activity

          People

            anistor Adrian Nistor
            anistor Adrian Nistor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: