org.springmodules.orm.ojb.OjbOperationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • approver and payroll processor removing the auto lunch deduction ee user: lunchclock with clock timeblock with auto lunch deduction on timesheet removed with user: approver1 gives error below... Also had similar error with payroll processor ******************Stack Trace-Only shown when not in production***************** org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlock@556e8852[tkTimeBlockId=10012,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=7.32,amount=0.00,beginTimeDisplay=2013-08-05T06:00:00.000-04:00,endTimeDisplay=2013-08-05T13:19:10.000-04:00,clockLogBeginId=10006,clockLogEndId=10007,assignmentKey=0_1023_100,overtimePref=,userPrincipalId=10008,deleteable=,overtimeEditable=,regEarnCodeEditable=,pushBackward=false,leaveAmount=0.0,hrCalendarBlockId=,principalId=10008,documentId=3139,beginTimestamp=2013-08-05 06:00:00.0,endTimestamp=2013-08-05 13:19:10.0,timestamp=2013-08-05 13:19:10.0,lunchDeleted=false,earnCode=RGH,workArea=1023,jobNumber=0,task=100,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlock,concreteBlockId=,versionNumber=2,objectId=b0340e1a-1f62-4a6b-989b-1187f1570e41,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.kpme.tklm.time.timeblock.dao.TimeBlockDaoOjbImpl.saveOrUpdate(TimeBlockDaoOjbImpl.java:39) at org.kuali.kpme.tklm.time.timeblock.service.TimeBlockServiceImpl.saveTimeBlocks(TimeBlockServiceImpl.java:205) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy443.saveTimeBlocks(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy444.saveTimeBlocks(Unknown Source) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.deleteLunchDeduction(TimeDetailAction.java:704) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:170) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:128) at org.kuali.kpme.core.web.KPMEAction.execute(KPMEAction.java:54) at org.kuali.kpme.tklm.time.timesheet.web.TimesheetAction.execute(TimesheetAction.java:157) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.execute(TimeDetailAction.java:106) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlock@556e8852[tkTimeBlockId=10012,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=7.32,amount=0.00,beginTimeDisplay=2013-08-05T06:00:00.000-04:00,endTimeDisplay=2013-08-05T13:19:10.000-04:00,clockLogBeginId=10006,clockLogEndId=10007,assignmentKey=0_1023_100,overtimePref=,userPrincipalId=10008,deleteable=,overtimeEditable=,regEarnCodeEditable=,pushBackward=false,leaveAmount=0.0,hrCalendarBlockId=,principalId=10008,documentId=3139,beginTimestamp=2013-08-05 06:00:00.0,endTimestamp=2013-08-05 13:19:10.0,timestamp=2013-08-05 13:19:10.0,lunchDeleted=false,earnCode=RGH,workArea=1023,jobNumber=0,task=100,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlock,concreteBlockId=,versionNumber=2,objectId=b0340e1a-1f62-4a6b-989b-1187f1570e41,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 101 more
    via by Mindi Balmer,
  • approver and payroll processor removing the auto lunch deduction ee user: lunchclock with clock timeblock with auto lunch deduction on timesheet removed with user: approver1 gives error below... Also had similar error with payroll processor ******************Stack Trace-Only shown when not in production***************** org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlock@556e8852[tkTimeBlockId=10012,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=7.32,amount=0.00,beginTimeDisplay=2013-08-05T06:00:00.000-04:00,endTimeDisplay=2013-08-05T13:19:10.000-04:00,clockLogBeginId=10006,clockLogEndId=10007,assignmentKey=0_1023_100,overtimePref=,userPrincipalId=10008,deleteable=,overtimeEditable=,regEarnCodeEditable=,pushBackward=false,leaveAmount=0.0,hrCalendarBlockId=,principalId=10008,documentId=3139,beginTimestamp=2013-08-05 06:00:00.0,endTimestamp=2013-08-05 13:19:10.0,timestamp=2013-08-05 13:19:10.0,lunchDeleted=false,earnCode=RGH,workArea=1023,jobNumber=0,task=100,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlock,concreteBlockId=,versionNumber=2,objectId=b0340e1a-1f62-4a6b-989b-1187f1570e41,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.kpme.tklm.time.timeblock.dao.TimeBlockDaoOjbImpl.saveOrUpdate(TimeBlockDaoOjbImpl.java:39) at org.kuali.kpme.tklm.time.timeblock.service.TimeBlockServiceImpl.saveTimeBlocks(TimeBlockServiceImpl.java:205) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy443.saveTimeBlocks(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy444.saveTimeBlocks(Unknown Source) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.deleteLunchDeduction(TimeDetailAction.java:704) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:170) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:128) at org.kuali.kpme.core.web.KPMEAction.execute(KPMEAction.java:54) at org.kuali.kpme.tklm.time.timesheet.web.TimesheetAction.execute(TimesheetAction.java:157) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.execute(TimeDetailAction.java:106) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlock@556e8852[tkTimeBlockId=10012,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=7.32,amount=0.00,beginTimeDisplay=2013-08-05T06:00:00.000-04:00,endTimeDisplay=2013-08-05T13:19:10.000-04:00,clockLogBeginId=10006,clockLogEndId=10007,assignmentKey=0_1023_100,overtimePref=,userPrincipalId=10008,deleteable=,overtimeEditable=,regEarnCodeEditable=,pushBackward=false,leaveAmount=0.0,hrCalendarBlockId=,principalId=10008,documentId=3139,beginTimestamp=2013-08-05 06:00:00.0,endTimestamp=2013-08-05 13:19:10.0,timestamp=2013-08-05 13:19:10.0,lunchDeleted=false,earnCode=RGH,workArea=1023,jobNumber=0,task=100,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlock,concreteBlockId=,versionNumber=2,objectId=b0340e1a-1f62-4a6b-989b-1187f1570e41,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 101 more
    via by Mindi Balmer,
  • It appears that the CRUD and Batch process sometimes step on each others toes, and modify the same record, and cause optimistic lock exceptions. I saw this happen on both kms_doc_rev_t table and the KEW doc header (see exception below), and would not be surprised if other referenced/updateable object updates could be the target as well. I was able to repeat this problem pretty easily by initiating a new content request, saving, and then immediately clicking 'attempt to edit', pausing for a bit (e.g. 20seconds), then clicking save again. This message will be displayed: This document has already been modified by another user. Press the "reload" button to replace your copy of the document with the newer version. ..and the following exception below shows up in the console log. Perhaps we can limp along with this for now, but eventually we should consider a fix for this. Two solutions immediately come to mind: 1) lock the document in the batch processor (perhaps both an svn lock, and a kew lock), 2) modify the CRUD commit logic to re-fetch objects before saving, and check for, and ignore changes ...as appropriate. Option 2 might be nasty as we can't be sure exactly what may have changed: the KEW DOC, or kms_doc_rev_t...or some other child object, and it seems like a nasty code that would be responsible for figuring out what was changed, and whether the change can be ignored. In particular, as I think about it, I definitely don't like the idea of refetching the KEW DOC and attempting to figure out what changes occurred and if they can be ignored. That seems like a nasty hack. So my preference would be option 1. Here is the console logged stackdump of an example optimistic lock exception: 2012-10-17 15:07:13,389 [http-bio-8080-exec-9:] FATAL org.kuali.rice.core.database.KualiTransactionInterceptor.completeTransactionAfterThrowing() :: Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: kmsDocumentRevisiondocumentHeaderId(branchId,documentId,isPublished,lastSvnRevision,isRendering,{kmsDocument},smeApprovalDate,smeApprovalById,publishOnDate,wasPublishedOn)=3920(1,32,N,234,Y,{kmsDocument(branchId,documentId,legacyDocumentId,lastSvnRevisionId,lastKmsDocumentRevisionId,createDate,lastModifiedDate,{kmsDocumentMetadata},{kmsBranch},{kmsValidationReport},{kmsFileName})=(1,32,null,234,3920,2012-10-17 15:00:59.0,2012-10-17 15:07:13.139,{kmsDocumentMetadata(documentId,svnRevisionId,ownerId,reviewCycleIntervalCount,reviewIntervalUnitsCode,reviewSetByUserId,reviewSetOnDate,reviewNote,frozenIndicator,frozenSetByUserId,frozenSetOnDate,frozenNote,visibleCode,{documentReferences},{documentTitles},{documentAudiences},{documentAuthors},{documentExpirationDates},{documentExtras},{documentResources},{documentTags})=(32,234,null,null,null,null,null,null,N,null,null,null,visible,{[]},{[audienceId=main : titleText=asdfghijkl]},{[default, kbstaff]},{[]},{[]},{[]},{[]},{[]})},{kmsBranch(branchId,branchName,branchDescription,fromPath,toPath,renderStoreReadyIndicator)=(1,trunk,trunk,null,/trunk,T)},{Subversion path: /trunk/hh/hhhh.dita; Revision: 234 Source Doc ID: 32 Run date:Wed Oct 17 15:07:13 EDT 2012 (Report: #188/Source: 1) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (ownerId)): (Report: #189/Source: 2) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (originalAuthorId)): (Report: #190/Source: 3) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (searchTermText)): },{[#32]/hh/hhhh.dita})},null,null,null,null) at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.kns.dao.impl.DocumentDaoOjb.save(DocumentDaoOjb.java:66) at org.kuali.rice.kns.dao.proxy.DocumentDaoProxy.save(DocumentDaoProxy.java:143) at sun.reflect.GeneratedMethodAccessor806.invoke(Unknown Source) 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy41.save(Unknown Source) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.validateAndPersistDocument(DocumentServiceImpl.java:687) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.validateAndPersistDocumentAndSaveAdHocRoutingRecipients(DocumentServiceImpl.java:363) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:125) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:109) at sun.reflect.GeneratedMethodAccessor829.invoke(Unknown Source) 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy49.saveDocument(Unknown Source) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.save(KualiDocumentActionBase.java:544) at org.kuali.kits.kms.web.KmsDocumentAction.save(KmsDocumentAction.java:517) 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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:172) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:123) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:118) at org.kuali.kits.kms.web.KmsDocumentAction.execute(KmsDocumentAction.java:99) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:273) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:86) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:266) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: kmsDocumentRevisiondocumentHeaderId(branchId,documentId,isPublished,lastSvnRevision,isRendering,{kmsDocument},smeApprovalDate,smeApprovalById,publishOnDate,wasPublishedOn)=3920(1,32,N,234,Y,{kmsDocument(branchId,documentId,legacyDocumentId,lastSvnRevisionId,lastKmsDocumentRevisionId,createDate,lastModifiedDate,{kmsDocumentMetadata},{kmsBranch},{kmsValidationReport},{kmsFileName})=(1,32,null,234,3920,2012-10-17 15:00:59.0,2012-10-17 15:07:13.139,{kmsDocumentMetadata(documentId,svnRevisionId,ownerId,reviewCycleIntervalCount,reviewIntervalUnitsCode,reviewSetByUserId,reviewSetOnDate,reviewNote,frozenIndicator,frozenSetByUserId,frozenSetOnDate,frozenNote,visibleCode,{documentReferences},{documentTitles},{documentAudiences},{documentAuthors},{documentExpirationDates},{documentExtras},{documentResources},{documentTags})=(32,234,null,null,null,null,null,null,N,null,null,null,visible,{[]},{[audienceId=main : titleText=asdfghijkl]},{[default, kbstaff]},{[]},{[]},{[]},{[]},{[]})},{kmsBranch(branchId,branchName,branchDescription,fromPath,toPath,renderStoreReadyIndicator)=(1,trunk,trunk,null,/trunk,T)},{Subversion path: /trunk/hh/hhhh.dita; Revision: 234 Source Doc ID: 32 Run date:Wed Oct 17 15:07:13 EDT 2012 (Report: #188/Source: 1) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (ownerId)): (Report: #189/Source: 2) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (originalAuthorId)): (Report: #190/Source: 3) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (searchTermText)): },{[#32]/hh/hhhh.dita})},null,null,null,null) at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 78 more
    via by Mike Riley,
  • Added a new role to an existing Department, then click submit. The page shows a success message, but the document got an "EXCEPTION" status. Error happened behind the scene. Here's the stack trace from local console: org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.rice.kim.impl.role.RoleMemberBo@11fa038c[id=10147,roleId=KPME0017,attributeDetails=[org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo@6d69dbd1[assignedToId=10147,id=10147,attributeValue=PP,kimAttributeId=KPME0002,kimTypeId=KPME0002,versionNumber=2,objectId=<null>,newCollectionRecord=false]],roleRspActions=[],attributes=<null>,memberName=approver1,memberNamespaceCode=,memberId=10017,typeCode=P,activeFromDateValue=2013-07-02 00:00:00.0,activeToDateValue=2013-07-26 15:39:41.919,versionNumber=2,objectId=5e38a0be-3fd4-4c2d-81a4-06f6dd4f87b2,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:243) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:245) at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy92.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:70) at sun.reflect.GeneratedMethodAccessor987.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy93.save(Unknown Source) at org.kuali.rice.kim.impl.responsibility.ResponsibilityInternalServiceImpl.saveRoleMember(ResponsibilityInternalServiceImpl.java:49) at org.kuali.rice.kim.impl.role.RoleServiceImpl.updateRoleMember(RoleServiceImpl.java:1947) at sun.reflect.GeneratedMethodAccessor1090.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy141.updateRoleMember(Unknown Source) at sun.reflect.GeneratedMethodAccessor1090.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy142.updateRoleMember(Unknown Source) at sun.reflect.GeneratedMethodAccessor1090.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy142.updateRoleMember(Unknown Source) at org.kuali.kpme.core.department.web.DepartmentMaintainableImpl.customSaveLogic(DepartmentMaintainableImpl.java:147) at org.kuali.kpme.core.bo.HrBusinessObjectMaintainableImpl.saveBusinessObject(HrBusinessObjectMaintainableImpl.java:57) at org.kuali.rice.kns.maintenance.KualiMaintainableImpl.saveDataObject(KualiMaintainableImpl.java:311) at org.kuali.rice.krad.maintenance.MaintenanceDocumentBase.doRouteStatusChange(MaintenanceDocumentBase.java:544) at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:81) at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:61) at org.kuali.rice.krad.util.GlobalVariables.doInNewGlobalVariables(GlobalVariables.java:191) at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.doRouteStatusChange(PostProcessorServiceImpl.java:60) at sun.reflect.GeneratedMethodAccessor1063.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy105.doRouteStatusChange(Unknown Source) at sun.reflect.GeneratedMethodAccessor1063.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.kuali.rice.core.framework.persistence.jpa.NoResultExceptionInterceptor.invoke(NoResultExceptionInterceptor.java:33) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy106.doRouteStatusChange(Unknown Source) at org.kuali.rice.krad.workflow.postprocessor.KualiPostProcessor.doRouteStatusChange(KualiPostProcessor.java:56) at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:513) at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:423) at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:151) at org.kuali.rice.kew.impl.document.DocumentProcessingQueueImpl.processWithOptions(DocumentProcessingQueueImpl.java:62) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy180.processWithOptions(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.kuali.rice.ksb.messaging.MessageServiceInvoker.invokeService(MessageServiceInvoker.java:157) at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:72) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.rice.kim.impl.role.RoleMemberBo@11fa038c[id=10147,roleId=KPME0017,attributeDetails=[org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo@6d69dbd1[assignedToId=10147,id=10147,attributeValue=PP,kimAttributeId=KPME0002,kimTypeId=KPME0002,versionNumber=2,objectId=<null>,newCollectionRecord=false]],roleRspActions=[],attributes=<null>,memberName=approver1,memberNamespaceCode=,memberId=10017,typeCode=P,activeFromDateValue=2013-07-02 00:00:00.0,activeToDateValue=2013-07-26 15:39:41.919,versionNumber=2,objectId=5e38a0be-3fd4-4c2d-81a4-06f6dd4f87b2,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 115 more
    via by Ying Zhou,
  • ialm8 with leave plan MAXBTA and ialm9 MAXBPA Login as either user and try to access June leave calendar gives following error. ******************Stack Trace-Only shown when not in production***************** org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.leave.block.LeaveBlockBo@3a302397[earnCode=MBPA,workArea=,jobNumber=,task=,leaveAmount=1.00,leaveDate=Mon Jun 30 00:00:00 EDT 2014,description=,scheduleTimeOffId=,accrualCategory=MBPA,accrualGenerated=true,blockId=0,requestStatus=A,leaveBlockType=AS,documentStatus=,principalIdModified=,leaveBlockHistories=[],leaveRequestDocumentId=,lmLeaveBlockId=11650,userPrincipalId=,beginDate=,submit=false,reason=,assignmentKey=,calendarId=885,planningDescription=,accrualCategoryRule=org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@2e70ac59[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=],accrualCategoryObj=org.kuali.kpme.core.api.accrualcategory.AccrualCategory@67431ee0[hasRules=Y,minPercentWorked=0.00,lmAccrualCategoryId=15,leavePlan=MAXBPA,accrualCategory=MBPA,descr=MB Payout on Approve,accrualEarnInterval=M,proration=N,donation=Y,showOnGrid=Y,unitOfTime=H,earnCode=MBPA,earnCodeObj=,id=15,effectiveLocalDate=2010-01-01,userPrincipalId=admin,createTime=2010-01-01T00:00:00.000-05:00,accrualCategoryRules=[org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@67a03916[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=]],versionNumber=1,objectId=,active=true,_futureElements=],principalHRAttributes=,affectPay=,transactionalDocId=,groupKeyCode=,groupKey=,hrCalendarBlockId=,principalId=10091,userPrincipalId=,documentId=3366,beginTimestamp=2014-07-07 16:55:31.0,endTimestamp=,timestamp=2014-07-07 00:00:00.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=,workArea=,jobNumber=,task=,concreteBlockType=org.kuali.kpme.tklm.leave.block.LeaveBlockBo,concreteBlockId=,versionNumber=2,objectId=194dbc4a-fdb2-4481-9542-b22f9d77f178,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:261) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:254) at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy292.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:77) at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy293.save(Unknown Source) at org.kuali.kpme.tklm.leave.block.service.LeaveBlockServiceImpl.saveLeaveBlockBos(LeaveBlockServiceImpl.java:136) at org.kuali.kpme.tklm.leave.block.service.LeaveBlockServiceImpl.saveLeaveBlocks(LeaveBlockServiceImpl.java:130) at sun.reflect.GeneratedMethodAccessor3683.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy452.saveLeaveBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3683.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy453.saveLeaveBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3683.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy453.saveLeaveBlocks(Unknown Source) at org.kuali.kpme.tklm.leave.calendar.service.LeaveCalendarServiceImpl.updateLeaveBlockDocumentIds(LeaveCalendarServiceImpl.java:163) at org.kuali.kpme.tklm.leave.calendar.service.LeaveCalendarServiceImpl.initiateWorkflowDocument(LeaveCalendarServiceImpl.java:147) at org.kuali.kpme.tklm.leave.calendar.service.LeaveCalendarServiceImpl.openLeaveCalendarDocument(LeaveCalendarServiceImpl.java:101) at sun.reflect.GeneratedMethodAccessor3685.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy457.openLeaveCalendarDocument(Unknown Source) at org.kuali.kpme.tklm.leave.calendar.web.LeaveCalendarAction.execute(LeaveCalendarAction.java:172) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kns.web.filter.ParameterFilter.doFilter(ParameterFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:213) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.leave.block.LeaveBlockBo@3a302397[earnCode=MBPA,workArea=,jobNumber=,task=,leaveAmount=1.00,leaveDate=Mon Jun 30 00:00:00 EDT 2014,description=,scheduleTimeOffId=,accrualCategory=MBPA,accrualGenerated=true,blockId=0,requestStatus=A,leaveBlockType=AS,documentStatus=,principalIdModified=,leaveBlockHistories=[],leaveRequestDocumentId=,lmLeaveBlockId=11650,userPrincipalId=,beginDate=,submit=false,reason=,assignmentKey=,calendarId=885,planningDescription=,accrualCategoryRule=org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@2e70ac59[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=],accrualCategoryObj=org.kuali.kpme.core.api.accrualcategory.AccrualCategory@67431ee0[hasRules=Y,minPercentWorked=0.00,lmAccrualCategoryId=15,leavePlan=MAXBPA,accrualCategory=MBPA,descr=MB Payout on Approve,accrualEarnInterval=M,proration=N,donation=Y,showOnGrid=Y,unitOfTime=H,earnCode=MBPA,earnCodeObj=,id=15,effectiveLocalDate=2010-01-01,userPrincipalId=admin,createTime=2010-01-01T00:00:00.000-05:00,accrualCategoryRules=[org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@67a03916[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=]],versionNumber=1,objectId=,active=true,_futureElements=],principalHRAttributes=,affectPay=,transactionalDocId=,groupKeyCode=,groupKey=,hrCalendarBlockId=,principalId=10091,userPrincipalId=,documentId=3366,beginTimestamp=2014-07-07 16:55:31.0,endTimestamp=,timestamp=2014-07-07 00:00:00.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=,workArea=,jobNumber=,task=,concreteBlockType=org.kuali.kpme.tklm.leave.block.LeaveBlockBo,concreteBlockId=,versionNumber=2,objectId=194dbc4a-fdb2-4481-9542-b22f9d77f178,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 146 more
    via by Mindi Balmer,
  • added timeblock to August 14th for ialmclockdetail1's Aug 1 to 15 timesheet ******************Stack Trace-Only shown when not in production***************** org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlockBo@35f471a5[tkTimeBlockId=10128,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=2.00,amount=0.00,beginTimeDisplay=2014-08-16T22:00:00.000-05:00,endTimeDisplay=2014-08-17T00:00:00.000-05:00,clockLogBeginId=10054,clockLogEndId=10055,assignmentKey=ISU-IA_1_1202_0,overtimePref=,userPrincipalId=10037,deleteable=,overtimeEditable=,clockedByMissedPunch=true,actionDateTime=2014-08-16T22:00:00.000-04:00,clockAction=CI,assignmentValue=IA-DEPT HR Work Area : $0.00 Rcd 1 ,pushBackward=false,leaveAmount=0.0,leaveDate=,groupKeyCode=ISU-IA,groupKey=org.kuali.kpme.core.api.groupkey.HrGroupKey@4351234f[location=,institutionCode=ISU,description=Iowa State University - Ames,campus=,institution=,groupKeyCode=ISU-IA,locationId=IA,campusCode=,versionNumber=,objectId=,active=true,id=5,effectiveLocalDate=2010-01-01,createTime=1970-01-01T00:00:00.000-05:00,userPrincipalId=admin,_futureElements=],hrCalendarBlockId=,principalId=10044,userPrincipalId=,documentId=50245,beginTimestamp=2014-08-16 23:00:00.0,endTimestamp=2014-08-17 01:00:00.0,timestamp=2014-08-17 18:45:51.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=RGH,workArea=1202,jobNumber=1,task=0,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlockBo,concreteBlockId=10128,versionNumber=8,objectId=c60532b7-e255-4d48-88f7-d311252ad2c2,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:261) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:254) at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy292.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:77) at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy293.save(Unknown Source) at org.kuali.kpme.tklm.time.timeblock.service.TimeBlockServiceImpl.saveOrUpdateTimeBlocks(TimeBlockServiceImpl.java:217) at sun.reflect.GeneratedMethodAccessor3151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy461.saveOrUpdateTimeBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy462.saveOrUpdateTimeBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy462.saveOrUpdateTimeBlocks(Unknown Source) at org.kuali.kpme.tklm.time.timesheet.TimesheetUtils.processTimeBlocksWithRuleChange(TimesheetUtils.java:38) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.changeTimeBlocks(TimeDetailAction.java:662) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.addTimeBlock(TimeDetailAction.java:429) at sun.reflect.GeneratedMethodAccessor3420.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:170) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:128) at org.kuali.kpme.core.web.KPMEAction.execute(KPMEAction.java:54) at org.kuali.kpme.tklm.time.timesheet.web.TimesheetAction.execute(TimesheetAction.java:172) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.execute(TimeDetailAction.java:107) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kns.web.filter.ParameterFilter.doFilter(ParameterFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:213) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlockBo@35f471a5[tkTimeBlockId=10128,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=2.00,amount=0.00,beginTimeDisplay=2014-08-16T22:00:00.000-05:00,endTimeDisplay=2014-08-17T00:00:00.000-05:00,clockLogBeginId=10054,clockLogEndId=10055,assignmentKey=ISU-IA_1_1202_0,overtimePref=,userPrincipalId=10037,deleteable=,overtimeEditable=,clockedByMissedPunch=true,actionDateTime=2014-08-16T22:00:00.000-04:00,clockAction=CI,assignmentValue=IA-DEPT HR Work Area : $0.00 Rcd 1 ,pushBackward=false,leaveAmount=0.0,leaveDate=,groupKeyCode=ISU-IA,groupKey=org.kuali.kpme.core.api.groupkey.HrGroupKey@4351234f[location=,institutionCode=ISU,description=Iowa State University - Ames,campus=,institution=,groupKeyCode=ISU-IA,locationId=IA,campusCode=,versionNumber=,objectId=,active=true,id=5,effectiveLocalDate=2010-01-01,createTime=1970-01-01T00:00:00.000-05:00,userPrincipalId=admin,_futureElements=],hrCalendarBlockId=,principalId=10044,userPrincipalId=,documentId=50245,beginTimestamp=2014-08-16 23:00:00.0,endTimestamp=2014-08-17 01:00:00.0,timestamp=2014-08-17 18:45:51.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=RGH,workArea=1202,jobNumber=1,task=0,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlockBo,concreteBlockId=10128,versionNumber=8,objectId=c60532b7-e255-4d48-88f7-d311252ad2c2,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 141 more
    via by Mindi Balmer,
  • ialm8 with leave plan MAXBTA and ialm9 MAXBPA Login as either user and try to access June leave calendar gives following error. ******************Stack Trace-Only shown when not in production***************** org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.leave.block.LeaveBlockBo@3a302397[earnCode=MBPA,workArea=,jobNumber=,task=,leaveAmount=1.00,leaveDate=Mon Jun 30 00:00:00 EDT 2014,description=,scheduleTimeOffId=,accrualCategory=MBPA,accrualGenerated=true,blockId=0,requestStatus=A,leaveBlockType=AS,documentStatus=,principalIdModified=,leaveBlockHistories=[],leaveRequestDocumentId=,lmLeaveBlockId=11650,userPrincipalId=,beginDate=,submit=false,reason=,assignmentKey=,calendarId=885,planningDescription=,accrualCategoryRule=org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@2e70ac59[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=],accrualCategoryObj=org.kuali.kpme.core.api.accrualcategory.AccrualCategory@67431ee0[hasRules=Y,minPercentWorked=0.00,lmAccrualCategoryId=15,leavePlan=MAXBPA,accrualCategory=MBPA,descr=MB Payout on Approve,accrualEarnInterval=M,proration=N,donation=Y,showOnGrid=Y,unitOfTime=H,earnCode=MBPA,earnCodeObj=,id=15,effectiveLocalDate=2010-01-01,userPrincipalId=admin,createTime=2010-01-01T00:00:00.000-05:00,accrualCategoryRules=[org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@67a03916[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=]],versionNumber=1,objectId=,active=true,_futureElements=],principalHRAttributes=,affectPay=,transactionalDocId=,groupKeyCode=,groupKey=,hrCalendarBlockId=,principalId=10091,userPrincipalId=,documentId=3366,beginTimestamp=2014-07-07 16:55:31.0,endTimestamp=,timestamp=2014-07-07 00:00:00.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=,workArea=,jobNumber=,task=,concreteBlockType=org.kuali.kpme.tklm.leave.block.LeaveBlockBo,concreteBlockId=,versionNumber=2,objectId=194dbc4a-fdb2-4481-9542-b22f9d77f178,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:261) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:254) at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy292.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:77) at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy293.save(Unknown Source) at org.kuali.kpme.tklm.leave.block.service.LeaveBlockServiceImpl.saveLeaveBlockBos(LeaveBlockServiceImpl.java:136) at org.kuali.kpme.tklm.leave.block.service.LeaveBlockServiceImpl.saveLeaveBlocks(LeaveBlockServiceImpl.java:130) at sun.reflect.GeneratedMethodAccessor3683.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy452.saveLeaveBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3683.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy453.saveLeaveBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3683.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy453.saveLeaveBlocks(Unknown Source) at org.kuali.kpme.tklm.leave.calendar.service.LeaveCalendarServiceImpl.updateLeaveBlockDocumentIds(LeaveCalendarServiceImpl.java:163) at org.kuali.kpme.tklm.leave.calendar.service.LeaveCalendarServiceImpl.initiateWorkflowDocument(LeaveCalendarServiceImpl.java:147) at org.kuali.kpme.tklm.leave.calendar.service.LeaveCalendarServiceImpl.openLeaveCalendarDocument(LeaveCalendarServiceImpl.java:101) at sun.reflect.GeneratedMethodAccessor3685.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy457.openLeaveCalendarDocument(Unknown Source) at org.kuali.kpme.tklm.leave.calendar.web.LeaveCalendarAction.execute(LeaveCalendarAction.java:172) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kns.web.filter.ParameterFilter.doFilter(ParameterFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:213) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.leave.block.LeaveBlockBo@3a302397[earnCode=MBPA,workArea=,jobNumber=,task=,leaveAmount=1.00,leaveDate=Mon Jun 30 00:00:00 EDT 2014,description=,scheduleTimeOffId=,accrualCategory=MBPA,accrualGenerated=true,blockId=0,requestStatus=A,leaveBlockType=AS,documentStatus=,principalIdModified=,leaveBlockHistories=[],leaveRequestDocumentId=,lmLeaveBlockId=11650,userPrincipalId=,beginDate=,submit=false,reason=,assignmentKey=,calendarId=885,planningDescription=,accrualCategoryRule=org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@2e70ac59[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=],accrualCategoryObj=org.kuali.kpme.core.api.accrualcategory.AccrualCategory@67431ee0[hasRules=Y,minPercentWorked=0.00,lmAccrualCategoryId=15,leavePlan=MAXBPA,accrualCategory=MBPA,descr=MB Payout on Approve,accrualEarnInterval=M,proration=N,donation=Y,showOnGrid=Y,unitOfTime=H,earnCode=MBPA,earnCodeObj=,id=15,effectiveLocalDate=2010-01-01,userPrincipalId=admin,createTime=2010-01-01T00:00:00.000-05:00,accrualCategoryRules=[org.kuali.kpme.core.api.accrualcategory.rule.AccrualCategoryRule@67a03916[serviceUnitOfTime=M,start=0,end=9999,accrualRate=1.00,maxBalance=9.00,lmAccrualCategoryRuleId=21,maxBalFlag=Y,maxBalanceActionFrequency=LA,actionAtMaxBalance=P,maxBalanceTransferToAccrualCategory=,maxBalanceTransferConversionFactor=,maxTransferAmount=,maxPayoutAmount=10,maxPayoutEarnCode=POUTA,maxUsage=,maxCarryOver=,lmAccrualCategoryId=15,versionNumber=1,objectId=,active=true,id=21,createTime=2010-01-01T00:00:00.000-05:00,effectiveLocalDate=,userPrincipalId=admin,_futureElements=]],versionNumber=1,objectId=,active=true,_futureElements=],principalHRAttributes=,affectPay=,transactionalDocId=,groupKeyCode=,groupKey=,hrCalendarBlockId=,principalId=10091,userPrincipalId=,documentId=3366,beginTimestamp=2014-07-07 16:55:31.0,endTimestamp=,timestamp=2014-07-07 00:00:00.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=,workArea=,jobNumber=,task=,concreteBlockType=org.kuali.kpme.tklm.leave.block.LeaveBlockBo,concreteBlockId=,versionNumber=2,objectId=194dbc4a-fdb2-4481-9542-b22f9d77f178,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 146 more
    via by Mindi Balmer,
  • added timeblock to August 14th for ialmclockdetail1's Aug 1 to 15 timesheet ******************Stack Trace-Only shown when not in production***************** org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlockBo@35f471a5[tkTimeBlockId=10128,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=2.00,amount=0.00,beginTimeDisplay=2014-08-16T22:00:00.000-05:00,endTimeDisplay=2014-08-17T00:00:00.000-05:00,clockLogBeginId=10054,clockLogEndId=10055,assignmentKey=ISU-IA_1_1202_0,overtimePref=,userPrincipalId=10037,deleteable=,overtimeEditable=,clockedByMissedPunch=true,actionDateTime=2014-08-16T22:00:00.000-04:00,clockAction=CI,assignmentValue=IA-DEPT HR Work Area : $0.00 Rcd 1 ,pushBackward=false,leaveAmount=0.0,leaveDate=,groupKeyCode=ISU-IA,groupKey=org.kuali.kpme.core.api.groupkey.HrGroupKey@4351234f[location=,institutionCode=ISU,description=Iowa State University - Ames,campus=,institution=,groupKeyCode=ISU-IA,locationId=IA,campusCode=,versionNumber=,objectId=,active=true,id=5,effectiveLocalDate=2010-01-01,createTime=1970-01-01T00:00:00.000-05:00,userPrincipalId=admin,_futureElements=],hrCalendarBlockId=,principalId=10044,userPrincipalId=,documentId=50245,beginTimestamp=2014-08-16 23:00:00.0,endTimestamp=2014-08-17 01:00:00.0,timestamp=2014-08-17 18:45:51.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=RGH,workArea=1202,jobNumber=1,task=0,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlockBo,concreteBlockId=10128,versionNumber=8,objectId=c60532b7-e255-4d48-88f7-d311252ad2c2,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:261) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:254) at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy292.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:77) at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy293.save(Unknown Source) at org.kuali.kpme.tklm.time.timeblock.service.TimeBlockServiceImpl.saveOrUpdateTimeBlocks(TimeBlockServiceImpl.java:217) at sun.reflect.GeneratedMethodAccessor3151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy461.saveOrUpdateTimeBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy462.saveOrUpdateTimeBlocks(Unknown Source) at sun.reflect.GeneratedMethodAccessor3151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy462.saveOrUpdateTimeBlocks(Unknown Source) at org.kuali.kpme.tklm.time.timesheet.TimesheetUtils.processTimeBlocksWithRuleChange(TimesheetUtils.java:38) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.changeTimeBlocks(TimeDetailAction.java:662) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.addTimeBlock(TimeDetailAction.java:429) at sun.reflect.GeneratedMethodAccessor3420.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:170) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:128) at org.kuali.kpme.core.web.KPMEAction.execute(KPMEAction.java:54) at org.kuali.kpme.tklm.time.timesheet.web.TimesheetAction.execute(TimesheetAction.java:172) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.execute(TimeDetailAction.java:107) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kns.web.filter.ParameterFilter.doFilter(ParameterFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:213) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlockBo@35f471a5[tkTimeBlockId=10128,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=2.00,amount=0.00,beginTimeDisplay=2014-08-16T22:00:00.000-05:00,endTimeDisplay=2014-08-17T00:00:00.000-05:00,clockLogBeginId=10054,clockLogEndId=10055,assignmentKey=ISU-IA_1_1202_0,overtimePref=,userPrincipalId=10037,deleteable=,overtimeEditable=,clockedByMissedPunch=true,actionDateTime=2014-08-16T22:00:00.000-04:00,clockAction=CI,assignmentValue=IA-DEPT HR Work Area : $0.00 Rcd 1 ,pushBackward=false,leaveAmount=0.0,leaveDate=,groupKeyCode=ISU-IA,groupKey=org.kuali.kpme.core.api.groupkey.HrGroupKey@4351234f[location=,institutionCode=ISU,description=Iowa State University - Ames,campus=,institution=,groupKeyCode=ISU-IA,locationId=IA,campusCode=,versionNumber=,objectId=,active=true,id=5,effectiveLocalDate=2010-01-01,createTime=1970-01-01T00:00:00.000-05:00,userPrincipalId=admin,_futureElements=],hrCalendarBlockId=,principalId=10044,userPrincipalId=,documentId=50245,beginTimestamp=2014-08-16 23:00:00.0,endTimestamp=2014-08-17 01:00:00.0,timestamp=2014-08-17 18:45:51.0,lunchDeleted=false,hours=,amount=,overtimePref=,earnCode=RGH,workArea=1202,jobNumber=1,task=0,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlockBo,concreteBlockId=10128,versionNumber=8,objectId=c60532b7-e255-4d48-88f7-d311252ad2c2,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 141 more
    via by Mindi Balmer,
  • It appears that the CRUD and Batch process sometimes step on each others toes, and modify the same record, and cause optimistic lock exceptions. I saw this happen on both kms_doc_rev_t table and the KEW doc header (see exception below), and would not be surprised if other referenced/updateable object updates could be the target as well. I was able to repeat this problem pretty easily by initiating a new content request, saving, and then immediately clicking 'attempt to edit', pausing for a bit (e.g. 20seconds), then clicking save again. This message will be displayed: This document has already been modified by another user. Press the "reload" button to replace your copy of the document with the newer version. ..and the following exception below shows up in the console log. Perhaps we can limp along with this for now, but eventually we should consider a fix for this. Two solutions immediately come to mind: 1) lock the document in the batch processor (perhaps both an svn lock, and a kew lock), 2) modify the CRUD commit logic to re-fetch objects before saving, and check for, and ignore changes ...as appropriate. Option 2 might be nasty as we can't be sure exactly what may have changed: the KEW DOC, or kms_doc_rev_t...or some other child object, and it seems like a nasty code that would be responsible for figuring out what was changed, and whether the change can be ignored. In particular, as I think about it, I definitely don't like the idea of refetching the KEW DOC and attempting to figure out what changes occurred and if they can be ignored. That seems like a nasty hack. So my preference would be option 1. Here is the console logged stackdump of an example optimistic lock exception: 2012-10-17 15:07:13,389 [http-bio-8080-exec-9:] FATAL org.kuali.rice.core.database.KualiTransactionInterceptor.completeTransactionAfterThrowing() :: Exception caught by Transaction Interceptor, this will cause a rollback at the end of the transaction. org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: kmsDocumentRevisiondocumentHeaderId(branchId,documentId,isPublished,lastSvnRevision,isRendering,{kmsDocument},smeApprovalDate,smeApprovalById,publishOnDate,wasPublishedOn)=3920(1,32,N,234,Y,{kmsDocument(branchId,documentId,legacyDocumentId,lastSvnRevisionId,lastKmsDocumentRevisionId,createDate,lastModifiedDate,{kmsDocumentMetadata},{kmsBranch},{kmsValidationReport},{kmsFileName})=(1,32,null,234,3920,2012-10-17 15:00:59.0,2012-10-17 15:07:13.139,{kmsDocumentMetadata(documentId,svnRevisionId,ownerId,reviewCycleIntervalCount,reviewIntervalUnitsCode,reviewSetByUserId,reviewSetOnDate,reviewNote,frozenIndicator,frozenSetByUserId,frozenSetOnDate,frozenNote,visibleCode,{documentReferences},{documentTitles},{documentAudiences},{documentAuthors},{documentExpirationDates},{documentExtras},{documentResources},{documentTags})=(32,234,null,null,null,null,null,null,N,null,null,null,visible,{[]},{[audienceId=main : titleText=asdfghijkl]},{[default, kbstaff]},{[]},{[]},{[]},{[]},{[]})},{kmsBranch(branchId,branchName,branchDescription,fromPath,toPath,renderStoreReadyIndicator)=(1,trunk,trunk,null,/trunk,T)},{Subversion path: /trunk/hh/hhhh.dita; Revision: 234 Source Doc ID: 32 Run date:Wed Oct 17 15:07:13 EDT 2012 (Report: #188/Source: 1) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (ownerId)): (Report: #189/Source: 2) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (originalAuthorId)): (Report: #190/Source: 3) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (searchTermText)): },{[#32]/hh/hhhh.dita})},null,null,null,null) at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.kns.dao.impl.DocumentDaoOjb.save(DocumentDaoOjb.java:66) at org.kuali.rice.kns.dao.proxy.DocumentDaoProxy.save(DocumentDaoProxy.java:143) at sun.reflect.GeneratedMethodAccessor806.invoke(Unknown Source) 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy41.save(Unknown Source) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.validateAndPersistDocument(DocumentServiceImpl.java:687) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.validateAndPersistDocumentAndSaveAdHocRoutingRecipients(DocumentServiceImpl.java:363) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:125) at org.kuali.rice.kns.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:109) at sun.reflect.GeneratedMethodAccessor829.invoke(Unknown Source) 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.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy49.saveDocument(Unknown Source) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.save(KualiDocumentActionBase.java:544) at org.kuali.kits.kms.web.KmsDocumentAction.save(KmsDocumentAction.java:517) 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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:172) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:123) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:118) at org.kuali.kits.kms.web.KmsDocumentAction.execute(KmsDocumentAction.java:99) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:273) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:86) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:266) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:164) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: kmsDocumentRevisiondocumentHeaderId(branchId,documentId,isPublished,lastSvnRevision,isRendering,{kmsDocument},smeApprovalDate,smeApprovalById,publishOnDate,wasPublishedOn)=3920(1,32,N,234,Y,{kmsDocument(branchId,documentId,legacyDocumentId,lastSvnRevisionId,lastKmsDocumentRevisionId,createDate,lastModifiedDate,{kmsDocumentMetadata},{kmsBranch},{kmsValidationReport},{kmsFileName})=(1,32,null,234,3920,2012-10-17 15:00:59.0,2012-10-17 15:07:13.139,{kmsDocumentMetadata(documentId,svnRevisionId,ownerId,reviewCycleIntervalCount,reviewIntervalUnitsCode,reviewSetByUserId,reviewSetOnDate,reviewNote,frozenIndicator,frozenSetByUserId,frozenSetOnDate,frozenNote,visibleCode,{documentReferences},{documentTitles},{documentAudiences},{documentAuthors},{documentExpirationDates},{documentExtras},{documentResources},{documentTags})=(32,234,null,null,null,null,null,null,N,null,null,null,visible,{[]},{[audienceId=main : titleText=asdfghijkl]},{[default, kbstaff]},{[]},{[]},{[]},{[]},{[]})},{kmsBranch(branchId,branchName,branchDescription,fromPath,toPath,renderStoreReadyIndicator)=(1,trunk,trunk,null,/trunk,T)},{Subversion path: /trunk/hh/hhhh.dita; Revision: 234 Source Doc ID: 32 Run date:Wed Oct 17 15:07:13 EDT 2012 (Report: #188/Source: 1) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (ownerId)): (Report: #189/Source: 2) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (originalAuthorId)): (Report: #190/Source: 3) Path: /trunk/hh/hhhh.dita [WARNING] MALFORMED_METADATA. could not validate results of field mapper( XmlToRiceFieldMapper (searchTermText)): },{[#32]/hh/hhhh.dita})},null,null,null,null) at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 78 more
    via by Mike Riley,
  • Added a new role to an existing Department, then click submit. The page shows a success message, but the document got an "EXCEPTION" status. Error happened behind the scene. Here's the stack trace from local console: org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.rice.kim.impl.role.RoleMemberBo@11fa038c[id=10147,roleId=KPME0017,attributeDetails=[org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo@6d69dbd1[assignedToId=10147,id=10147,attributeValue=PP,kimAttributeId=KPME0002,kimTypeId=KPME0002,versionNumber=2,objectId=<null>,newCollectionRecord=false]],roleRspActions=[],attributes=<null>,memberName=approver1,memberNamespaceCode=,memberId=10017,typeCode=P,activeFromDateValue=2013-07-02 00:00:00.0,activeToDateValue=2013-07-26 15:39:41.919,versionNumber=2,objectId=5e38a0be-3fd4-4c2d-81a4-06f6dd4f87b2,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.rice.krad.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:243) at org.kuali.rice.krad.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:245) at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy92.save(Unknown Source) at org.kuali.rice.krad.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:70) at sun.reflect.GeneratedMethodAccessor987.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy93.save(Unknown Source) at org.kuali.rice.kim.impl.responsibility.ResponsibilityInternalServiceImpl.saveRoleMember(ResponsibilityInternalServiceImpl.java:49) at org.kuali.rice.kim.impl.role.RoleServiceImpl.updateRoleMember(RoleServiceImpl.java:1947) at sun.reflect.GeneratedMethodAccessor1090.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy141.updateRoleMember(Unknown Source) at sun.reflect.GeneratedMethodAccessor1090.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy142.updateRoleMember(Unknown Source) at sun.reflect.GeneratedMethodAccessor1090.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy142.updateRoleMember(Unknown Source) at org.kuali.kpme.core.department.web.DepartmentMaintainableImpl.customSaveLogic(DepartmentMaintainableImpl.java:147) at org.kuali.kpme.core.bo.HrBusinessObjectMaintainableImpl.saveBusinessObject(HrBusinessObjectMaintainableImpl.java:57) at org.kuali.rice.kns.maintenance.KualiMaintainableImpl.saveDataObject(KualiMaintainableImpl.java:311) at org.kuali.rice.krad.maintenance.MaintenanceDocumentBase.doRouteStatusChange(MaintenanceDocumentBase.java:544) at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:81) at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:61) at org.kuali.rice.krad.util.GlobalVariables.doInNewGlobalVariables(GlobalVariables.java:191) at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.doRouteStatusChange(PostProcessorServiceImpl.java:60) at sun.reflect.GeneratedMethodAccessor1063.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy105.doRouteStatusChange(Unknown Source) at sun.reflect.GeneratedMethodAccessor1063.invoke(Unknown Source) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.kuali.rice.core.framework.persistence.jpa.NoResultExceptionInterceptor.invoke(NoResultExceptionInterceptor.java:33) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy106.doRouteStatusChange(Unknown Source) at org.kuali.rice.krad.workflow.postprocessor.KualiPostProcessor.doRouteStatusChange(KualiPostProcessor.java:56) at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:513) at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:423) at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:151) at org.kuali.rice.kew.impl.document.DocumentProcessingQueueImpl.processWithOptions(DocumentProcessingQueueImpl.java:62) 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:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy180.processWithOptions(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.kuali.rice.ksb.messaging.MessageServiceInvoker.invokeService(MessageServiceInvoker.java:157) at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:72) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.rice.kim.impl.role.RoleMemberBo@11fa038c[id=10147,roleId=KPME0017,attributeDetails=[org.kuali.rice.kim.impl.role.RoleMemberAttributeDataBo@6d69dbd1[assignedToId=10147,id=10147,attributeValue=PP,kimAttributeId=KPME0002,kimTypeId=KPME0002,versionNumber=2,objectId=<null>,newCollectionRecord=false]],roleRspActions=[],attributes=<null>,memberName=approver1,memberNamespaceCode=,memberId=10017,typeCode=P,activeFromDateValue=2013-07-02 00:00:00.0,activeToDateValue=2013-07-26 15:39:41.919,versionNumber=2,objectId=5e38a0be-3fd4-4c2d-81a4-06f6dd4f87b2,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 115 more
    via by Ying Zhou,
    • org.springmodules.orm.ojb.OjbOperationException: OJB operation failed; nested exception is org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlock@556e8852[tkTimeBlockId=10012,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=7.32,amount=0.00,beginTimeDisplay=2013-08-05T06:00:00.000-04:00,endTimeDisplay=2013-08-05T13:19:10.000-04:00,clockLogBeginId=10006,clockLogEndId=10007,assignmentKey=0_1023_100,overtimePref=,userPrincipalId=10008,deleteable=,overtimeEditable=,regEarnCodeEditable=,pushBackward=false,leaveAmount=0.0,hrCalendarBlockId=,principalId=10008,documentId=3139,beginTimestamp=2013-08-05 06:00:00.0,endTimestamp=2013-08-05 13:19:10.0,timestamp=2013-08-05 13:19:10.0,lunchDeleted=false,earnCode=RGH,workArea=1023,jobNumber=0,task=100,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlock,concreteBlockId=,versionNumber=2,objectId=b0340e1a-1f62-4a6b-989b-1187f1570e41,newCollectionRecord=false] at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244) at org.kuali.kpme.tklm.time.timeblock.dao.TimeBlockDaoOjbImpl.saveOrUpdate(TimeBlockDaoOjbImpl.java:39) at org.kuali.kpme.tklm.time.timeblock.service.TimeBlockServiceImpl.saveTimeBlocks(TimeBlockServiceImpl.java:205) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy443.saveTimeBlocks(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:213) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy444.saveTimeBlocks(Unknown Source) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.deleteLunchDeduction(TimeDetailAction.java:704) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:170) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:128) at org.kuali.kpme.core.web.KPMEAction.execute(KPMEAction.java:54) at org.kuali.kpme.tklm.time.timesheet.web.TimesheetAction.execute(TimesheetAction.java:157) at org.kuali.kpme.tklm.time.detail.web.TimeDetailAction.execute(TimeDetailAction.java:106) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:491) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:487) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:216) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:203) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:90) at org.kuali.kpme.core.KPMERequestProcessor.process(KPMERequestProcessor.java:43) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327) at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:75) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320) at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 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:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 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:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.kpme.tklm.time.timeblock.TimeBlock@556e8852[tkTimeBlockId=10012,beginDate=,endDate=,beginTime=,endTime=,earnCodeType=T,clockLogCreated=true,hours=7.32,amount=0.00,beginTimeDisplay=2013-08-05T06:00:00.000-04:00,endTimeDisplay=2013-08-05T13:19:10.000-04:00,clockLogBeginId=10006,clockLogEndId=10007,assignmentKey=0_1023_100,overtimePref=,userPrincipalId=10008,deleteable=,overtimeEditable=,regEarnCodeEditable=,pushBackward=false,leaveAmount=0.0,hrCalendarBlockId=,principalId=10008,documentId=3139,beginTimestamp=2013-08-05 06:00:00.0,endTimestamp=2013-08-05 13:19:10.0,timestamp=2013-08-05 13:19:10.0,lunchDeleted=false,earnCode=RGH,workArea=1023,jobNumber=0,task=100,concreteBlockType=org.kuali.kpme.tklm.time.timeblock.TimeBlock,concreteBlockId=,versionNumber=2,objectId=b0340e1a-1f62-4a6b-989b-1187f1570e41,newCollectionRecord=false] at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source) at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246) at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141) ... 101 more
    No Bugmate found.