[
https://issues.jboss.org/browse/ISPN-2692?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on ISPN-2692:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug
892565|https://bugzilla.redhat.com/show_bug.cgi?id=892565] from NEW to ASSIGNED
StateConsumerImpl can build InvalidateL1Command with replicated cache
----------------------------------------------------------------------
Key: ISPN-2692
URL:
https://issues.jboss.org/browse/ISPN-2692
Project: Infinispan
Issue Type: Bug
Reporter: Radim Vansa
Assignee: Mircea Markus
Priority: Critical
{{StateConsumerImpl.invalidateSegments(...)}} may build up InvalidateL1Command even for
replicated cache which cannot feature L1.
This may later result in
{code}
ISPN000136: Execution error: java.lang.NullPointerException
at
org.infinispan.commands.write.InvalidateL1Command.perform(InvalidateL1Command.java:109)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at org.infinispan.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:110)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:141)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateL1Command(AbstractVisitor.java:146)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:141)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateL1Command(AbstractVisitor.java:146)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:274)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.EntryWrappingInterceptor.visitInvalidateL1Command(EntryWrappingInterceptor.java:157)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:141)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateL1Command(AbstractVisitor.java:146)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.locking.AbstractLockingInterceptor.visitInvalidateL1Command(AbstractLockingInterceptor.java:98)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:141)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateL1Command(AbstractVisitor.java:146)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.statetransfer.StateTransferInterceptor.visitInvalidateL1Command(StateTransferInterceptor.java:173)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:141)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.AbstractVisitor.visitInvalidateL1Command(AbstractVisitor.java:146)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.commands.write.InvalidateL1Command.acceptVisitor(InvalidateL1Command.java:192)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.statetransfer.StateConsumerImpl.invalidateSegments(StateConsumerImpl.java:666)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.statetransfer.StateConsumerImpl.onTopologyUpdate(StateConsumerImpl.java:267)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.statetransfer.StateTransferManagerImpl.doTopologyUpdate(StateTransferManagerImpl.java:194)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.statetransfer.StateTransferManagerImpl.access$000(StateTransferManagerImpl.java:60)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.statetransfer.StateTransferManagerImpl$1.updateConsistentHash(StateTransferManagerImpl.java:120)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.topology.LocalTopologyManagerImpl.handleConsistentHashUpdate(LocalTopologyManagerImpl.java:194)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.topology.CacheTopologyControlCommand.doPerform(CacheTopologyControlCommand.java:165)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.topology.CacheTopologyControlCommand.perform(CacheTopologyControlCommand.java:137)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommandFromLocalCluster(CommandAwareRpcDispatcher.java:251)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:218)
[infinispan-core-5.2.0.Beta6-redhat-1.jar:5.2.0.Beta6-redhat-1]
at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:483)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:390)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:248)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:598)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.blocks.mux.MuxUpHandler.up(MuxUpHandler.java:130)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.JChannel.up(JChannel.java:703)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1020)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.RSVP.up(RSVP.java:172)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.FRAG2.up(FRAG2.java:181)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.FlowControl.up(FlowControl.java:400)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.FlowControl.up(FlowControl.java:418)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.pbcast.GMS.up(GMS.java:896)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:244)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.UNICAST2.up(UNICAST2.java:432)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:721)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:574)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:187)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:288)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.MERGE2.up(MERGE2.java:205)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.Discovery.up(Discovery.java:359)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2640)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.TP.passMessageUp(TP.java:1287)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1850)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1823)
[jgroups-3.2.4.Final-redhat-1.jar:3.2.4.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_33]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_33]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira