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

Adding a WC via WCD fails to include JSP due to NPE, causing certain fields to be missing such as Scheduling / Related Assets

    Details

      Description

      Description
      When trying to add a WC from WCD Widget, we get this jsp error

      ERROR [http-nio-8080-exec-5][BaseJSPFormNavigatorEntry:54] Unable to include JSP /article/display_page.jsp
      org.apache.jasper.JasperException: java.lang.NullPointerException
              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:319)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:330)
      

      This causes certain fields to be missing when adding the WC, which in turn causes an error when attempting to publish the WC because we didn't submit all required info like expiration date.

      Steps to Reproduce

      1. Add a WCD Widget
      2. Click on to add WC
      3. Assert jsp error in console
      4. Enter Title and Content info, then click submit

      Expected Result
      Publish works

      Actual Result
      Publish fails due to missing jsp

      Tested on Tomcat 9.0.10 + MySQL 5.7
      Portal master GIT ID: 10d13cdcfea1557d144617c1d5d92fde962af6f6

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chiu Brian Chiu (Inactive)
                Reporter:
                kyle.miho Kyle Miho
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 1 week, 1 day ago

                  Packages

                  Version Package
                  Master