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

Protobuf serialization is being used in library mode with spring starter

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
    • 12.1.0.Final
    • 11.0.8.Final, 12.0.0.Final
    • Marshalling
    • None

      With 11.0.8, I get the following exception when doing a put in a replicated-cache:

      2020-12-18 07:21:43.232 WARN 1 --- [98f-md4d4-51498] org.infinispan.PERSISTENCE : ISPN000559: Cannot marshall 'class com.redhat.Customer' 
      
      java.lang.IllegalArgumentException: No marshaller registered for Java type com.redhat.Customer

      Same code is working right on a local-cache

      I have tried also 12.0.0.Dev7 (with 11.0.6 spring starter), and the exception is similar but slightly different:

      2020-12-18 08:07:48.956  WARN 1 --- [nio-8080-exec-1] org.infinispan.PERSISTENCE: ISPN000559: Cannot marshall 'class org.infinispan.spring.common.provider.NullValue'
      
      java.lang.IllegalArgumentException: No marshaller registered for Java type org.infinispan.spring.common.provider.
      

              dberinde@redhat.com Dan Berindei (Inactive)
              rgordill1@redhat.com Ramon Gordillo Gutierrez
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: