Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67910

Uploading multiple attachments to wiki throws a Duplicate entry 'com.liferay.portal.repository.portletrepository.PortletRepositor' for key 'IX_B27A301F'

    Details

      Description

      Description:
      While attempting to attach multiple attachments to a Wiki entry, one of the attachments goes missing in the UI, and the following exception is thrown:

      05:31:27,167 ERROR [http-nio-12080-exec-1][AdvancedPermissionChecker:980] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
             	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:267)
             	at com.liferay.portal.service.persistence.impl.ResourcePermissionPersistenceImpl.countByC_N_S_P(ResourcePermissionPersistenceImpl.java:4459)
             	at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermissionsCount(ResourcePermissionLocalServiceImpl.java:500)
             	at sun.reflect.GeneratedMethodAccessor1011.invoke(Unknown Source)
             	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             	at java.lang.reflect.Method.invoke(Method.java:498)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
             	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
             	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
             	at com.sun.proxy.$Proxy81.getResourcePermissionsCount(Unknown Source)
             	at com.liferay.portal.kernel.service.ResourcePermissionLocalServiceUtil.getResourcePermissionsCount(ResourcePermissionLocalServiceUtil.java:338)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.fixMissingResources(AdvancedPermissionChecker.java:735)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.doCheckPermission(AdvancedPermissionChecker.java:595)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasUserPermissionImpl(AdvancedPermissionChecker.java:1004)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermissionImpl(AdvancedPermissionChecker.java:973)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:423)
             	at com.liferay.portal.security.permission.BasePermissionChecker.hasPermission(BasePermissionChecker.java:92)
             	at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:121)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission._hasPermission(DLFolderPermission.java:179)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.contains(DLFolderPermission.java:109)
             	at com.liferay.portal.repository.liferayrepository.model.LiferayFolder.containsPermission(LiferayFolder.java:66)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.contains(DLFolderPermission.java:160)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.check(DLFolderPermission.java:72)
             	at com.liferay.portal.repository.RepositoryProviderImpl.checkRepositoryAccess(RepositoryProviderImpl.java:372)
             	at com.liferay.portal.repository.RepositoryProviderImpl.getLocalRepository(RepositoryProviderImpl.java:262)
             	at com.liferay.portal.kernel.repository.RepositoryProviderUtil.getLocalRepository(RepositoryProviderUtil.java:107)
             	at com.liferay.portal.portletfilerepository.PortletFileRepositoryImpl.addPortletFolder(PortletFileRepositoryImpl.java:205)
             	at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.addPortletFolder(PortletFileRepositoryUtil.java:92)
             	at com.liferay.wiki.model.impl.WikiNodeImpl.addAttachmentsFolder(WikiNodeImpl.java:54)
             	at com.liferay.wiki.model.impl.WikiPageImpl.addAttachmentsFolder(WikiPageImpl.java:66)
             	at com.liferay.wiki.service.impl.WikiPageLocalServiceImpl.addPageAttachment(WikiPageLocalServiceImpl.java:296)
             	at com.liferay.wiki.service.impl.WikiPageLocalServiceImpl.addPageAttachments(WikiPageLocalServiceImpl.java:386)
             	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.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
             	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
             	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
             	at com.sun.proxy.$Proxy381.addPageAttachments(Unknown Source)
             	at com.liferay.wiki.service.impl.WikiPageServiceImpl.addPageAttachments(WikiPageServiceImpl.java:146)
             	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.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
             	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
             	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
             	at com.sun.proxy.$Proxy384.addPageAttachments(Unknown Source)
             	at com.liferay.wiki.web.internal.WikiAttachmentsHelper.addAttachments(WikiAttachmentsHelper.java:92)
             	at com.liferay.wiki.web.internal.portlet.action.EditPageAttachmentsMVCActionCommand.doProcessAction(EditPageAttachmentsMVCActionCommand.java:145)
             	at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)
             	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:354)
             	at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:93)
             	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:249)
             	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
             	at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)
             	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
             	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
             	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$PortletServletWrapper.service(ServletContextHelperRegistrationImpl.java:427)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
             	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
             	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:447)
             	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
             	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
             	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
             	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)
             	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
             	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:529)
             	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:575)
             	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:334)
             	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:189)
             	at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:413)
             	at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:117)
             	at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:94)
             	at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
             	at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:114)
             	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:314)
             	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
             	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:75)
             	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
             	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
             	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
             	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
             	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
             	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:568)
             	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:545)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:99)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:303)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
             	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
             	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
             	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
             	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:172)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmPostFilter.processFilter(NtlmPostFilter.java:107)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:99)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:303)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:269)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:268)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:260)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	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:394)
             	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
             	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
             	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
             	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
             	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
             	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
             	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
             	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
             	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
             	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
             	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
             	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
             	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
             	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
             	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
             	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
             	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
             	at com.liferay.portal.dao.orm.hibernate.QueryImpl.uniqueResult(QueryImpl.java:378)
             	at com.liferay.portal.service.persistence.impl.ResourcePermissionPersistenceImpl.countByC_N_S_P(ResourcePermissionPersistenceImpl.java:4452)
             	... 282 more
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
             	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
             	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
             	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
             	at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
             	at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
             	at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
             	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2412)
             	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2875)
             	at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
             	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
             	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
             	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
             	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
             	at com.liferay.portal.dao.orm.hibernate.event.NestableAutoFlushEventListener.onAutoFlush(NestableAutoFlushEventListener.java:62)
             	at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1185)
             	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1261)
             	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
             	at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)
             	at com.liferay.portal.dao.orm.hibernate.QueryImpl.uniqueResult(QueryImpl.java:375)
             	... 283 more
      Caused by: java.sql.BatchUpdateException: Duplicate entry 'com.liferay.portal.repository.portletrepository.PortletRepositor' for key 'IX_B27A301F'
             	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
             	at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
             	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
             	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
             	... 299 more
      Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'com.liferay.portal.repository.portletrepository.PortletRepositor' for key 'IX_B27A301F'
             	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
             	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
             	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
             	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
             	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
             	at com.mysql.jdbc.Util.getInstance(Util.java:386)
             	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
             	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
             	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
             	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
             	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
             	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
             	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
             	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
             	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
             	... 302 more

      Steps to reproduce:
      1. Create portal-ext.properties to connect MySQL database to Liferay 7.0:

          jdbc.default.driverClassName=com.mysql.jdbc.Driver
          jdbc.default.url=jdbc:mysql://127.0.0.1/lr70?characterEncoding=UTF-8&dontTrackOpenResources=true&holdResultsOpenOverStatementClose=true&useFastDateParsing=false&useUnicode=true
          jdbc.default.username=root
          jdbc.default.password=password

      2. Install Fixpack DE-2
      3. Start Liferay 7.0 DE
      4. Sign in as test@liferay.com
      5. Navigate to Menu Bar > Liferay > Contents > Wiki > Main
      6. Under Main, click the options selector for FrontPage (three dots) > Edit
      7. Under attachments, add three or more attachments

      Expected Result:
      All added files will be listed and no duplicate index entry errors will be thrown.

      Actual Results:
      One of the uploaded files goes missing (only two are listed, when three items are uploaded), and the following exception is thrown:

      05:31:27,167 ERROR [http-nio-12080-exec-1][AdvancedPermissionChecker:980] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
             	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:267)
             	at com.liferay.portal.service.persistence.impl.ResourcePermissionPersistenceImpl.countByC_N_S_P(ResourcePermissionPersistenceImpl.java:4459)
             	at com.liferay.portal.service.impl.ResourcePermissionLocalServiceImpl.getResourcePermissionsCount(ResourcePermissionLocalServiceImpl.java:500)
             	at sun.reflect.GeneratedMethodAccessor1011.invoke(Unknown Source)
             	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
             	at java.lang.reflect.Method.invoke(Method.java:498)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
             	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
             	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
             	at com.sun.proxy.$Proxy81.getResourcePermissionsCount(Unknown Source)
             	at com.liferay.portal.kernel.service.ResourcePermissionLocalServiceUtil.getResourcePermissionsCount(ResourcePermissionLocalServiceUtil.java:338)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.fixMissingResources(AdvancedPermissionChecker.java:735)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.doCheckPermission(AdvancedPermissionChecker.java:595)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasUserPermissionImpl(AdvancedPermissionChecker.java:1004)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermissionImpl(AdvancedPermissionChecker.java:973)
             	at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:423)
             	at com.liferay.portal.security.permission.BasePermissionChecker.hasPermission(BasePermissionChecker.java:92)
             	at com.liferay.staging.security.internal.permission.StagingPermissionChecker.hasPermission(StagingPermissionChecker.java:121)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission._hasPermission(DLFolderPermission.java:179)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.contains(DLFolderPermission.java:109)
             	at com.liferay.portal.repository.liferayrepository.model.LiferayFolder.containsPermission(LiferayFolder.java:66)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.contains(DLFolderPermission.java:160)
             	at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.check(DLFolderPermission.java:72)
             	at com.liferay.portal.repository.RepositoryProviderImpl.checkRepositoryAccess(RepositoryProviderImpl.java:372)
             	at com.liferay.portal.repository.RepositoryProviderImpl.getLocalRepository(RepositoryProviderImpl.java:262)
             	at com.liferay.portal.kernel.repository.RepositoryProviderUtil.getLocalRepository(RepositoryProviderUtil.java:107)
             	at com.liferay.portal.portletfilerepository.PortletFileRepositoryImpl.addPortletFolder(PortletFileRepositoryImpl.java:205)
             	at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.addPortletFolder(PortletFileRepositoryUtil.java:92)
             	at com.liferay.wiki.model.impl.WikiNodeImpl.addAttachmentsFolder(WikiNodeImpl.java:54)
             	at com.liferay.wiki.model.impl.WikiPageImpl.addAttachmentsFolder(WikiPageImpl.java:66)
             	at com.liferay.wiki.service.impl.WikiPageLocalServiceImpl.addPageAttachment(WikiPageLocalServiceImpl.java:296)
             	at com.liferay.wiki.service.impl.WikiPageLocalServiceImpl.addPageAttachments(WikiPageLocalServiceImpl.java:386)
             	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.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
             	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
             	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
             	at com.sun.proxy.$Proxy381.addPageAttachments(Unknown Source)
             	at com.liferay.wiki.service.impl.WikiPageServiceImpl.addPageAttachments(WikiPageServiceImpl.java:146)
             	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.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
             	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
             	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.RetryAdvice.invoke(RetryAdvice.java:46)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
             	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
             	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
             	at com.sun.proxy.$Proxy384.addPageAttachments(Unknown Source)
             	at com.liferay.wiki.web.internal.WikiAttachmentsHelper.addAttachments(WikiAttachmentsHelper.java:92)
             	at com.liferay.wiki.web.internal.portlet.action.EditPageAttachmentsMVCActionCommand.doProcessAction(EditPageAttachmentsMVCActionCommand.java:145)
             	at com.liferay.portal.kernel.portlet.bridges.mvc.BaseMVCActionCommand.processAction(BaseMVCActionCommand.java:61)
             	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:354)
             	at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:93)
             	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:249)
             	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
             	at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:57)
             	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
             	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
             	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$PortletServletWrapper.service(ServletContextHelperRegistrationImpl.java:427)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
             	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
             	at com.liferay.portal.osgi.web.servlet.context.helper.internal.ServletContextHelperRegistrationImpl$RestrictPortletServletRequestFilter.doFilter(ServletContextHelperRegistrationImpl.java:447)
             	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
             	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
             	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:70)
             	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:117)
             	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
             	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:529)
             	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:575)
             	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:334)
             	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:189)
             	at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:413)
             	at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:117)
             	at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:94)
             	at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
             	at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:114)
             	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:314)
             	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
             	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:75)
             	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
             	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
             	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
             	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
             	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
             	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:568)
             	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:545)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:99)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:303)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
             	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
             	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
             	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
             	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:172)
             	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmPostFilter.processFilter(NtlmPostFilter.java:107)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:99)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:303)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:269)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:268)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
             	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:260)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	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:394)
             	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
             	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
             	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
             	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
             	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
             	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
             	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
             	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
             	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
             	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
             	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
             	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
             	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
             	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
             	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
             	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
             	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
             	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
             	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
             	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
             	at java.lang.Thread.run(Thread.java:745)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
             	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:33)
             	at com.liferay.portal.dao.orm.hibernate.QueryImpl.uniqueResult(QueryImpl.java:378)
             	at com.liferay.portal.service.persistence.impl.ResourcePermissionPersistenceImpl.countByC_N_S_P(ResourcePermissionPersistenceImpl.java:4452)
             	... 282 more
      Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
             	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96)
             	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
             	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
             	at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
             	at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
             	at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
             	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2412)
             	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2875)
             	at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
             	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)
             	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)
             	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
             	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
             	at com.liferay.portal.dao.orm.hibernate.event.NestableAutoFlushEventListener.onAutoFlush(NestableAutoFlushEventListener.java:62)
             	at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1185)
             	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1261)
             	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
             	at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)
             	at com.liferay.portal.dao.orm.hibernate.QueryImpl.uniqueResult(QueryImpl.java:375)
             	... 283 more
      Caused by: java.sql.BatchUpdateException: Duplicate entry 'com.liferay.portal.repository.portletrepository.PortletRepositor' for key 'IX_B27A301F'
             	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2054)
             	at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
             	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
             	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
             	... 299 more
      Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'com.liferay.portal.repository.portletrepository.PortletRepositor' for key 'IX_B27A301F'
             	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
             	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
             	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
             	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
             	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
             	at com.mysql.jdbc.Util.getInstance(Util.java:386)
             	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
             	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
             	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
             	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
             	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
             	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
             	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
             	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
             	at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
             	... 302 more

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 46 weeks, 5 days ago

                Packages

                Version Package
                7.0.0 DXP SP1
                7.0.0 DXP FP8
                7.0.3 CE GA4
                Master