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

During a replication timeout exception, the trace says it will remove the listener when it doesn't.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Final
    • 7.0.3.Final
    • None
    • None

      Below you see that it claims it's removing the listener, but in reality, it doesn't. It only removes the listener when it's an IllegalAccessException. It just happens to share the same log message method.

      See:

      • AbstractListenerImpl.java:289
      • Log.java:541

      Below I've copied a stacktrace showing:

      2015-01-20 15:36:44,941 WARN  [201     ] CacheManagerNotifierImpl [] ISPN000134: Unable to invoke method public void com.redprairie.moca.cluster.infinispan.GlobalListener.viewAccepted(org.infinispan.notifications.cachemanagerlistener.event.ViewChangedEvent) on Object instance com.redprairie.moca.cluster.infinispan.GlobalListener@306c1c18 - removing this target object from list of listeners! []
      org.infinispan.util.concurrent.TimeoutException: Replication timeout for CH23K150-52279
              at org.infinispan.remoting.transport.AbstractTransport.parseResponseAndAddToResponseList(AbstractTransport.java:113) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:541) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:169) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:190) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:247) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:234) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:229) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:208) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:200) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.ReplicationInterceptor.handleCrudMethod(ReplicationInterceptor.java:297) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.ReplicationInterceptor.visitPutKeyValueCommand(ReplicationInterceptor.java:248) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.EntryWrappingInterceptor.invokeNextAndApplyChanges(EntryWrappingInterceptor.java:275) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.EntryWrappingInterceptor.visitPutKeyValueCommand(EntryWrappingInterceptor.java:166) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.locking.NonTransactionalLockingInterceptor.visitPutKeyValueCommand(NonTransactionalLockingInterceptor.java:71) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:62) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:62) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:216) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.statetransfer.StateTransferInterceptor.handleWriteCommand(StateTransferInterceptor.java:194) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.statetransfer.StateTransferInterceptor.visitPutKeyValueCommand(StateTransferInterceptor.java:136) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.CacheMgmtInterceptor.visitPutKeyValueCommand(CacheMgmtInterceptor.java:125) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:62) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.AbstractVisitor.visitPutKeyValueCommand(AbstractVisitor.java:62) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.commands.write.PutKeyValueCommand.acceptVisitor(PutKeyValueCommand.java:77) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1186) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.CacheImpl.putInternal(CacheImpl.java:783) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.CacheImpl.put(CacheImpl.java:777) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.CacheImpl.put(CacheImpl.java:771) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at org.infinispan.CacheSupport.put(CacheSupport.java:53) ~[infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at com.redprairie.moca.web.console.MocaClusterAdministration.notifyMembership(MocaClusterAdministration.java:352) ~[moca-server.jar:?]
              at com.redprairie.moca.cluster.infinispan.GlobalListener.viewAccepted(GlobalListener.java:105) ~[classes/:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_25]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_25]
              at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:212) [infinispan-core-5.2.5.rp.jar:5.2.5.Final]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.7.0_25]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.7.0_25]
              at java.lang.Thread.run(Unknown Source) [?:1.7.0_25]
      

              Unassigned Unassigned
              kurtymckurt Kurt Lehrke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: