[
https://issues.jboss.org/browse/ISPN-2006?page=com.atlassian.jira.plugin....
]
Manik Surtani reassigned ISPN-2006:
-----------------------------------
Assignee: Mircea Markus (was: Manik Surtani)
PutMapCommand throws a NullPointerException in Distributed Mode
---------------------------------------------------------------
Key: ISPN-2006
URL:
https://issues.jboss.org/browse/ISPN-2006
Project: Infinispan
Issue Type: Bug
Components: Distributed Cache
Affects Versions: 5.1.4.CR1
Environment: Infinispan 5.2.0-SNAPSHOT
Reporter: Pedro Ruivo
Assignee: Mircea Markus
Labels: Distributed, PutMapCommand, Transactional
Fix For: 5.1.4.FINAL
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:
{code}
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)
{code}
[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/...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira