1 Reply Latest reply on Nov 21, 2011 4:39 AM by Galder Zamarreño

    Invalidation issue: EvictAll

    slorg1 Newbie

      Hi,

       

      I am running into an apparently known but unaddressed issue when setting up my cache into INVALIDATION mode.

       

      Please see: http://lists.jboss.org/pipermail/hibernate-issues/2011-June/032019.html

       

      Here is my stack trace with infinispan BETA 4.

       

      {quote}

        ERROR CacheViewsManagerImpl - ISPN000166: View installation failed for cache timestamps

      java.util.concurrent.ExecutionException: org.infinispan.CacheException: Problems invoking command.

                at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)

                at java.util.concurrent.FutureTask.get(FutureTask.java:91)

                at org.infinispan.util.concurrent.AggregatingNotifyingFutureImpl.get(AggregatingNotifyingFutureImpl.java:80)

                at org.infinispan.statetransfer.BaseStateTransferTask.pushState(BaseStateTransferTask.java:150)

                at org.infinispan.statetransfer.ReplicatedStateTransferTask.doPerformStateTransfer(ReplicatedStateTransferTask.java:119)

                at org.infinispan.statetransfer.BaseStateTransferTask.performStateTransfer(BaseStateTransferTask.java:90)

                at org.infinispan.statetransfer.BaseStateTransferManagerImpl.prepareView(BaseStateTransferManagerImpl.java:292)

                at org.infinispan.cacheviews.CacheViewsManagerImpl.handlePrepareView(CacheViewsManagerImpl.java:440)

                at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterPrepareView(CacheViewsManagerImpl.java:288)

                at org.infinispan.cacheviews.CacheViewsManagerImpl.clusterInstallView(CacheViewsManagerImpl.java:242)

                at org.infinispan.cacheviews.CacheViewsManagerImpl$ViewInstallationTask.call(CacheViewsManagerImpl.java:802)

                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

                at java.util.concurrent.FutureTask.run(FutureTask.java:138)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:619)

       

       

      Caused by: org.infinispan.CacheException: Problems invoking command.

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:152)

                at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:446)

                at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:353)

                at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:229)

                at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:556)

                at org.jgroups.JChannel.up(JChannel.java:718)

                at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1026)

                at org.jgroups.protocols.pbcast.StreamingStateTransfer.up(StreamingStateTransfer.java:262)

                at org.jgroups.protocols.FRAG2.up(FRAG2.java:181)

                at org.jgroups.protocols.FC.up(FC.java:499)

                at org.jgroups.protocols.pbcast.GMS.up(GMS.java:865)

                at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:244)

                at org.jgroups.protocols.UNICAST.handleDataReceived(UNICAST.java:572)

                at org.jgroups.protocols.UNICAST.up(UNICAST.java:282)

                at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:583)

                at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:134)

                at org.jgroups.protocols.FD.up(FD.java:270)

                at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:273)

                at org.jgroups.protocols.MERGE2.up(MERGE2.java:208)

                at org.jgroups.protocols.Discovery.up(Discovery.java:335)

                at org.jgroups.protocols.TP.passMessageUp(TP.java:1091)

                at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1646)

                at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1628)

                ... 3 more

      Caused by: java.io.InvalidClassException: org.hibernate.cache.infinispan.util.CacheHelper$EvictAll; Class is non-public or has no public no-arg constructor

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1250)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

                at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)

                at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:136)

                at org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.readObject(ImmortalCacheEntry.java:127)

                at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:384)

                at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:272)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

                at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)

                at org.infinispan.marshall.exts.ArrayListExternalizer.readObject(ArrayListExternalizer.java:57)

                at org.infinispan.marshall.exts.ArrayListExternalizer.readObject(ArrayListExternalizer.java:45)

                at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:384)

                at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:272)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

                at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)

                at org.infinispan.marshall.exts.ReplicableCommandExternalizer.readParameters(ReplicableCommandExternalizer.java:118)

                at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.readObject(CacheRpcCommandExternalizer.java:163)

                at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.readObject(CacheRpcCommandExternalizer.java:66)

                at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.readObject(ExternalizerTable.java:384)

                at org.infinispan.marshall.jboss.ExternalizerTable.readObject(ExternalizerTable.java:272)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:351)

                at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

                at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:37)

                at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectFromObjectStream(AbstractJBossMarshaller.java:120)

                at org.infinispan.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:115)

                at org.infinispan.marshall.AbstractDelegatingMarshaller.objectFromByteBuffer(AbstractDelegatingMarshaller.java:79)

                at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectFromBuffer(MarshallerAdapter.java:50)

                at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:139)

                ... 25 more

      {quote}

       

      This happens systematically at start up with hibernate 3.5.5 (tested only with that version so far).

       

      I am not sure if it should be addressed by/to you or not.

       

      Thank you,