[
https://issues.jboss.org/browse/ISPN-2948?page=com.atlassian.jira.plugin....
]
Lars Dabringhaus commented on ISPN-2948:
----------------------------------------
we are facing the same issue. we are using jsf2.0 in jboss eap 6.1 and quite often
following exception is thrown....
{noformat}
ERROR [org.infinispan.interceptors.InvocationContextInterceptor]
(ajp-/192.xxx.xxx.xxx:8009-10) ISPN000136: Execution error: org.infinispan.CacheException:
java.lang.RuntimeException: Failure to marshal argum
ent(s)
at org.infinispan.util.Util.rewrapAsCacheException(Util.java:542)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:186)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515)
at
org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:169)
at
org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:190)
at
org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:247)
at
org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:234)
at
org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:229)
at
org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:208)
at
org.infinispan.interceptors.ReplicationInterceptor.broadcastPrepare(ReplicationInterceptor.java:109)
at
org.infinispan.interceptors.ReplicationInterceptor.visitPrepareCommand(ReplicationInterceptor.java:101)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at
org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at
org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:106)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:108)
at
org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:135)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.TxInterceptor.invokeNextInterceptorAndVerifyTransaction(TxInterceptor.java:128)
at
org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:115)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at
org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at
org.infinispan.statetransfer.TransactionSynchronizerInterceptor.visitPrepareCommand(TransactionSynchronizerInterceptor.java:61)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.statetransfer.StateTransferInterceptor.handleTopologyAffectedCommand(StateTransferInterceptor.java:216)
at
org.infinispan.statetransfer.StateTransferInterceptor.handleTxCommand(StateTransferInterceptor.java:189)
at
org.infinispan.statetransfer.StateTransferInterceptor.visitPrepareCommand(StateTransferInterceptor.java:93)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
at
org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
at
org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
at
org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
at
org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:92)
at
org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:126)
at
org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:124)
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
at
org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:175)
at
org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81)
at
org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285)
at
org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334)
at
org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91)
at
org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102)
at
org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
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]
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]
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]
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]
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]
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]
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]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
[jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
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]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.jboss.as.web.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:374)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:488)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
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]
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]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_33]
Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:281)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:300)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:179)
... 82 more
Caused by: java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
[rt.jar:1.6.0_33]
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392)
[rt.jar:1.6.0_33]
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391)
[rt.jar:1.6.0_33]
at java.util.HashMap.writeObject(HashMap.java:999) [rt.jar:1.6.0_33]
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) [:1.6.0_33]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_33]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_33]
at
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:180)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:85)
at
org.jboss.as.clustering.SimpleMarshalledValue.writeExternal(SimpleMarshalledValue.java:175)
at
org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:47)
at
org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:36)
at
org.infinispan.marshall.jboss.ExternalizerTable$ForeignExternalizerAdapter.writeObject(ExternalizerTable.java:459)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.atomic.PutOperation$Externalizer.writeObject(PutOperation.java:111)
at
org.infinispan.atomic.PutOperation$Externalizer.writeObject(PutOperation.java:107)
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.MarshallUtil.marshallCollection(MarshallUtil.java:48)
at
org.infinispan.marshall.exts.LinkedListExternalizer.writeObject(LinkedListExternalizer.java:50)
at
org.infinispan.marshall.exts.LinkedListExternalizer.writeObject(LinkedListExternalizer.java:45)
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.atomic.AtomicHashMapDelta$Externalizer.writeObject(AtomicHashMapDelta.java:113)
at
org.infinispan.atomic.AtomicHashMapDelta$Externalizer.writeObject(AtomicHashMapDelta.java:109)
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:85)
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:72)
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:60)
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:87)
at
org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:128)
at
org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:112)
at
org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:73)
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:410)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at
org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at
org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:96)
at
org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:92)
at
org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:64)
at
org.infinispan.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:109)
at
org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:45)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:279)
... 84 more
Caused by: an exception which occurred:
in object com.sun.faces.util.LRUMap@a8101014
in object org.jboss.as.clustering.SimpleMarshalledValue@a8101014
-> toString =
{4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}
in object org.infinispan.atomic.PutOperation@6be1de0c
-> toString =
PutOperation{key=com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap,
oldValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}},
newValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}}
in object java.util.LinkedList@c683adab
-> toString = [PutOperation{key=0, oldValue=486, newValue=487},
PutOperation{key=1, oldValue=1372230580178, newValue=1372230580178},
PutOperation{key=com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap,
oldValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}},
newValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}}]
in object org.infinispan.atomic.AtomicHashMapDelta@533a7fa8
-> toString = AtomicHashMapDelta{changeLog=[PutOperation{key=0,
oldValue=486, newValue=487}, PutOperation{key=1, oldValue=1372230580178,
newValue=1372230580178},
PutOperation{key=com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap,
oldValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}},
newValue={4953798969527851451={-3164552139458822717=[Ljava.lang.Object;@61b17173},
-4135007795280416229={-3654632317492617431=[Ljava.lang.Object;@47e830ca},
-6148771840773489560={-7638274893309884398=[Ljava.lang.Object;@33c2ca0d},
-3986904630696198967={-9044245777287213986=[Ljava.lang.Object;@49fb956a},
-6863243846733110878={-6423789974550481197=[Ljava.lang.Object;@28873e4}}}],hasClear=false}
in object org.infinispan.commands.write.PutKeyValueCommand@971d23f
-> toString = PutKeyValueCommand{key=pjmEELxbQWBIsyzHdEYkL6E9,
value=AtomicHashMap, flags=[SKIP_REMOTE_LOOKUP, DELTA_WRITE], putIfAbsent=false,
lifespanMillis=-1, maxIdleTimeMillis=-1, successful=true}
in object org.infinispan.commands.tx.PrepareCommand@6342a19e
-> toString = PrepareCommand
{modifications=[PutKeyValueCommand{key=pjmEELxbQWBIsyzHdEYkL6E9, value=AtomicHashMap,
flags=[SKIP_REMOTE_LOOKUP, DELTA_WRITE], putIfAbsent=false, lifespanMillis=-1,
maxIdleTimeMillis=-1, successful=true}], onePhaseCommit=true,
gtx=GlobalTransaction:<167/web>:32085:local, cacheName='default-host/bla',
topologyId=25}
{noformat}
ConcurrentModificationException in TransactionCoordinator.commit()
------------------------------------------------------------------
Key: ISPN-2948
URL:
https://issues.jboss.org/browse/ISPN-2948
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.2.1.Final
Reporter: Clement Pang
Assignee: Mircea Markus
Not entirely sure how to reproduce this but it seems like a map is modified while it is
being serialized.
{code}
11:19:29,584 ERROR org.infinispan.interceptors.InvocationContextInterceptor
(http-/0.0.0.0:8080-2) ISPN000136: Execution error:
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)
rt.jar:1.6.0_27
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:409) rt.jar:1.6.0_27
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:408) rt.jar:1.6.0_27
at java.util.HashMap.writeObject(HashMap.java:1016) rt.jar:1.6.0_27
at sun.reflect.GeneratedMethodAccessor472.invoke(Unknown Source) :1.6.0_27
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
rt.jar:1.6.0_27
at java.lang.reflect.Method.invoke(Method.java:616) rt.jar:1.6.0_27
at
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:180)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:998)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:680)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:85)
at
org.jboss.as.clustering.SimpleMarshalledValue.writeExternal(SimpleMarshalledValue.java:175)
at
org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:47)
at
org.jboss.as.clustering.infinispan.io.ExternalizableExternalizer.writeObject(ExternalizableExternalizer.java:36)
at
org.infinispan.marshall.jboss.ExternalizerTable$ForeignExternalizerAdapter.writeObject(ExternalizerTable.java:457)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:59)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:63)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:47)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:237)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:234)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.writeObject(ImmortalCacheEntry.java:154)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.container.entries.ImmortalCacheEntry$Externalizer.writeObject(ImmortalCacheEntry.java:150)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at org.infinispan.loaders.bucket.Bucket$Externalizer.writeObject(Bucket.java:148)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.loaders.bucket.Bucket$Externalizer.writeObject(Bucket.java:139)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:408)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
at
org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:96)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:92)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:94)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.AbstractMarshaller.objectToByteBuffer(AbstractMarshaller.java:84)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.marshall.AbstractDelegatingMarshaller.objectToByteBuffer(AbstractDelegatingMarshaller.java:94)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.loaders.file.FileCacheStore.updateBucket(FileCacheStore.java:335)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.loaders.bucket.BucketBasedCacheStore.storeLockSafe(BucketBasedCacheStore.java:89)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.loaders.bucket.BucketBasedCacheStore.storeLockSafe(BucketBasedCacheStore.java:49)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.loaders.LockSupportCacheStore.store(LockSupportCacheStore.java:213)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.loaders.AbstractCacheStore.applyModifications(AbstractCacheStore.java:126)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.loaders.AbstractCacheStore.commit(AbstractCacheStore.java:163)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.CacheStoreInterceptor.commitCommand(CacheStoreInterceptor.java:164)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.CacheStoreInterceptor.visitCommitCommand(CacheStoreInterceptor.java:146)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.EntryWrappingInterceptor.visitCommitCommand(EntryWrappingInterceptor.java:116)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.visitCommitCommand(AbstractTxLockingInterceptor.java:100)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.NotificationInterceptor.visitCommitCommand(NotificationInterceptor.java:65)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.interceptors.TxInterceptor.visitCommitCommand(TxInterceptor.java:153)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:132)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:128)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:92)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:118)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:85)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.AbstractVisitor.visitCommitCommand(AbstractVisitor.java:136)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.commands.tx.CommitCommand.acceptVisitor(CommitCommand.java:60)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:343)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:182)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:81)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:285)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:334)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:91)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:102)
infinispan-core-5.2.1.Final.jar:5.2.1.Final
at
org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
at
org.jboss.as.web.session.DistributableSessionManager.processSessionRepl(DistributableSessionManager.java:1527)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at
org.jboss.as.web.session.DistributableSessionManager.storeSession(DistributableSessionManager.java:865)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at
org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:47)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at
org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:142)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:99)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:92)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:64)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
jboss-as-jpa-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
jboss-as-jpa-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
jboss-as-web-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
jbossweb-7.2.0.Final.jar:7.2.0.Final
at java.lang.Thread.run(Thread.java:679) rt.jar:1.6.0_27
Caused by: an exception which occurred:
in object java.util.HashMap@c8c53a7f
in object org.jboss.as.clustering.SimpleMarshalledValue@c8c53a7f
in object org.infinispan.util.FastCopyHashMap@6685286f
in object org.infinispan.atomic.AtomicHashMap@5dd18547
in object org.infinispan.container.entries.ImmortalCacheEntry@a8322011
in object org.infinispan.loaders.bucket.Bucket@31cbb8e4
{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