Ticket #1002 (closed defect: fixed)
StackOverflowException on opening a large dataset
| Reported by: | jmoore | Owned by: | jmoore |
|---|---|---|---|
| Priority: | major | Milestone: | 3.0-Beta3.1 |
| Component: | ORM | Version: | |
| Keywords: | exception, hql | Cc: | jburel, callan |
Description
From Jean-Marie:
That's the error message returned when Michael opens a dataset with more than 15000 images. Have you seen the overflow error before? I tried to increase memory in JAVA_OPTS before running server but still same problem?
java.lang.RuntimeException: java.lang.StackOverflowError
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed
(InvocationContextImpl.java:174)
at ome.tools.spring.AOPAdapter.invokeJoinpoint
(AOPAdapter.java:53)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:149)
at ome.security.basic.EventHandler.invoke(EventHandler.java:
112)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at
org.springframework.orm.hibernate3.HibernateInterceptor.invoke
(HibernateInterceptor.java:111)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invok
e(TransactionInterceptor.java:106)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke
(ProxyCleanupFilter.java:169)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at ome.services.util.ServiceHandler.invoke
(ServiceHandler.java:92)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at
org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke
(AbstractTraceInterceptor.java:113)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at ome.security.basic.BasicSecurityWiring.invoke
(BasicSecurityWiring.java:79)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:171)
at ome.services.util.OmeroAroundInvoke.call
(OmeroAroundInvoke.java:161)
at ome.services.util.OmeroAroundInvoke.loginAndSpringWrap
(OmeroAroundInvoke.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed
(InvocationContextImpl.java:118)
at
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke
(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke
(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke
(AllowedOperationsInterceptor.java:47)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at org.jboss.ejb3.tx.BMTInterceptor.handleStateless
(BMTInterceptor.java:71)
at org.jboss.ejb3.tx.BMTInterceptor.invoke
(BMTInterceptor.java:131)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke
(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke
(StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at
org.jboss.aspects.security.AuthenticationInterceptor.invoke
(AuthenticationInterceptor.java:77)
at
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke
(Ejb3AuthenticationInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at org.jboss.ejb3.ENCPropagationInterceptor.invoke
(ENCPropagationInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke
(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke
(StatelessContainer.java:278)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke
(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke
(ServerInvoker.java:734)
at
org.jboss.remoting.transport.socket.ServerThread.processInvocation
(ServerThread.java:560)
at org.jboss.remoting.transport.socket.ServerThread.dorun
(ServerThread.java:383)
at org.jboss.remoting.transport.socket.ServerThread.run
(ServerThread.java:165)
Caused by: java.lang.StackOverflowError
at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst
(NodeTraverser.java:40)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
