Can someone investigate why CacheImpl.replaceInternal() throws an NPE ? I can reproduce this every time. Using the latest JDG.

See the attached stack trace for details.

--
Bela Ban, JGroups lead (http://www.jgroups.org)

11:39:36,342 WARN  
[org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] 
(Incoming-2,shared=tcp) ISPN000071: Caught exception when handling command 
SingleRpcCommand{cacheName='default', command=ReplaceCommand{key=conf, 
oldValue=org.infinispan.remoting.MIMECacheEntry@e9e0403b, 
newValue=org.infinispan.remoting.MIMECacheEntry@e9e0403b, lifespanMillis=-1000, 
maxIdleTimeMillis=-1000, flags=null, successful=true, 
ignorePreviousValue=false}}: java.lang.NullPointerException
        at org.infinispan.CacheImpl.replaceInternal(CacheImpl.java:915)
        at org.infinispan.CacheImpl.replace(CacheImpl.java:894)
        at org.infinispan.DecoratedCache.replace(DecoratedCache.java:206)
        at 
org.infinispan.xsite.BackupReceiverImpl$BackupCacheUpdater.visitReplaceCommand(BackupReceiverImpl.java:116)
        at 
org.infinispan.commands.write.ReplaceCommand.acceptVisitor(ReplaceCommand.java:70)
        at 
org.infinispan.xsite.BackupReceiverImpl.handleRemoteCommand(BackupReceiverImpl.java:75)
        at 
org.infinispan.xsite.BackupReceiverRepositoryImpl.handleRemoteCommand(BackupReceiverRepositoryImpl.java:87)
        at 
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommandFromRemoteSite(CommandAwareRpcDispatcher.java:255)
        at 
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:230)
        at 
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:460) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:377) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:247) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:665)
 [jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.blocks.mux.MuxUpHandler.up(MuxUpHandler.java:130) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.JChannel.up(JChannel.java:719) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1008) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.relay.RELAY2.deliver(RELAY2.java:607) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.relay.RELAY2.route(RELAY2.java:507) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.relay.RELAY2.handleMessage(RELAY2.java:482) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at 
org.jgroups.protocols.relay.RELAY2.handleRelayMessage(RELAY2.java:463) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.relay.Relayer$Bridge.receive(Relayer.java:302) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.JChannel.up(JChannel.java:749) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1012) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.RSVP.up(RSVP.java:209) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.FRAG2.up(FRAG2.java:192) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.FlowControl.up(FlowControl.java:461) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.stack.Protocol.up(Protocol.java:406) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:300) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.UNICAST2.removeAndPassUp(UNICAST2.java:920) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at 
org.jgroups.protocols.UNICAST2.handleBatchReceived(UNICAST2.java:856) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.UNICAST2.up(UNICAST2.java:481) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.stack.Protocol.up(Protocol.java:406) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.stack.Protocol.up(Protocol.java:406) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.protocols.FD.up(FD.java:274) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
        at org.jgroups.stack.Protocol.up(Protocol.java:406) 
[jgroups-3.3.0.CR2.jar:3.3.0.CR2]
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to