org.apache.ojb.broker.OptimisticLockException

Object has been modified by someone else: kmsDocument(branchId,documentId,legacyDocumentId,lastSvnRevisionId,lastKmsDocumentRevisionId,createDate,lastModifiedDate,{kmsDocumentMetadata},{kmsBranch},{kmsValidationReport},{kmsFileName})=(1,3,null,7,3618,2011-12-09 13:35:02.43,2011-12-09 13:35:20.554,{kmsDocumentMetadata(documentId,svnRevisionId,ownerId,reviewCycleIntervalCount,reviewIntervalUnitsCode,reviewSetByUserId,reviewSetOnDate,reviewNote,frozenIndicator,frozenSetByUserId,frozenSetOnDate,frozenNote,visibleCode,{documentReferences},{documentTitles},{documentAudiences},{documentAuthors},{documentExpirationDates},{documentExtras},{documentResources},{documentTags})=(3,7,null,null,null,null,null,null,N,null,null,null,null,{[]},{[kmsDocumentTitle(documentId,svnRevisionId,audienceId,titleText)=(3,7,default,Shopping for groceries)]},{[]},{[kmsDocumentAuthor(documentId,svnRevisionId,originalAuthorId)=(3,7,Tom McIntyre)]},{[]},{[kmsDocumentExtra(documentId,svnRevisionId,searchTermText,searchTermWeight)=(3,7,grocery shopping,null)]},{[]},{[]})},{kmsBranch(branchId,branchName,branchDescription,fromPath,toPath)=(1,trunk,trunk,null,null)},{Subversion path: /trunk/one.dita; Revision: 7 Source Doc ID: 3 Run date:Fri Dec 09 13:35:20 EST 2011 (Report: #4/Source: 0) Path: /trunk/one.dita:3:36 [CRITICAL] (kbdoc/topic:id) DITA_ID_INVALID. Failed to find expected an ID of "one".: kbdoc },{[#3]/one.dita})

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

  • via Unknown by Weldon Sams,
  • via Unknown by Weldon Sams,
  • via Unknown by Asik Gongaju,
  • Stack trace

    • org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else: kmsDocument(branchId,documentId,legacyDocumentId,lastSvnRevisionId,lastKmsDocumentRevisionId,createDate,lastModifiedDate,{kmsDocumentMetadata},{kmsBranch},{kmsValidationReport},{kmsFileName})=(1,3,null,7,3618,2011-12-09 13:35:02.43,2011-12-09 13:35:20.554,{kmsDocumentMetadata(documentId,svnRevisionId,ownerId,reviewCycleIntervalCount,reviewIntervalUnitsCode,reviewSetByUserId,reviewSetOnDate,reviewNote,frozenIndicator,frozenSetByUserId,frozenSetOnDate,frozenNote,visibleCode,{documentReferences},{documentTitles},{documentAudiences},{documentAuthors},{documentExpirationDates},{documentExtras},{documentResources},{documentTags})=(3,7,null,null,null,null,null,null,N,null,null,null,null,{[]},{[kmsDocumentTitle(documentId,svnRevisionId,audienceId,titleText)=(3,7,default,Shopping for groceries)]},{[]},{[kmsDocumentAuthor(documentId,svnRevisionId,originalAuthorId)=(3,7,Tom McIntyre)]},{[]},{[kmsDocumentExtra(documentId,svnRevisionId,searchTermText,searchTermWeight)=(3,7,grocery shopping,null)]},{[]},{[]})},{kmsBranch(branchId,branchName,branchDescription,fromPath,toPath)=(1,trunk,trunk,null,null)},{Subversion path: /trunk/one.dita; Revision: 7 Source Doc ID: 3 Run date:Fri Dec 09 13:35:20 EST 2011 (Report: #4/Source: 0) Path: /trunk/one.dita:3:36 [CRITICAL] (kbdoc/topic:id) DITA_ID_INVALID. Failed to find expected an ID of "one".: kbdoc },{[#3]/one.dita}) 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.PersistenceBrokerImpl.storeAndLinkOneToOne(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeReferences(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) 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.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:616) 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.routeDocument(DocumentServiceImpl.java:183) 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:616) 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.routeDocument(Unknown Source) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.route(KualiDocumentActionBase.java:744) at org.kuali.kits.kms.web.KmsDocumentAction.route(KmsDocumentAction.java:222) 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:616) 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:69) 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:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) 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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.kuali.rice.kns.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.__handle(ContextHandler.java:689) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:203) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.