9 Replies Latest reply on Oct 9, 2017 5:50 AM by shelasat

    java.lang.StackOverflowError - Infinispan cache

    shelasat

      HI,

        When I try to update cache element frequently, then I got Error while cache try to save element into file store

       

      java.lang.StackOverflowError

       

       

      2017-04-12 00:00:03,534 ERROR [stderr] (TaskCache-FileCacheStore-178) at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:813)

       

       

      2017-04-12 00:00:03,534 ERROR [stderr] (TaskCache-FileCacheStore-178) at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1205)

       

       

      2017-04-12 00:00:03,534 ERROR [stderr] (TaskCache-FileCacheStore-178) at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:272)

       

       

      2017-04-12 00:00:03,534 ERROR [stderr] (TaskCache-FileCacheStore-178) at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)

       

       

      2017-04-12 00:00:03,534 ERROR [stderr] (TaskCache-FileCacheStore-178) at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1678)

        • 1. Re: java.lang.StackOverflowError - Infinispan cache
          rvansa

          We miss some info in here... what's the object you're storing in the cache? What is your configuraiton? Please post full stack (just omitting the repeating frames). Are you updating the same instance you've inserted into the cache? (that may be prone to concurrency issues).

          • 2. Re: java.lang.StackOverflowError - Infinispan cache
            shelasat

            2017-09-14 10:21:22,851 SEVERE [teis.core.taskengine.TaskExecutionHandler] (Thread-5061 (HornetQ-client-global-threads-1683584168)) null: org.infinispan.CacheException: java.lang.StackOverflowError

            at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:351) [infinispan-core-5.3.0.Final.jar:5.3.0.Final]

            at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1337) [infinispan-core-5.3.0.Final.jar:5.3.0.Final]

            at org.infinispan.CacheImpl.replaceInternal(CacheImpl.java:962) [infinispan-core-5.3.0.Final.jar:5.3.0.Final]

            at org.infinispan.CacheImpl.replace(CacheImpl.java:955) [infinispan-core-5.3.0.Final.jar:5.3.0.Final]

            at org.infinispan.CacheImpl.replace(CacheImpl.java:1395) [infinispan-core-5.3.0.Final.jar:5.3.0.Final]

            at org.infinispan.CacheImpl.replace(CacheImpl.java:269) [infinispan-core-5.3.0.Final.jar:5.3.0.Final]

            at teis.core.resources.cache.TaskCacheManager.replaceTask(TaskCacheManager.java:191) [TaskEngine.jar:]

            at teis.core.taskengine.TaskExecutionHelper.updateTaskCache(TaskExecutionHelper.java:178) [TaskEngine.jar:]

            at teis.core.taskengine.TaskExecutionHandler.taskBinderCall(TaskExecutionHandler.java:407) [TaskEngine.jar:]

            at teis.core.taskengine.TaskExecutionHandler.executeScripts(TaskExecutionHandler.java:182) [TaskEngine.jar:]

            at teis.core.taskengine.TaskExecutionHandler.executeTask(TaskExecutionHandler.java:116) [TaskEngine.jar:]

            at teis.core.taskengine.TaskConsumerBean1.onMessage(TaskConsumerBean1.java:53) [TaskEngine.jar:]

            at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

            at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)

            at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

            at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:49) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)

            at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55) [weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]

            at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

            at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:260) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:324) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:237) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:211) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)

            at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:439)

            at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)

            at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

            at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)

            at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)

            at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)

            at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

            at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)

            at teis.core.taskengine.TaskConsumerBean1$$$view8.onMessage(Unknown Source) [TaskEngine.jar:]

            at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73) [wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]

            at teis.core.taskengine.TaskConsumerBean1$$$endpoint10.onMessage(Unknown Source) [TaskEngine.jar:]

            at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:321)

            at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1116) [hornetq-core-client-2.4.5.Final.jar:]

            at org.hornetq.core.client.impl.ClientConsumerImpl.access$500(ClientConsumerImpl.java:56) [hornetq-core-client-2.4.5.Final.jar:]

            at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1251) [hornetq-core-client-2.4.5.Final.jar:]

            at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:104) [hornetq-core-client-2.4.5.Final.jar:]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.8.0_92]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_92]

            Caused by: java.lang.StackOverflowError

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:188) [jboss-marshalling-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1007) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1063) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at org.jboss.marshalling.river.RiverObjectOutputStream.defaultWriteObject(RiverObjectOutputStream.java:159) [jboss-marshalling-river-1.3.15.GA.jar:1.3.15.GA]

            at java.util.Collections$SynchronizedMap.writeObject(Unknown Source) [rt.jar:1.8.0_92]

            at sun.reflect.GeneratedMethodAccessor392.invoke(Unknown Source) [:1.8.0_92]

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.8.0_92]

            at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.8.0_92]

            • 3. Re: java.lang.StackOverflowError - Infinispan cache
              shelasat

              I am using Object to store in cache and also updating same instance in cache. But when I tried to update same instance then in back group when cache update state of object into Filecache store It gives StatackOverflow Exception.. It might be in read or right.

               

              Regards,

              Satish Shelake

              • 4. Re: java.lang.StackOverflowError - Infinispan cache
                galder.zamarreno

                Seems like you're using Wildfly? What version are you using? Can you try with a more recent version?

                • 5. Re: java.lang.StackOverflowError - Infinispan cache
                  shelasat

                  Thanks for reply.

                   

                  I am using WildFly 8.2.0. and infinispan 5.3.0.

                  • 6. Re: java.lang.StackOverflowError - Infinispan cache
                    galder.zamarreno

                    The latest final release is Wildfly 10.1.0.Final, I'd suggest trying with that.

                    • 7. Re: java.lang.StackOverflowError - Infinispan cache
                      shelasat

                      One question here.. I want to fetch and update cache frequently. we need persistence store with high performance. Could you suggest best cache store with high performance in latest infinispan cache store.

                       

                      Regards,

                      Satish Shelake

                      • 8. Re: java.lang.StackOverflowError - Infinispan cache
                        rvansa

                        The fastest store is no store, obviously. Second to that would be probably the SingleFileStore as long as you accept the major limitation (all keys kept in memory).

                        • 9. Re: java.lang.StackOverflowError - Infinispan cache
                          shelasat

                          Thanks for reply.