Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-672

NPE in AtomicHashMapDelta.merge caused by TreeCache.put(Fqn, new HashMap())

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.ALPHA3, 4.2.0.Final
    • 4.1.0.Final, 4.2.0.ALPHA2
    • None
    • None

      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>());

              manik_jira Manik Surtani (Inactive)
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: