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

ClassCastException when generates URL /group/control_panel/manage?p_p_id=com_liferay_users_admin_web_portlet_UsersAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=20119

    Details

      Description

      When generates URL /group/control_panel/manage?p_p_id=com_liferay_users_admin_web_portlet_UsersAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=20119 throw ClassCastException.

      [exec] com.liferay.poshi.runner.PoshiRunner > testLocalFile.SecurityUsecase#ValidateViewPermissionCanNotUpdateOtherUsersPassword STANDARD_OUT
       [exec] This is a use case for LPS-85112.
       [exec] 03:17:56,015 ERROR [http-nio-8080-exec-7][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_users_admin_web_portlet_UsersAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=20119 generates exception: com.liferay.portal.kernel.exception.SystemException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
       [exec] java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
       [exec] at com.liferay.portal.service.impl.UserLocalServiceImpl.buildSearchContext(UserLocalServiceImpl.java:5666)
       [exec] at com.liferay.portal.service.impl.UserLocalServiceImpl.searchCount(UserLocalServiceImpl.java:3306)
       [exec] at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
       [exec] at com.liferay.portal.kernel.service.UserLocalServiceWrapper.searchCount(UserLocalServiceWrapper.java:2465)
       [exec] at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
       [exec] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
       [exec] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
       [exec] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
       [exec] at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
       [exec] at com.liferay.portal.kernel.service.UserLocalServiceUtil.searchCount(UserLocalServiceUtil.java:2290)
       [exec] at com.liferay.users.admin.web.internal.display.context.ViewUsersManagementToolbarDisplayContext.getSearchContainer(ViewUsersManagementToolbarDisplayContext.java:267)
       [exec] at org.apache.jsp.view_005fflat_005fusers_jsp._jspService(view_005fflat_005fusers_jsp.java:470)
       [exec] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
       [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
       [exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
       [exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
       [exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
       [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
       [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:373)
       [exec] at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:385)

      Full console log:

      https://testray.liferay.com/reports/production/logs/test-1-2/1578622484766/test-portal-acceptance-pullrequest(master)/5583/functional-tomcat90-mysql57-jdk8/12/0/jenkins-console.txt.gz

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 weeks, 5 days ago

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  Master