-
Bug
-
Resolution: Done
-
Blocker
-
5.1.4.CR1
I've spotted a bug in PutMapCommand. When the keys in the Command touches in multiple nodes, the remote nodes (nodes that didn't created
the command) can throw the exception [1] when executing the perform() method. I'm using a transactional cache.
The test case in [2] reproduces the bug.
[1] Exception:
Caused by: java.lang.NullPointerException at org.infinispan.commands.write.PutMapCommand.perform(PutMapCommand.java:79) at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:83) at org.infinispan.commands.AbstractVisitor.visitPutMapCommand(AbstractVisitor.java:82) at org.infinispan.commands.write.PutMapCommand.acceptVisitor(PutMapCommand.java:67)
[2]
branch: https://github.com/pruivo/infinispan/tree/issue_2
test case: https://github.com/pruivo/infinispan/blob/issue_2/core/src/test/java/org/infinispan/commands/PutMapCommandTest.java