Description

    Steps to reproduce

    1. Enable Publications
    2. Add a new publication
    3. Add a new document type
    4. Add a new Document based on the new document type
    5. Review Changes
    6. Change Display Style to Context
    7. Click on the document radio

    Actual Result:
    Context view is unviable and following errors diaplays

    2021-03-23 00:09:49.268 ERROR [http-nio-8080-exec-3][ViewChangesDisplayContext:183] com.liferay.portal.kernel.dao.orm.ORMException: Unable to execute query: select distinct Layout.plid, ResourcePermission.resourcePermissionId from ResourcePermission inner join Layout on Layout.companyId = ResourcePermission.companyId and ResourcePermission.primKey like CONCAT(CAST_TEXT(Layout.plid), ?) where ResourcePermission.resourcePermissionId in (?, ?, ?) and (Layout.ctCollectionId = ? or Layout.ctCollectionId = ?) union select distinct Layout.plid, ResourcePermission.resourcePermissionId from ResourcePermission inner join Layout on Layout.companyId = ResourcePermission.companyId and ResourcePermission.name = ? and ResourcePermission.scope = ? and Layout.plid = ResourcePermission.primKeyId where ResourcePermission.resourcePermissionId in (?, ?, ?) and (Layout.ctCollectionId = ? or Layout.ctCollectionId = ?)
    com.liferay.portal.kernel.dao.orm.ORMException: Unable to execute query: select distinct Layout.plid, ResourcePermission.resourcePermissionId from ResourcePermission inner join Layout on Layout.companyId = ResourcePermission.companyId and ResourcePermission.primKey like CONCAT(CAST_TEXT(Layout.plid), ?) where ResourcePermission.resourcePermissionId in (?, ?, ?) and (Layout.ctCollectionId = ? or Layout.ctCollectionId = ?) union select distinct Layout.plid, ResourcePermission.resourcePermissionId from ResourcePermission inner join Layout on Layout.companyId = ResourcePermission.companyId and ResourcePermission.name = ? and ResourcePermission.scope = ? and Layout.plid = ResourcePermission.primKeyId where ResourcePermission.resourcePermissionId in (?, ?, ?) and (Layout.ctCollectionId = ? or Layout.ctCollectionId = ?)
    	at com.liferay.change.tracking.internal.closure.CTClosureFactoryImpl._buildClosureMap(CTClosureFactoryImpl.java:173)
    	at com.liferay.change.tracking.internal.closure.CTClosureFactoryImpl.create(CTClosureFactoryImpl.java:73)
    	at com.liferay.change.tracking.web.internal.display.context.ViewChangesDisplayContext.getReactData(ViewChangesDisplayContext.java:174)
    	at org.apache.jsp.publications.view_005fchanges_jsp._jspService(view_005fchanges_jsp.java:955)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:370)
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:382)
    	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.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:291)
    	at com.liferay.portlet.internal.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:123)
    	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:571)
    	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:587)
    	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:461)
    	at javax.portlet.GenericPortlet.render(GenericPortlet.java:291)
    	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:303)
    	at com.liferay.change.tracking.web.internal.portlet.PublicationsPortlet.render(PublicationsPortlet.java:95)
    	at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:127)
    	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:58)
    	at com.liferay.portlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:124)
    	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
    	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:115)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	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:569)
    	at com.liferay.portlet.internal.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:659)
    	at com.liferay.portlet.internal.InvokerPortletImpl.render(InvokerPortletImpl.java:344)
    	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.lambda$render$0(MonitoringInvokerPortlet.java:259)
    	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet._render(MonitoringInvokerPortlet.java:363)
    	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:257)
    	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1432)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
    	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
    	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
    	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
    	at com.liferay.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:162)
    	at com.liferay.portlet.internal.PortletContainerImpl._render(PortletContainerImpl.java:908)
    	at com.liferay.portlet.internal.PortletContainerImpl.lambda$render$2(PortletContainerImpl.java:223)
    	at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:425)
    	at com.liferay.portlet.internal.PortletContainerImpl.render(PortletContainerImpl.java:211)
    	at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:144)
    	at com.liferay.portlet.RestrictPortletContainerWrapper.lambda$render$0(RestrictPortletContainerWrapper.java:124)
    	at com.liferay.portlet.RestrictPortletContainerWrapper._render(RestrictPortletContainerWrapper.java:185)
    	at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:122)
    	at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:214)
    	at com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:146)
    	at sun.reflect.GeneratedMethodAccessor836.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
    	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
    	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
    	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
    	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
    	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
    	at org.apache.velocity.Template.merge(Template.java:328)
    	at org.apache.velocity.Template.merge(Template.java:235)
    	at com.liferay.portal.template.velocity.internal.VelocityTemplate.processTemplate(VelocityTemplate.java:137)
    	at com.liferay.portal.template.BaseTemplate.processTemplate(BaseTemplate.java:139)
    	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:413)
    	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:327)
    	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.getProcessedTemplate(RuntimePageImpl.java:78)
    	at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.getProcessedTemplate(RuntimePageUtil.java:37)
    	at com.liferay.application.list.taglib.display.context.logic.PanelAppContentHelper.writeContent(PanelAppContentHelper.java:86)
    	at org.apache.jsp.application_005fcontent.page_jsp._jspService(page_jsp.java:161)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:370)
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:382)
    	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.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
    	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
    	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
    	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
    	at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:407)
    	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:383)
    	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:217)
    	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:88)
    	at org.apache.jsp.layout.view.control_005fpanel_jsp._jspService(control_005fpanel_jsp.java:125)
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:370)
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:382)
    	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.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:162)
    	at com.liferay.layout.type.controller.BaseLayoutTypeControllerImpl.includeLayoutContent(BaseLayoutTypeControllerImpl.java:107)
    	at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:916)
    	at com.liferay.portal.kernel.model.LayoutWrapper.includeLayoutContent(LayoutWrapper.java:1525)
    	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:433)
    	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:173)
    	at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:407)
    	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:153)
    	at com.liferay.portal.internal.servlet.MainServlet.doGet(MainServlet.java:207)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
    	at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:643)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)
    	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.servlet.filters.lockout.LockoutFilter.processFilter(LockoutFilter.java:58)
    	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:340)
    	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:183)
    	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:189)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:710)
    	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
    	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:454)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:99)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    	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.strip.StripFilter.processFilter(StripFilter.java:341)
    	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.servlet.filters.lockout.LockoutFilter.processFilter(LockoutFilter.java:58)
    	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:340)
    	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:265)
    	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:248)
    	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:183)
    	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:189)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
    	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
    	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
    	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887)
    	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684)
    	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    	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.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-440, SQLSTATE=42884, SQLERRMC=LIKE;FUNCTION, DRIVER=4.24.92
    	at com.ibm.db2.jcc.am.b6.a(b6.java:810)
    	at com.ibm.db2.jcc.am.b6.a(b6.java:66)
    	at com.ibm.db2.jcc.am.b6.a(b6.java:140)
    	at com.ibm.db2.jcc.am.k3.c(k3.java:2817)
    	at com.ibm.db2.jcc.am.k3.d(k3.java:2801)
    	at com.ibm.db2.jcc.am.k3.a(k3.java:2227)
    	at com.ibm.db2.jcc.am.k4.a(k4.java:8098)
    	at com.ibm.db2.jcc.t4.ab.i(ab.java:205)
    	at com.ibm.db2.jcc.t4.ab.b(ab.java:96)
    	at com.ibm.db2.jcc.t4.p.a(p.java:32)
    	at com.ibm.db2.jcc.t4.av.i(av.java:150)
    	at com.ibm.db2.jcc.am.k3.al(k3.java:2196)
    	at com.ibm.db2.jcc.am.k4.bq(k4.java:3702)
    	at com.ibm.db2.jcc.am.k4.bx(k4.java:3839)
    	at com.ibm.db2.jcc.am.k4.a(k4.java:613)
    	at com.ibm.db2.jcc.am.Connection.prepareStatementX(Connection.java:2528)
    	at com.ibm.db2.jcc.am.Connection.prepareStatementX(Connection.java:2479)
    	at com.ibm.db2.jcc.am.Connection.prepareStatement(Connection.java:1005)
    	at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:312)
    	at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
    	at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy$LazyConnectionInvocationHandler.invoke(LazyConnectionDataSourceProxy.java:385)
    	at com.sun.proxy.$Proxy9.prepareStatement(Unknown Source)
    	at com.liferay.change.tracking.internal.closure.CTClosureFactoryImpl._getPreparedStatement(CTClosureFactoryImpl.java:257)
    	at com.liferay.change.tracking.internal.closure.CTClosureFactoryImpl._buildClosureMap(CTClosureFactoryImpl.java:140)
    	... 247 more
    

      Attachments

        Activity

          People

          Assignee:
          support-lep@liferay.com SE Support
          Reporter:
          linda.sui Linda Sui
          Participants of an Issue:
          Recent user:
          Linda Sui
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

            Dates

            Created:
            Updated:
            Days since last comment:
            10 weeks, 6 days ago

              Packages

              Version Package