Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException while deleting an entry through Entry Processor by setting value to NULL #9135

Closed
GirishKumar0310 opened this issue Oct 18, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@GirishKumar0310
Copy link

commented Oct 18, 2016

Hi when I try to delete an entry from cache through entry processor by setting value to null as per link updated by Ali Gurbuz https://groups.google.com/forum/#!topic/hazelcast/0B271m6vfBY,

I am getting following inconsistently. Any idea why this happens and any work arounds? Version is 3.6.1

2016-10-19 03:50:43,710 ERROR [hz._hzInstance_1_M-SYD-V-SQL-H01/instance_EMEA2014_ODI.partition-operation.thread-0] PartitionWideEntryWithPredicateOperation:50 - [M-SYD-V-APP-M01]:25561 [M-SYD-V-SQL-H01/instance_EMEA2014_ODI_u_pControl] [3.6.1] null
java.lang.NullPointerException
at com.hazelcast.map.impl.operation.AbstractMultipleEntryOperation.doPostOps(AbstractMultipleEntryOperation.java:175)
at com.hazelcast.map.impl.operation.AbstractMultipleEntryOperation.entryRemoved(AbstractMultipleEntryOperation.java:147)
at com.hazelcast.map.impl.operation.PartitionWideEntryOperation.run(PartitionWideEntryOperation.java:81)
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:172)
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:393)
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.processPacket(OperationThread.java:184)
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.process(OperationThread.java:137)
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.doRun(OperationThread.java:124)
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.run(OperationThread.java:99)

@ahmetmircik

This comment has been minimized.

Copy link
Member

commented Oct 18, 2016

Thanks for reporting this. It is a bug and appears when you have either PostProcessingMapStore or MapInterceptor and removing an entry.

@GirishKumar0310

This comment has been minimized.

Copy link
Author

commented Oct 19, 2016

Hi, Any idea when this would be fixed? We have clients in production.

@ahmetmircik

This comment has been minimized.

Copy link
Member

commented Oct 19, 2016

Hi @GirishKumar0310,
Fix is ready and waiting to be merged: #9141.
After merge, 3.6.6 release will be available in one week time most probably.
Update: It will be in 3.7.3 not in 3.6.6.

@ahmetmircik ahmetmircik modified the milestones: 3.6.6, 3.7.3 Oct 19, 2016

@ahmetmircik ahmetmircik self-assigned this Oct 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.