Marshaller for JDG 7.1.0 onwards is not compatible to former versions

Solution Unverified - Updated -

Issue

  • Is it possible to migrate legacy versions of RHDG to 7.1.0 and onwards without rolling upgrade?

  • If a JDG cluster is upgraded to version 7.1 or later the start will throw NullPointerException for some caches.

The exception root cause will be like:

Caused by: java.lang.NullPointerException: null
    at org.infinispan.marshall.core.GlobalMarshaller.readWithExternalizer(GlobalMarshaller.java:693)
    at org.infinispan.marshall.core.GlobalMarshaller.readNonNullableObject(GlobalMarshaller.java:678)
    at org.infinispan.marshall.core.GlobalMarshaller.readNullableObject(GlobalMarshaller.java:361)
    at org.infinispan.marshall.core.GlobalMarshaller.objectFromObjectInput(GlobalMarshaller.java:199)
    at org.infinispan.marshall.core.GlobalMarshaller.objectFromByteBuffer(GlobalMarshaller.java:228)
    at org.infinispan.persistence.file.SingleFileStore.rebuildIndex(SingleFileStore.java:212)
    at org.infinispan.persistence.file.SingleFileStore.start(SingleFileStore.java:126)

Environment

  • Red Hat Data Grid (RHJDG, JDG)
    • 7.1.0+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content