Details

      Description

      Steps to reproduce:

      1. Configuration for OneDrive credentials
      2. Enable OpenNLP Text Auto Tagging
      3. Navigate to DM
      4. Add a Word document with some content that can be auto tagged, like: Alice's Adventures in Wonderland
      5. Go back to portal to checkin it
      6. Delete this document

      Expected results: Delete successful and no error throws.
      Actual results: Fail to delete it and error throws on the console:

      2019-09-19 05:21:46.034 ERROR [http-nio-8080-exec-3][PortletServlet:119] javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870506003,"mvccVersion":"2","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870449022,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"} is stale in comparison to {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870505903,"mvccVersion":"3","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870505903,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"}
      javax.portlet.PortletException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870506003,"mvccVersion":"2","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870449022,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"} is stale in comparison to {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870505903,"mvccVersion":"3","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870505903,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"}
              at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:69)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:378)
              at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:88)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:260)
              at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:77)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:50)
              at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:115)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portlet.internal.InvokerPortletImpl.invoke(InvokerPortletImpl.java:589)
              at com.liferay.portlet.internal.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:632)
              at com.liferay.portlet.internal.InvokerPortletImpl.processAction(InvokerPortletImpl.java:304)
              at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:213)
              at com.liferay.portlet.internal.PortletContainerImpl._processAction(PortletContainerImpl.java:521)
              at com.liferay.portlet.internal.PortletContainerImpl.lambda$processAction$0(PortletContainerImpl.java:150)
              at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:425)
              at com.liferay.portlet.internal.PortletContainerImpl.processAction(PortletContainerImpl.java:143)
              at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:93)
              at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:76)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:118)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:346)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:170)
              at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:415)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:155)
              at com.liferay.portal.internal.servlet.MainServlet.doPost(MainServlet.java:212)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
              at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:619)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:62)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:357)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:104)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
              at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:400)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:99)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:368)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.servlet.filters.password.modified.PasswordModifiedFilter.processFilter(PasswordModifiedFilter.java:62)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:357)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:87)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:264)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:268)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
              at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:196)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:196)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:175)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:175)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:196)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:104)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870506003,"mvccVersion":"2","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870449022,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"} is stale in comparison to {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870505903,"mvccVersion":"3","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870505903,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"}
              at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:446)
              at com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileVersionPersistenceImpl.updateImpl(DLFileVersionPersistenceImpl.java:6127)
              at com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileVersionPersistenceImpl.updateImpl(DLFileVersionPersistenceImpl.java:65)
              at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:544)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl.doMoveFileEntryToTrash(DLAppHelperLocalServiceImpl.java:1422)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl.moveFileEntryToTrash(DLAppHelperLocalServiceImpl.java:397)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy1051.moveFileEntryToTrash(Unknown Source)
              at com.liferay.document.library.kernel.service.DLAppHelperLocalServiceWrapper.moveFileEntryToTrash(DLAppHelperLocalServiceWrapper.java:211)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy1052.moveFileEntryToTrash(Unknown Source)
              at com.liferay.document.library.kernel.service.DLAppHelperLocalServiceWrapper.moveFileEntryToTrash(DLAppHelperLocalServiceWrapper.java:211)
              at com.liferay.document.library.internal.service.DLFileRankDLAppHelperLocalServiceWrapper.moveFileEntryToTrash(DLFileRankDLAppHelperLocalServiceWrapper.java:106)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy1052.moveFileEntryToTrash(Unknown Source)
              at com.liferay.document.library.kernel.service.DLAppHelperLocalServiceWrapper.moveFileEntryToTrash(DLAppHelperLocalServiceWrapper.java:211)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.sun.proxy.$Proxy1052.moveFileEntryToTrash(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
              at com.sun.proxy.$Proxy70.moveFileEntryToTrash(Unknown Source)
              at com.liferay.document.library.internal.repository.capabilities.LiferayTrashCapability.moveFileEntryToTrash(LiferayTrashCapability.java:137)
              at com.liferay.portlet.documentlibrary.service.impl.DLTrashServiceImpl.moveFileEntryToTrash(DLTrashServiceImpl.java:92)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
              at com.sun.proxy.$Proxy193.moveFileEntryToTrash(Unknown Source)
              at com.liferay.document.library.web.internal.portlet.action.EditFileEntryMVCActionCommand._deleteFileEntry(EditFileEntryMVCActionCommand.java:610)
              at com.liferay.document.library.web.internal.portlet.action.EditFileEntryMVCActionCommand.doProcessAction(EditFileEntryMVCActionCommand.java:244)
              at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)
              ... 153 more
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870506003,"mvccVersion":"2","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870449022,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"} is stale in comparison to {"changeLog":"","checksum":"","companyId":"20101","createDate":1568870381131,"description":"","extension":"docx","extraSettings":"","fileEntryId":"38483","fileEntryTypeId":"0","fileName":"test 1.docx","fileVersionId":"38484","folderId":"0","groupId":"20124","lastPublishDate":null,"mimeType":"application\/vnd.openxmlformats-officedocument.wordprocessingml.document","modifiedDate":1568870505903,"mvccVersion":"3","repositoryId":"20124","size":"11080","status":8,"statusByUserId":"20130","statusByUserName":"Test Test","statusDate":1568870505903,"title":"test 1","treePath":"\/","userId":"20130","userName":"Test Test","uuid":"4e2fec06-cc58-3bca-05ab-e42a134f1980","version":"1.0"}
              at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:67)
              at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:244)
              at com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileVersionPersistenceImpl.updateImpl(DLFileVersionPersistenceImpl.java:6123)
              ... 210 more
      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl#38484]
              at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485)
              at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255)
              at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84)
              at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867)
              at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851)
              at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855)
              at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:241)
              ... 211 more
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  40 weeks, 3 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  7.2.1 CE GA2
                  Master