java.lang.ClassCastException: org.infinispan.container.entries.ImmortalCacheEntry cannot be cast to java.util.Collection

hivmr.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    db:: 4.23::Infinispan error as "org.infinispan.commons.CacheException" ka

    hivmr.com | 7 months ago
    java.lang.ClassCastException: org.infinispan.container.entries.ImmortalCacheEntry cannot be cast to java.util.Collection
  2. 0

    db:: 2.89::Stackoverflow error in org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject 9a

    hivmr.com | 7 months ago
    java.lang.ClassCastException: org.infinispan.container.entries.ImmortalCacheEntry cannot be cast to java.util.Collection

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.infinispan.container.entries.ImmortalCacheEntry cannot be cast to java.util.Collection

      at org.infinispan.commands.control.StateTransferControlCommand.setParameters()
    2. Infinispan Core
      CacheRpcCommandExternalizer.readObject
      1. org.infinispan.commands.control.StateTransferControlCommand.setParameters(StateTransferControlCommand.java:153)[infinispan-core.jar:5.1.7.Final]
      2. org.infinispan.commands.RemoteCommandsFactory.fromStream(RemoteCommandsFactory.java:231)[infinispan-core.jar:5.1.7.Final]
      3. org.infinispan.marshall.exts.ReplicableCommandExternalizer.fromStream(ReplicableCommandExternalizer.java:125)[infinispan-core.jar:5.1.7.Final]
      4. org.infinispan.marshall.exts.CacheRpcCommandExternalizer.readObject(CacheRpcCommandExternalizer.java:163)[infinispan-core.jar:5.1.7.Final]
      5. org.infinispan.marshall.exts.CacheRpcCommandExternalizer.readObject(CacheRpcCommandExternalizer.java:66)[infinispan-core.jar:5.1.7.Final]
      5 frames
    3. org.infinispan.marshall
      ExternalizerTable.readObject
      1. org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:395)[infinispan-core.jar:5.1.7.Final]
      2. org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:224)[infinispan-core.jar:5.1.7.Final]
      2 frames
    4. JBoss Marshalling River
      RiverUnmarshaller.doReadObject
      1. org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:355)[jboss-marshalling-river-1.3.18.GA-redhat-1.jar:1.3.18.GA-redhat-1]
      2. org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:213)[jboss-marshalling-river-1.3.18.GA-redhat-1.jar:1.3.18.GA-redhat-1]
      2 frames
    5. JBoss Marshalling API
      AbstractObjectInput.readObject
      1. org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)[jboss-marshalling-1.3.18.GA-redhat-1.jar:1.3.18.GA-redhat-1]
      1 frame
    6. org.infinispan.marshall
      AbstractDelegatingMarshaller.objectFromByteBuffer
      1. org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:163)[infinispan-core.jar:5.1.7.Final]
      2. org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:114)[infinispan-core.jar:5.1.7.Final]
      3. org.infinispan.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:104)[infinispan-core.jar:5.1.7.Final]
      3 frames
    7. Infinispan Core
      CommandAwareRpcDispatcher.handle
      1. org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromBuffer(MarshallerAdapter.java:50)[infinispan-core.jar:5.1.7.Final]
      2. org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:200)[infinispan-core.jar:5.1.7.Final]
      2 frames
    8. JGroups
      TP$IncomingPacket.run
      1. org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:456)[jgroups.jar:3.0.13.Final]
      2. org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:363)[jgroups.jar:3.0.13.Final]
      3. org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:238)[jgroups.jar:3.0.13.Final]
      4. org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:601)[jgroups.jar:3.0.13.Final]
      5. org.jgroups.JChannel.up(JChannel.java:716)[jgroups.jar:3.0.13.Final]
      6. org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1026)[jgroups.jar:3.0.13.Final]
      7. org.jgroups.protocols.RSVP.up(RSVP.java:172)[jgroups.jar:3.0.13.Final]
      8. org.jgroups.protocols.FRAG2.unfragment(FRAG2.java:302)[jgroups.jar:3.0.13.Final]
      9. org.jgroups.protocols.FRAG2.up(FRAG2.java:162)[jgroups.jar:3.0.13.Final]
      10. org.jgroups.protocols.FlowControl.up(FlowControl.java:418)[jgroups.jar:3.0.13.Final]
      11. org.jgroups.protocols.FlowControl.up(FlowControl.java:400)[jgroups.jar:3.0.13.Final]
      12. org.jgroups.protocols.pbcast.GMS.up(GMS.java:889)[jgroups.jar:3.0.13.Final]
      13. org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:244)[jgroups.jar:3.0.13.Final]
      14. org.jgroups.protocols.UNICAST2.handleDataReceived(UNICAST2.java:759)[jgroups.jar:3.0.13.Final]
      15. org.jgroups.protocols.UNICAST2.up(UNICAST2.java:365)[jgroups.jar:3.0.13.Final]
      16. org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:602)[jgroups.jar:3.0.13.Final]
      17. org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:143)[jgroups.jar:3.0.13.Final]
      18. org.jgroups.protocols.FD.up(FD.java:273)[jgroups.jar:3.0.13.Final]
      19. org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:288)[jgroups.jar:3.0.13.Final]
      20. org.jgroups.protocols.MERGE2.up(MERGE2.java:205)[jgroups.jar:3.0.13.Final]
      21. org.jgroups.protocols.Discovery.up(Discovery.java:359)[jgroups.jar:3.0.13.Final]
      22. org.jgroups.protocols.TP.passMessageUp(TP.java:1185)[jgroups.jar:3.0.13.Final]
      23. org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1733)[jgroups.jar:3.0.13.Final]
      24. org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1715)[jgroups.jar:3.0.13.Final]
      24 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_25]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_25]
      3. java.lang.Thread.run(Thread.java:724)[rt.jar:1.7.0_25]
      3 frames