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

Define permission page break after saving on virtual instance

    Details

    • Fix Priority:
      3

      Description

      Steps to Reproduce

      1. Go to Control Panel > Configurations > Virtual Instances to create a virtual instance
      2. I was create instance with following data
        1. Web ID test.com
        2. Virtual Host 127.0.0.3
        3. Mail Domain test.com
      3. login 127.0.0.3: {port}
      4. Add a new regular role
      5. Define any permission for the role
      6. Save
      7. Assert the page
      8. Renavigate to the define permission page of role added in step4
      9. Remove the permission added to the role

      Expect Result
      The page display as expected.

      Actual Result
      The pageis broken, and got console error as following:

      2020-05-12 06:08:23.841 ERROR [http-nio-9080-exec-8][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_roles_admin_web_portlet_RolesAdminPortlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_com_liferay_roles_admin_web_portlet_RolesAdminPortlet_javax.portlet.action=updateActions&_com_liferay_roles_admin_web_portlet_RolesAdminPortlet_mvcPath=%2Fedit_role_permissions_form.jsp&p_p_auth=dOG6abIg generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.jsp.edit_005frole_005fpermissions_005fresource_jsp._isShowScope(edit_005frole_005fpermissions_005fresource_jsp:193)
              at org.apache.jsp.edit_005frole_005fpermissions_005fresource_jsp._jspService(edit_005frole_005fpermissions_005fresource_jsp:454)
              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.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)
      

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            sharry.shi Sharry Shi
            Participants of an Issue:
            Recent user:
            Sharry Shi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package