subzero icon indicating copy to clipboard operation
subzero copied to clipboard

MultipleEntryBackupOperation throws NullPointerException when using SubZero as GlobalSerializer

Open MojoManagement opened this issue 5 years ago • 7 comments

Hi,

I am using Hazelcast 3.11.1 with SubZero 3.9 and configured it with SubZero.useAsGlobalSerializer(config);

When using SubZero, I got the log full with these exceptions:

java.lang.NullPointerException: null at com.hazelcast.map.AbstractEntryProcessor$EntryBackupProcessorImpl.processBackup(AbstractEntryProcessor.java:83) at com.hazelcast.map.impl.operation.EntryOperator.process(EntryOperator.java:314) at com.hazelcast.map.impl.operation.EntryOperator.operateOnKeyValueInternal(EntryOperator.java:181) at com.hazelcast.map.impl.operation.EntryOperator.operateOnKey(EntryOperator.java:166) at com.hazelcast.map.impl.operation.MultipleEntryBackupOperation.run(MultipleEntryBackupOperation.java:48) at com.hazelcast.spi.impl.operationservice.impl.operations.Backup.run(Backup.java:158) at com.hazelcast.spi.Operation.call(Operation.java:170) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.call(OperationRunnerImpl.java:208) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:197) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:413) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:153) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:123) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:110)

Please take a look at this

Regards

MojoManagement avatar Apr 23 '19 07:04 MojoManagement

Reproducer at: https://github.com/hazelcast/hazelcast/issues/15018

ohadpinch avatar May 30 '19 06:05 ohadpinch

thanks for the report. at first glance it appears it could be related to: https://github.com/EsotericSoftware/kryo/issues/320

jerrinot avatar Jul 07 '19 11:07 jerrinot

hi @ohadpinch,

I pushed an experiment into master. Try to build the latest master and add serializerConfigurers=EnableSyntheticFields into your subzero-serializers.properties file.

jerrinot avatar Jul 10 '19 08:07 jerrinot

@MojoManagement: can you try the latest master? thanks!

jerrinot avatar Jul 10 '19 14:07 jerrinot

@jerrinot I will try to check it tomorrow

MojoManagement avatar Jul 10 '19 14:07 MojoManagement

@MojoManagement: did you have a chance to check it?

jerrinot avatar Jul 27 '19 10:07 jerrinot

I have not found any problems, but I was not able to reproduce this at all

MojoManagement avatar Nov 22 '19 13:11 MojoManagement