-
Type:
Bug
-
Status: New (View Workflow)
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: JDG 7.1.0 GA, JDG 7.1.2 GA, JDG 7.2.2 CR1
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Target Release:
Steps to reproduce:
- store data in cache stores by JDG 7.0.0 or older
- read the data back with JDG 7.1.0
The result is NullPointerException and the data cannot be read back.
Partial stack trace:
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)
|
Full stack trace attached.
A dummy workaround would be to use GlobalConfigurationBuilder().serialization().marshaller() and set the previous version of the marshaller. But that would affect all marshalling, AFAIK.
- is caused by
-
JDG-579 Marshalling enhancements
-
- Closed
-