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

Unable to Select Site screen with groups.complex.sql.class.names property set

    Details

      Description

      The customer has found that when setting a specific property in the portal-ext.properties file that sets complex sql names for groups, they are unable to access sites for assigning users as members.

      Steps to reproduce

      1. Add the following property to the portal-ext.properties file in a clean bundle of Liferay DXP 7.2 installed with dxp-14:
        groups.complex.sql.class.names=com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.UserGroup
        
      1. Start the bundle and log in as the Test Test user.
      2. Go to Control Panel -> Users -> Users and Organizations and select the Test Test user
      3. Select the Membership tab and then select the Select button next to the sites section.

      Results of Testing

      Expected Results: Display the list of sites on a pop-up window
      Actual Results: Pop-up screen fails to load and the following errors appear in the logs

      Errors/Logs

          2021-08-11 21:47:18.918 ERROR [http-nio-8080-exec-4][PortletRequestDispatcherImpl:304] Unable to dispatch request: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
          2021-08-11 21:47:18.920 ERROR [http-nio-8080-exec-4][PortletServlet:119] javax.portlet.PortletException: org.apache.jasper.JasperException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
          javax.portlet.PortletException: org.apache.jasper.JasperException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
           at com.liferay.portlet.internal.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:307)
           at com.liferay.portlet.internal.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:123)
           at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:592)
           at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:608)
           at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doView(MVCPortlet.java:176)
           at com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:286)
           at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:485)
           at javax.portlet.GenericPortlet.render(GenericPortlet.java:291)
           at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:316)
           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:741)
           at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
           at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
           at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
           at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
           at com.liferay.portlet.internal.InvokerPortletImpl.invoke(InvokerPortletImpl.java:587)
           at com.liferay.portlet.internal.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:680)
           at com.liferay.portlet.internal.InvokerPortletImpl.render(InvokerPortletImpl.java:362)
           at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.lambda$render$0(MonitoringInvokerPortlet.java:277)
           at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet._render(MonitoringInvokerPortlet.java:381)
           at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:275)
           at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1492)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
           at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:201)
           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:225)
           at com.liferay.portlet.internal.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:425)
           at com.liferay.portlet.internal.PortletContainerImpl.render(PortletContainerImpl.java:213)
           at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:145)
           at com.liferay.portlet.RestrictPortletContainerWrapper.lambda$render$0(RestrictPortletContainerWrapper.java:128)
           at com.liferay.portlet.RestrictPortletContainerWrapper._render(RestrictPortletContainerWrapper.java:189)
           at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
           at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:215)
           at com.liferay.portal.layoutconfiguration.util.velocity.TemplateProcessor.processMax(TemplateProcessor.java:149)
           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 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:135)
           at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:445)
           at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:359)
           at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.getProcessedTemplate(RuntimePageImpl.java:110)
           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:158)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           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:741)
           at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:373)
           at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:385)
           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:201)
           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:406)
           at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:382)
           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:741)
           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:741)
           at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:373)
           at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:385)
           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.portal.kernel.model.impl.BaseLayoutTypeControllerImpl.includeLayoutContent(BaseLayoutTypeControllerImpl.java:106)
           at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:887)
           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:415)
           at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:155)
           at com.liferay.portal.internal.servlet.MainServlet.doGet(MainServlet.java:206)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
           at com.liferay.portal.internal.servlet.MainServlet.service(MainServlet.java:623)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
           at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)
           at com.liferay.portal.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:357)
           at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
           at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java: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:193)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
           at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
           at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
           at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
           at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
           at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:419)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:99)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
           at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:124)
           at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
           at com.liferay.portal.servlet.filters.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:357)
           at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
           at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:87)
           at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:215)
           at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
           at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:147)
           at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java: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:270)
           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:193)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
           at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)
           at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
           at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
           at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1594)
           at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
           at java.lang.Thread.run(Thread.java:748)
          Caused by: org.apache.jasper.JasperException: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440)
           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:741)
           at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:373)
           at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:385)
           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)
           ... 227 more
          Caused by: com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
           at com.liferay.portal.service.persistence.impl.GroupFinderImpl.countByC_C_PG_N_D(GroupFinderImpl.java:357)
           at com.liferay.portal.service.impl.GroupLocalServiceImpl.searchCount(GroupLocalServiceImpl.java:3417)
           at com.liferay.portal.service.impl.GroupLocalServiceImpl.searchCount(GroupLocalServiceImpl.java:3499)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
           at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
           at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           at com.liferay.portal.cache.thread.local.ThreadLocalCacheAdvice.invoke(ThreadLocalCacheAdvice.java:69)
           at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           at com.sun.proxy.$Proxy85.searchCount(Unknown Source)
           at com.liferay.portal.kernel.service.GroupLocalServiceUtil.searchCount(GroupLocalServiceUtil.java:2421)
           at com.liferay.site.browser.web.internal.display.context.SiteBrowserDisplayContext.getGroupSearch(SiteBrowserDisplayContext.java:166)
           at com.liferay.site.browser.web.internal.display.context.SiteBrowserManagementToolbarDisplayContext.[init](SiteBrowserManagementToolbarDisplayContext.java:43)
           at org.apache.jsp.view_jsp._jspService(view_jsp.java:207)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
           at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
           ... 237 more
          Caused by: java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
           at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:382)
           at org.hibernate.impl.AbstractQueryImpl.setString(AbstractQueryImpl.java:504)
           at com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.setString(SQLQueryImpl.java:390)
           at com.liferay.portal.kernel.dao.orm.QueryPos.add(QueryPos.java:346)
           at com.liferay.portal.kernel.dao.orm.QueryPos.add(QueryPos.java:356)
           at com.liferay.portal.service.persistence.impl.GroupFinderImpl.countByC_PG_N_D(GroupFinderImpl.java:1106)
           at com.liferay.portal.service.persistence.impl.GroupFinderImpl.countByC_C_PG_N_D(GroupFinderImpl.java:324)
           ... 257 more
          2021-08-11 21:47:18.936 ERROR [http-nio-8080-exec-4][render_portlet_jsp:131] null
          java.lang.IllegalArgumentException: Positional parameter does not exist: 11 in query:  SELECT DISTINCT Group_.groupId AS groupId FROM Group_  WHERE  (Group_.liveGroupId = 0) AND (Group_.active_ = ?)    AND  Group_.manualMembership = ?    AND  Group_.site = ?    AND ((Group_.classNameId = ?) OR (Group_.classNameId = ?)) AND  (Group_.companyId = ?) AND (Group_.parentGroupId != ?) AND (Group_.liveGroupId = 0) AND (Group_.groupKey != 'Control Panel') AND (LOWER(Group_.name) LIKE ? OR ? IS NULL) AND (LOWER(Group_.description) LIKE ? OR ? IS NULL) AND (Group_.type_ != 4)
           at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:382)
           at org.hibernate.impl.AbstractQueryImpl.setString(AbstractQueryImpl.java:504)
           at com.liferay.portal.dao.orm.hibernate.SQLQueryImpl.setString(SQLQueryImpl.java:390)
           at com.liferay.portal.kernel.dao.orm.QueryPos.add(QueryPos.java:346)
           at com.liferay.portal.kernel.dao.orm.QueryPos.add(QueryPos.java:356)
           at com.liferay.portal.service.persistence.impl.GroupFinderImpl.countByC_PG_N_D(GroupFinderImpl.java:1106)
           at com.liferay.portal.service.persistence.impl.GroupFinderImpl.countByC_C_PG_N_D(GroupFinderImpl.java:324)
           at com.liferay.portal.service.impl.GroupLocalServiceImpl.searchCount(GroupLocalServiceImpl.java:3417)
           at com.liferay.portal.service.impl.GroupLocalServiceImpl.searchCount(GroupLocalServiceImpl.java:3499)
           at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
           at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
           at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           at com.liferay.portal.cache.thread.local.ThreadLocalCacheAdvice.invoke(ThreadLocalCacheAdvice.java:69)
           at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
           at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
           at com.liferay.portal.kernel.service.GroupLocalServiceUtil.searchCount(GroupLocalServiceUtil.java:2421)
           at com.liferay.site.browser.web.internal.display.context.SiteBrowserDisplayContext.getGroupSearch(SiteBrowserDisplayContext.java:166)
           at com.liferay.site.browser.web.internal.display.context.SiteBrowserManagementToolbarDisplayContext.[init](SiteBrowserManagementToolbarDisplayContext.java:43)
           at org.apache.jsp.view_jsp._jspService(view_jsp.java:207)
           at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      

      Master

      Reproduced - 3757f7605fc5cbd8d6f8125454a32f0aeee5d61a

      Branch

      Reproduced - 41c9b1faca0d9a855dd88b5e36f5caedcd498719

        Attachments

          Activity

            People

            Assignee:
            melody.wu Melody Wu
            Reporter:
            jorge.avalos Jorge Avalos
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Engineering Assignee:
            Michael Bowerman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              11 weeks ago

                Packages

                Version Package
                7.3.X
                7.4.13 DXP GA1
                Master