0 Replies Latest reply on Oct 1, 2013 3:39 PM by Manuel Novoa

    error ISPN000065: Exception while marshalling object: java.io.NotActiveException: Fields were never written

    Manuel Novoa Newbie

      hello all

       

       

      I have the following scheme:

      Three nodes in cluster

      One node domain controler.

      jboss jboss-eap-6.1

       

       

      I have the following error that fills my log:

       

      [Server:infoda_s1] 12:37:42,651 ERROR [org.infinispan.marshall.VersionAwareMarshaller] (ajp-/152.74.16.80:8009-5) ISPN000065: Exception while marshalling object: java.io.NotActiveException: Fields were never written

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverObjectOutputStream.finish(RiverObjectOutputStream.java:175)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1009)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:680)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

      [Server:infoda_s1] at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:85)

      [Server:infoda_s1] at org.jboss.as.clustering.SimpleMarshalledValue.writeExternal(SimpleMarshalledValue.java:175)

      [Server:infoda_s1] at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:47)

      [Server:infoda_s1] at org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:36)

      [Server:infoda_s1] at org.infinispan.marshall.jboss.ExternalizerTable$ForeignExternalizerAdapter.writeObject(ExternalizerTable.java:459)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

      [Server:infoda_s1] at org.infinispan.atomic.PutOperation$Externalizer.writeObject(PutOperation.java:111)

      [Server:infoda_s1] at org.infinispan.atomic.PutOperation$Externalizer.writeObject(PutOperation.java:107)

      [Server:infoda_s1] at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

      [Server:infoda_s1] at org.infinispan.marshall.MarshallUtil.marshallCollection(MarshallUtil.java:48)

      [Server:infoda_s1] at org.infinispan.marshall.exts.LinkedListExternalizer.writeObject(LinkedListExternalizer.java:50)

      [Server:infoda_s1] at org.infinispan.marshall.exts.LinkedListExternalizer.writeObject(LinkedListExternalizer.java:45)

      [Server:infoda_s1] at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

      [Server:infoda_s1] at org.infinispan.atomic.AtomicHashMapDelta$Externalizer.writeObject(AtomicHashMapDelta.java:113)

      [Server:infoda_s1] at org.infinispan.atomic.AtomicHashMapDelta$Externalizer.writeObject(AtomicHashMapDelta.java:109)

      [Server:infoda_s1] at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

      [Server:infoda_s1] at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:85)

      [Server:infoda_s1] at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:72)

      [Server:infoda_s1] at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:60)

      [Server:infoda_s1] at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)

      [Server:infoda_s1] at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

      [Server:infoda_s1] at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

      [Server:infoda_s1]at org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:87)
      [Server:infoda_s1]at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:128)
      [Server:infoda_s1]at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:112)
      [Server:infoda_s1]at org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:73)
      [Server:infoda_s1]at org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
      [Server:infoda_s1]at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
      [Server:infoda_s1]at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
      [Server:infoda_s1]at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
      [Server:infoda_s1]at org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:96)
      [Server:infoda_s1]at org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:92)
      [Server:infoda_s1]at org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:64)
      [Server:infoda_s1]at org.infinispan.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:109)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:45)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:279)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processCalls(CommandAwareRpcDispatcher.java:332)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:146)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.broadcastRemoteCommands(CommandAwareRpcDispatcher.java:197)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:498)
      [Server:infoda_s1]at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:169)
      [Server:infoda_s1]at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:190)
      [Server:infoda_s1]at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:247)
      [Server:infoda_s1]at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:234)
      [Server:infoda_s1]at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:229)
      [Server:infoda_s1]at org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:208)
      [Server:infoda_s1]at org.infinispan.interceptors.ReplicationInterceptor.broadcastPrepare(ReplicationInterceptor.java:109)
      [Server:infoda_s1]at org.infinispan.interceptors.ReplicationInterceptor.visitPrepareCommand(ReplicationInterceptor.java:101)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
      [Server:infoda_s1]at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
      [Server:infoda_s1]at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:106)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:108)
      [Server:infoda_s1]at org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:135)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:128)
      [Server:infoda_s1]at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:115)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
      [Server:infoda_s1]at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
      [Server:infoda_s1]at org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitPrepareCommand(TransactionSynchronizerInterceptor.java:61)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:216)
      [Server:infoda_s1]at org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:189)
      [Server:infoda_s1]at org.infinispan.statetransfer.StateTransferInterceptor.visitPrepareCommand(StateTransferInterceptor.java:93)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
      [Server:infoda_s1]at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
      [Server:infoda_s1]at org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
      [Server:infoda_s1]at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
      [Server:infoda_s1]at org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:92)
      [Server:infoda_s1]at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
      [Server:infoda_s1]at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
      [Server:infoda_s1]at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
      [Server:infoda_s1]at org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:175)
      [Server:infoda_s1]at org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81)
      [Server:infoda_s1]at org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285)
      [Server:infoda_s1]at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334)
      [Server:infoda_s1]at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91)
      [Server:infoda_s1]at org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102)
      [Server:infoda_s1]at org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
      [Server:infoda_s1]at org.jboss.as.web.session.DistributableSessionManager.processSessionRepl(DistributableSessionManager.java:1535) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.session.DistributableSessionManager.storeSession(DistributableSessionManager.java:865) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:47) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:142) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      [Server:infoda_s1]at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:488) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:420) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      [Server:infoda_s1]at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]

      [Server:infoda_s1] Caused by: an exception which occurred:

      [Server:infoda_s1]in object java.util.HashMap@bb31b72c
      [Server:infoda_s1]in object org.jboss.as.clustering.SimpleMarshalledValue@bb31b72c
      [Server:infoda_s1]in object org.infinispan.atomic.PutOperation@bb31c26f
      [Server:infoda_s1]in object java.util.LinkedList@4915c74a
      [Server:infoda_s1]in object org.infinispan.atomic.AtomicHashMapDelta@6e39d9d
      [Server:infoda_s1]in object org.infinispan.commands.write.PutKeyValueCommand@16062a42
      [Server:infoda_s1]in object org.infinispan.commands.tx.PrepareCommand@8290e192

      [Server:infoda_s1]

      [Server:infoda_s1] 12:37:42,665 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (ajp-/152.74.16.80:8009-5) ISPN000136: Execution error: org.infinispan.CacheException: java.lang.RuntimeException: Failure to mars

      hal argument(s)

      [Server:infoda_s1]at org.infinispan.util.Util.rewrapAsCacheException(Util.java:542)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:153)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.broadcastRemoteCommands(CommandAwareRpcDispatcher.java:197)
      [Server:infoda_s1]at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:498)

       

       

       

       

      Thanks from now!