Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Kuali JIRA by George Lindholm, 1 year ago
Unable to update ProgramRequirement
via Kuali JIRA by George Lindholm, 1 year ago
Unable to update ProgramRequirement
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.kuali.student.core.statement.entity.Statement#1ada2bb6-ee85-448f-8ff3-0ff8a6f02b97]	at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:261)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:120)	at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:687)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:669)	at org.hibernate.engine.CascadingAction$6.cascade(CascadingAction.java:245)	at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)	at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296)	at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)	at org.hibernate.engine.Cascade.cascade(Cascade.java:130)	at org.hibernate.event.def.DefaultMergeEventListener.cascadeOnMerge(DefaultMergeEventListener.java:407)	at org.hibernate.event.def.DefaultMergeEventListener.entityIsPersistent(DefaultMergeEventListener.java:152)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:126)	at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:687)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:669)	at org.hibernate.engine.CascadingAction$6.cascade(CascadingAction.java:245)	at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)	at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296)	at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)	at org.hibernate.engine.Cascade.cascade(Cascade.java:130)	at org.hibernate.event.def.DefaultMergeEventListener.cascadeOnMerge(DefaultMergeEventListener.java:407)	at org.hibernate.event.def.DefaultMergeEventListener.entityIsPersistent(DefaultMergeEventListener.java:152)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:126)	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:53)	at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:677)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:661)	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:665)	at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:235)	at sun.reflect.GeneratedMethodAccessor604.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:358)	at undefined.$Proxy46.merge(Unknown Source)	at sun.reflect.GeneratedMethodAccessor604.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:198)	at undefined.$Proxy46.merge(Unknown Source)	at org.kuali.student.core.dao.impl.AbstractCrudDaoImpl.update(AbstractCrudDaoImpl.java:80)	at org.kuali.student.core.statement.service.impl.StatementServiceImpl.updateStatementTreeView(StatementServiceImpl.java:960)	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:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at undefined.$Proxy266.updateStatementTreeView(Unknown Source)	at org.kuali.student.lum.service.assembler.LumServiceMethodInvoker.invokeServiceCallOnResult(LumServiceMethodInvoker.java:306)	at org.kuali.student.lum.service.assembler.LumServiceMethodInvoker.invokeServiceCalls(LumServiceMethodInvoker.java:67)	at org.kuali.student.lum.service.assembler.LumServiceMethodInvoker.invokeServiceCalls(LumServiceMethodInvoker.java:72)	at org.kuali.student.lum.program.service.impl.ProgramServiceImpl.invokeServiceCalls(ProgramServiceImpl.java:966)	at org.kuali.student.lum.program.service.impl.ProgramServiceImpl.processProgramRequirement(ProgramServiceImpl.java:959)	at org.kuali.student.lum.program.service.impl.ProgramServiceImpl.updateProgramRequirement(ProgramServiceImpl.java:777)	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:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at undefined.$Proxy270.updateProgramRequirement(Unknown Source)	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:597)	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)	at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:110)	at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:423)	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:178)	at org.kuali.rice.ksb.messaging.servlet.CXFServletControllerAdapter.handleRequest(CXFServletControllerAdapter.java:55)	at sun.reflect.GeneratedMethodAccessor428.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.kuali.rice.ksb.messaging.bam.BAMServerProxy.invokeInternal(BAMServerProxy.java:56)	at org.kuali.rice.core.proxy.BaseInvocationHandler.invoke(BaseInvocationHandler.java:59)	at undefined.$Proxy167.handleRequest(Unknown Source)	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)	at org.kuali.rice.ksb.messaging.servlet.KSBDispatcherServlet.service(KSBDispatcherServlet.java:155)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:66)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:169)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	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:286)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Thread.java:662)