Advertisement
mugs

OptimisticLockException: Attachment

Jan 26th, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.45 KB | None | 0 0
  1. 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.krad.bo.Attachment@2cd8085[noteIdentifier=114384,attachmentMimeTypeCode=application/octet-stream,attachmentFileName=log4j.properties,attachmentIdentifier=d9325294-17aa-45ce-8ca0-4e89cb2d09a1,attachmentFileSize=9835,attachmentTypeCode=<null>,versionNumber=3,objectId=5fb4114d-3435-4550-8299-7bd519786687,newCollectionRecord=false]
  2. at org.springmodules.orm.ojb.OjbAccessor.convertOjbAccessException(OjbAccessor.java:92)
  3. at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:144)
  4. at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244)
  5. at org.kuali.rice.krad.dao.impl.NoteDaoOjb.save(NoteDaoOjb.java:69)
  6. at org.kuali.rice.krad.dao.proxy.NoteDaoProxy.save(NoteDaoProxy.java:38)
  7. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  8. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  9. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  10. at java.lang.reflect.Method.invoke(Method.java:606)
  11. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  12. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  13. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  14. at org.kuali.rice.core.framework.persistence.jpa.NoResultExceptionInterceptor.invoke(NoResultExceptionInterceptor.java:33)
  15. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  16. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  17. at com.sun.proxy.$Proxy106.save(Unknown Source)
  18. at org.kuali.rice.krad.service.impl.NoteServiceImpl.save(NoteServiceImpl.java:67)
  19. at org.kuali.rice.krad.service.impl.NoteServiceImpl.saveNoteList(NoteServiceImpl.java:54)
  20. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  21. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  22. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  23. at java.lang.reflect.Method.invoke(Method.java:606)
  24. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  25. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  26. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  27. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  28. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  29. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  30. at com.sun.proxy.$Proxy108.saveNoteList(Unknown Source)
  31. at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocumentNotes(DocumentServiceImpl.java:969)
  32. at org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocument(DocumentServiceImpl.java:866)
  33. at org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocumentAndSaveAdHocRoutingRecipients(DocumentServiceImpl.java:470)
  34. at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:129)
  35. at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:110)
  36. at za.org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl$1.call(PurchaseOrderServiceImpl.java:589)
  37. at za.org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl$1.call(PurchaseOrderServiceImpl.java:547)
  38. at org.kuali.rice.krad.util.GlobalVariables.doInNewGlobalVariables(GlobalVariables.java:191)
  39. at za.org.kuali.kfs.module.purap.document.service.impl.PurchaseOrderServiceImpl.updateTenders(PurchaseOrderServiceImpl.java:547)
  40. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  41. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  42. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  43. at java.lang.reflect.Method.invoke(Method.java:606)
  44. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  45. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  46. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  47. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  48. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  49. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  50. at com.sun.proxy.$Proxy295.updateTenders(Unknown Source)
  51. at za.org.kuali.kfs.fp.document.ContractDisbursementVoucherDocument.doRouteStatusChange(ContractDisbursementVoucherDocument.java:106)
  52. at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:81)
  53. at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl$1.call(PostProcessorServiceImpl.java:61)
  54. at org.kuali.rice.krad.util.GlobalVariables.doInNewGlobalVariables(GlobalVariables.java:191)
  55. at org.kuali.rice.krad.service.impl.PostProcessorServiceImpl.doRouteStatusChange(PostProcessorServiceImpl.java:60)
  56. at sun.reflect.GeneratedMethodAccessor985.invoke(Unknown Source)
  57. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  58. at java.lang.reflect.Method.invoke(Method.java:606)
  59. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  60. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  61. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  62. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  63. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  64. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  65. at com.sun.proxy.$Proxy113.doRouteStatusChange(Unknown Source)
  66. at sun.reflect.GeneratedMethodAccessor985.invoke(Unknown Source)
  67. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  68. at java.lang.reflect.Method.invoke(Method.java:606)
  69. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  70. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  71. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  72. at org.kuali.rice.core.framework.persistence.jpa.NoResultExceptionInterceptor.invoke(NoResultExceptionInterceptor.java:33)
  73. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  74. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  75. at com.sun.proxy.$Proxy114.doRouteStatusChange(Unknown Source)
  76. at org.kuali.kfs.sys.document.workflow.PostProcessor.doRouteStatusChange(PostProcessor.java:53)
  77. at org.kuali.rice.kew.engine.StandardWorkflowEngine.notifyPostProcessor(StandardWorkflowEngine.java:513)
  78. at org.kuali.rice.kew.engine.StandardWorkflowEngine.nodePostProcess(StandardWorkflowEngine.java:423)
  79. at org.kuali.rice.kew.engine.StandardWorkflowEngine.process(StandardWorkflowEngine.java:151)
  80. at org.kuali.rice.kew.impl.document.DocumentProcessingQueueImpl.processWithOptions(DocumentProcessingQueueImpl.java:66)
  81. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  82. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  83. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  84. at java.lang.reflect.Method.invoke(Method.java:606)
  85. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
  86. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  87. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  88. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
  89. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  90. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  91. at com.sun.proxy.$Proxy200.processWithOptions(Unknown Source)
  92. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  93. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  94. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  95. at java.lang.reflect.Method.invoke(Method.java:606)
  96. at org.kuali.rice.ksb.messaging.MessageServiceInvoker.invokeService(MessageServiceInvoker.java:157)
  97. at org.kuali.rice.ksb.messaging.MessageServiceInvoker$1.doInTransaction(MessageServiceInvoker.java:72)
  98. at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
  99. at org.kuali.rice.ksb.messaging.MessageServiceInvoker.run(MessageServiceInvoker.java:67)
  100. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  101. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  102. at java.lang.Thread.run(Thread.java:745)
  103. Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: org.kuali.rice.krad.bo.Attachment@2cd8085[noteIdentifier=114384,attachmentMimeTypeCode=application/octet-stream,attachmentFileName=log4j.properties,attachmentIdentifier=d9325294-17aa-45ce-8ca0-4e89cb2d09a1,attachmentFileSize=9835,attachmentTypeCode=<null>,versionNumber=3,objectId=5fb4114d-3435-4550-8299-7bd519786687,newCollectionRecord=false]
  104. at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(Unknown Source)
  105. at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source)
  106. at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
  107. at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
  108. at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
  109. at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeAndLinkOneToOne(Unknown Source)
  110. at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeReferences(Unknown Source)
  111. at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source)
  112. at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
  113. at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
  114. at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)
  115. at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source)
  116. at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source)
  117. at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246)
  118. at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141)
  119. ... 99 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement