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

Adding a user throws console exceptions and javascript errors

    Details

      Description

      Steps to reproduce:

      1. Add a user and click "Save"

      Expected results:
      The user should save without errors.

      Actual results:
      The user is saved, but console and javascript errors occur. The behavior looks similar to the regression described in LPS-45379.

      Javascript errors:

      TypeError: r is null
      

      Console errors:

      16:35:26,015 ERROR [http-bio-8080-exec-9][IncludeTag:129] Current URL /group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=10190&controlPanelCategory=users&_125_struts_action=%2Fusers_admin%2Fedit_user&_125_backURL=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D125%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26refererPlid%3D10190%26controlPanelCategory%3Dusers%26_125_struts_action%3D%252Fusers_admin%252Fview%26_125_sitesListView%3Dtree&_125_p_u_i_d=10507 generates exception: javax.servlet.jsp.JspException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.taglib.ui.InputResourceTag.setAttributes(InputResourceTag.java:78)
              at com.liferay.taglib.util.IncludeTag.callSetAttributes(IncludeTag.java:174)
              at com.liferay.taglib.util.IncludeTag.doStartTag(IncludeTag.java:111)
              at org.apache.jsp.html.portlet.users_005fadmin.user.details_jsp._jspService(details_jsp.java:1591)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
              at org.apache.jsp.html.taglib.ui.form_005fnavigator.page_jsp._jspService(page_jsp.java:1017)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      16:35:26,899 WARN  [liferay/mail-1][MailEngine:596] Failed to connect to a valid mail server. Please make sure one is properly configured. Could not connect to SMTP host: localhost, port: 25
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 38 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  7.0.0 M1