Marek Schmidt created WELD-1079:
-----------------------------------
Summary: Weld keeps instance of a dependent scoped bean that receives a
producer method invocation
Key: WELD-1079
URL:
https://issues.jboss.org/browse/WELD-1079
Project: Weld
Issue Type: Bug
Components: Clustering, Producers (Methods, Fields and Disposers)
Affects Versions: 1.1.5.Final
Environment: JBoss AS 7.1.0.Final
Reporter: Marek Schmidt
Assignee: Ales Justin
Fix For: 1.2.0.Beta1
According to spec 6.4
{quote}
Any instance of the bean that receives a producer method, producer field, disposer method
or observer method invoca-
tion exists to service that invocation only.
{quote}
The following should work:
{noformat}
@SessionScoped
public class Game implements Serializable {
...
@Inject Foo foo;
}
...
public class DependentGenerator {
@Produces
Foo getFoo() {
...
}
}
{noformat}
Currently this fails on session replication on AS7.1.0.Final if the DependentGenerator
does not implement Serializable interface. As the instance should only exist to service
the producer invocation, serializability of the DependentGenerator should not matter.
see the following as7 log (using modified Numberguess example):
{noformat}
13:21:45,509 ERROR [org.infinispan.interceptors.InvocationContextInterceptor]
(http--127.0.1.1-8080-1) ISPN000136: Execution error: org.infinispan.CacheException:
java.lang.RuntimeException: Failure to marshal argument(s)
at org.infinispan.util.Util.rewrapAsCacheException(Util.java:524)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:115)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:447)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:148)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:169)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:219)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:206)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.remoting.rpc.RpcManagerImpl.invokeRemotely(RpcManagerImpl.java:201)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.rpc.RpcManagerImpl.broadcastRpcCommand(RpcManagerImpl.java:184)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.ReplicationInterceptor.broadcastPrepare(ReplicationInterceptor.java:136)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.ReplicationInterceptor.visitPrepareCommand(ReplicationInterceptor.java:128)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.EntryWrappingInterceptor.visitPrepareCommand(EntryWrappingInterceptor.java:80)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.locking.AbstractTxLockingInterceptor.invokeNextAndCommitIf1Pc(AbstractTxLockingInterceptor.java:120)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitPrepareCommand(OptimisticLockingInterceptor.java:105)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.NotificationInterceptor.visitPrepareCommand(NotificationInterceptor.java:58)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.interceptors.TxInterceptor.visitPrepareCommand(TxInterceptor.java:106)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.StateTransferLockInterceptor.handleWithRetries(StateTransferLockInterceptor.java:207)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.StateTransferLockInterceptor.visitPrepareCommand(StateTransferLockInterceptor.java:84)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:89)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.BatchingInterceptor.handleDefault(BatchingInterceptor.java:86)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:130)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager$ClassLoaderAwareCommandInterceptor.handleDefault(DefaultEmbeddedCacheManager.java:410)
[jboss-as-clustering-infinispan-7.1.0.Final.jar:7.1.0.Final]
at org.infinispan.commands.AbstractVisitor.visitPrepareCommand(AbstractVisitor.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.commands.tx.PrepareCommand.acceptVisitor(PrepareCommand.java:131)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:345)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.transaction.TransactionCoordinator.commit(TransactionCoordinator.java:174)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:83)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.transaction.tm.DummyTransaction.notifyAfterCompletion(DummyTransaction.java:272)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.transaction.tm.DummyTransaction.runCommitTx(DummyTransaction.java:321)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.transaction.tm.DummyTransaction.commit(DummyTransaction.java:90)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.transaction.tm.DummyBaseTransactionManager.commit(DummyBaseTransactionManager.java:100)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.jboss.as.clustering.web.impl.TransactionBatchingManager.endBatch(TransactionBatchingManager.java:75)
[jboss-as-clustering-web-spi-7.1.0.Final.jar:7.1.0.Final]
at
org.jboss.as.web.session.DistributableSessionManager.processSessionRepl(DistributableSessionManager.java:1530)
at
org.jboss.as.web.session.DistributableSessionManager.storeSession(DistributableSessionManager.java:865)
at
org.jboss.as.web.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:47)
at
org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:133)
at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)
at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88)
at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56)
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.marshallCall(CommandAwareRpcDispatcher.java:216)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.call(CommandAwareRpcDispatcher.java:235)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommands(CommandAwareRpcDispatcher.java:111)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
... 85 more
Caused by: org.infinispan.CacheException: Unable to marshall value
AtomicHashMap{delegate={0=1, 1=1331122905357,
2=org.jboss.as.clustering.web.DistributableSessionMetadata@577c1a9f,
3={org.jboss.weld.context.http.HttpSessionContext#org.jboss.weld.bean-weld-clustering-tests.war/content/weld-clustering-tests.war/WEB-INF/classes-ManagedBean-class
org.jboss.weld.tests.clustering.numberguess.plain.Game=Bean: Managed Bean [class
org.jboss.weld.tests.clustering.numberguess.plain.Game] with qualifiers [@Any @Default
@Named]; Instance: org.jboss.weld.tests.clustering.numberguess.plain.Game@73b9e5dc;
CreationalContext: org.jboss.weld.context.CreationalContextImpl@49531c8c,
com.sun.faces.renderkit.ServerSideStateHelper.LogicalViewMap={-853411311245260327={6232653851523764701=[Ljava.lang.Object;@5e0469bc}}}}}
at org.infinispan.marshall.MarshalledValue.serialize0(MarshalledValue.java:136)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.marshall.MarshalledValue.serialize(MarshalledValue.java:104)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.marshall.MarshalledValue.getRaw(MarshalledValue.java:213)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.MarshalledValue$Externalizer.writeObject(MarshalledValue.java:325)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.MarshalledValue$Externalizer.writeObject(MarshalledValue.java:316)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:404)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:84)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:69)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeObject(ReplicableCommandExternalizer.java:57)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:404)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at
org.infinispan.marshall.exts.ReplicableCommandExternalizer.writeCommandParameters(ReplicableCommandExternalizer.java:84)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.exts.CacheRpcCommandExternalizer.marshallParameters(CacheRpcCommandExternalizer.java:126)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:113)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.exts.CacheRpcCommandExternalizer.writeObject(CacheRpcCommandExternalizer.java:68)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:404)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at
org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:86)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:86)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:57)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:89)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:45)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher$ReplicationTask.marshallCall(CommandAwareRpcDispatcher.java:214)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
... 87 more
Caused by: java.io.NotSerializableException:
org.jboss.weld.tests.clustering.numberguess.plain.DependentGenerator
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:891)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:585)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159)
at java.util.Collections$SynchronizedCollection.writeObject(Collections.java:1602)
[rt.jar:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_30]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_30]
at
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:175)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
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.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:585)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159)
at java.util.Collections$SynchronizedCollection.writeObject(Collections.java:1602)
[rt.jar:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_30]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_30]
at
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:175)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
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.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063)
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
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)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.as.clustering.SimpleMarshalledValue.getBytes(SimpleMarshalledValue.java:74)
[jboss-as-clustering-api-7.1.0.Final.jar:7.1.0.Final]
at
org.jboss.as.clustering.SimpleMarshalledValue.writeObject(SimpleMarshalledValue.java:172)
[jboss-as-clustering-api-7.1.0.Final.jar:7.1.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_30]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_30]
at
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:175)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.infinispan.marshall.MarshallUtil.marshallMap(MarshallUtil.java:60)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:63)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.marshall.exts.MapExternalizer.writeObject(MapExternalizer.java:47)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:404)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:229)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.atomic.AtomicHashMap$Externalizer.writeObject(AtomicHashMap.java:226)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.jboss.ExternalizerTable$ExternalizerAdapter.writeObject(ExternalizerTable.java:404)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:145)
at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)
[jboss-marshalling-1.3.9.GA.jar:1.3.9.GA]
at
org.infinispan.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:86)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.VersionAwareMarshaller.objectToObjectStream(VersionAwareMarshaller.java:151)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at
org.infinispan.marshall.AbstractDelegatingMarshaller.objectToObjectStream(AbstractDelegatingMarshaller.java:44)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
at org.infinispan.marshall.MarshalledValue.serialize0(MarshalledValue.java:119)
[infinispan-core-5.1.1.FINAL.jar:5.1.1.FINAL]
... 116 more
Caused by: an exception which occurred:
in field instance
in field c
in field dependentInstances
in field creationalContext
in field c
in field dependentInstances
in field creationalContext
in object java.util.HashMap@db1825eb
in object org.jboss.as.clustering.SimpleMarshalledValue@db1825eb
in object org.infinispan.util.FastCopyHashMap@655b4432
in object org.infinispan.atomic.AtomicHashMap@2797e57c
in object org.infinispan.marshall.MarshalledValue@2797e57c
in object org.infinispan.commands.write.PutKeyValueCommand@f46be74c
in object org.infinispan.commands.tx.PrepareCommand@bf608bdb
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira