[infinispan-issues] [JBoss JIRA] Commented: (ISPN-672) NPE in AtomicHashMapDelta.merge caused by TreeCache.put(Fqn, new HashMap())
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Mon Sep 27 10:55:29 EDT 2010
[ https://jira.jboss.org/browse/ISPN-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12553496#action_12553496 ]
Scott Marlow commented on ISPN-672:
-----------------------------------
Oops, this is probably the wrong way to create an empty node.
> NPE in AtomicHashMapDelta.merge caused by TreeCache.put(Fqn, new HashMap())
> ---------------------------------------------------------------------------
>
> Key: ISPN-672
> URL: https://jira.jboss.org/browse/ISPN-672
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 4.2.0.ALPHA2
> Reporter: Scott Marlow
> Assignee: Manik Surtani
>
> I tried to test the fix for ISPN-639 and now get a NPE in AtomicHashMapDelta.merge.
> 2010-09-24 09:16:58,563 ERROR [org.infinispan.remoting.rpc.RpcManagerImpl] (RMI TCP Connection(4)-127.0.0.2) unexpected error while replicating: java.lang.NullPointerException
> at org.infinispan.atomic.AtomicHashMapDelta.merge(AtomicHashMapDelta.java:58) [:4.2.0-SNAPSHOT]
> at org.infinispan.commands.write.PutKeyValueCommand.perform(PutKeyValueCommand.java:94) [:4.2.0-SNAPSHOT]
> at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:71) [:4.2.0-SNAPSHOT]
> .
> .
> .
> exception call stack is at http://pastebin.com/ftfm99vW
> The code that triggers the NPE originates from a different node than were the replication error occurs:
> TreeCache cache = ...
> Fqn newf = ...
> cache.put(newf, new HashMap<String, Binding>());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list