[JBoss JIRA] (ISPN-2691) Replicated cache executes commands when it is not a member of CH
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2691?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-2691:
-----------------------------------------------
Radim Vansa <rvansa(a)redhat.com> made a comment on [bug 892575|https://bugzilla.redhat.com/show_bug.cgi?id=892575]
Cache in replicated mode can execute commands (e.g. PutKeyValueCommand) broadcasted by other nodes in the cluster even if it is not a member of the current ReplicatedConsistentHash. In the PKVC case the container can then contain keys even if the StateConsumerImpl.getOwnedSegments(CH) returns empty list.
> Replicated cache executes commands when it is not a member of CH
> ----------------------------------------------------------------
>
> Key: ISPN-2691
> URL: https://issues.jboss.org/browse/ISPN-2691
> Project: Infinispan
> Issue Type: Bug
> Reporter: Radim Vansa
> Assignee: Mircea Markus
>
> Cache in replicated mode can execute commands (e.g. PutKeyValueCommand) broadcasted by other nodes in the cluster even if it is not a member of the current ReplicatedConsistentHash. In the PKVC case the container can then contain keys even if the StateConsumerImpl.getOwnedSegments(CH) returns empty list.
--
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
12 years
[JBoss JIRA] (ISPN-2692) StateConsumerImpl can build InvalidateL1Command with replicated cache
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2692?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-2692:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=892565
> 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
12 years
[JBoss JIRA] (ISPN-2692) StateConsumerImpl can build InvalidateL1Command with replicated cache
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-2692?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-2692:
-----------------------------------------------
Radim Vansa <rvansa(a)redhat.com> made a comment on [bug 892565|https://bugzilla.redhat.com/show_bug.cgi?id=892565]
StateConsumerImpl.invalidateSegments(...) may build up InvalidateL1Command even for replicated cache which cannot feature L1.
This may later result in
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]
> 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
12 years
[JBoss JIRA] (ISPN-2692) StateConsumerImpl can build InvalidateL1Command with replicated cache
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-2692?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-2692:
------------------------------
Description:
{{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}
was:
{{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}}
> 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
12 years
[JBoss JIRA] (ISPN-2692) StateConsumerImpl can build InvalidateL1Command with replicated cache
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-2692?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-2692:
------------------------------
Summary: StateConsumerImpl can build InvalidateL1Command with replicated cache (was: StateConsumerImpl build InvalidateL1Command with replicated cache )
> 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 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
12 years
[JBoss JIRA] (ISPN-2692) StateConsumerImpl can build InvalidateL1Command with replicated cache
by Radim Vansa (JIRA)
[ https://issues.jboss.org/browse/ISPN-2692?page=com.atlassian.jira.plugin.... ]
Radim Vansa updated ISPN-2692:
------------------------------
Description:
{{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}}
was:
StateConsumerImpl 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}}
> 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
12 years
[JBoss JIRA] (ISPN-2692) StateConsumerImpl build InvalidateL1Command with replicated cache
by Radim Vansa (JIRA)
Radim Vansa created ISPN-2692:
---------------------------------
Summary: StateConsumerImpl 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 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
12 years
[JBoss JIRA] (ISPN-2691) Replicated cache executes commands when it is not a member of CH
by Radim Vansa (JIRA)
Radim Vansa created ISPN-2691:
---------------------------------
Summary: Replicated cache executes commands when it is not a member of CH
Key: ISPN-2691
URL: https://issues.jboss.org/browse/ISPN-2691
Project: Infinispan
Issue Type: Bug
Reporter: Radim Vansa
Assignee: Mircea Markus
Cache in replicated mode can execute commands (e.g. PutKeyValueCommand) broadcasted by other nodes in the cluster even if it is not a member of the current ReplicatedConsistentHash. In the PKVC case the container can then contain keys even if the StateConsumerImpl.getOwnedSegments(CH) returns empty list.
--
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
12 years
[JBoss JIRA] (ISPN-2690) SyncConsistentHash must implement Serializable
by Erik Salter (JIRA)
Erik Salter created ISPN-2690:
---------------------------------
Summary: SyncConsistentHash must implement Serializable
Key: ISPN-2690
URL: https://issues.jboss.org/browse/ISPN-2690
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.2.0.Beta6
Reporter: Erik Salter
Assignee: Mircea Markus
The SyncConsistentHash doesn't implement Serializable. Any such CH factory specified in the configuration will throw an error on startup:
2013-01-06 01:05:20,008 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Exception in thread "CacheStartThread,null,eigAllocation"
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.start() throws java.lang.Exception on object of type StateTransferManagerImpl
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:654)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:643)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.CacheImpl.start(CacheImpl.java:557)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:689)
2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:652)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager.access$100(DefaultCacheManager.java:126)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager$1.run(DefaultCacheManager.java:574)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.util.Util.rewrapAsCacheException(Util.java:539)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:184)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:261)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:101)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:117)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at java.lang.reflect.Method.invoke(Method.java:597)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) ... 10 more
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:279)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:297)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:177)
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) ... 19 more
2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: org.infinispan.marshall.NotSerializableException: org.infinispan.distribution.ch.TopologyAwareSyncConsistentHashFactory
2013-01-06 01:05:20,013 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: an exception which occurred:
in object org.infinispan.distribution.ch.TopologyAwareSyncConsistentHashFactory@5b6876ea
in object org.infinispan.topology.CacheJoinInfo@16b4417d
in object org.infinispan.topology.CacheTopologyControlCommand@31093d14
--
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
12 years