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

Error in console log when selecting web content for web content display

    Description

    Steps to reproduce:

    1. Create a content page
    2. Add a web content display widget
    3. Publish
    4. Add a basic web content
    5. Go to page and click "Select Web Content to make it visible"
    6. Choose web content

    Expected result:

    No error in console log

    Actual result:

    2019-04-18 17:32:12.045 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /web/guest/content-page?p_p_id=com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet&p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_javax.portlet.action=editConfiguration&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_mvcPath=%2Fedit_configuration.jsp&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_returnToFullPageURL=%2Fweb%2Fguest%2Fcontent-page&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_portletConfiguration=true&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_portletResource=com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_AW5Rrpx408XF&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_previewWidth=&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_settingsScope=portletInstance&_com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet_articleResourcePrimKey=38451 generates exception: java.lang.NullPointerException
    java.lang.NullPointerException
    at org.apache.jsp.journal_005ftemplate_jsp._jspService(journal_005ftemplate_jsp:302)
    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:321)
    at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:332)
    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:202)
    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:397)
    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:374)
    at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:219)
    
    

    Note:
    No visible error in front end

    Reproduced on:
    Tomcat 9.0.17 + MySQL 5.7.

    Portal Master GIT Commit: 7c8c9b3950e926ae1813a7afc322a9cd64ea6f7a

      Attachments

        Activity

          People

          • Assignee:
            kyle.miho Kyle Miho
            Reporter:
            brooke.dalton Brooke Dalton
            Participants of an Issue:
            Recent user:
            Jason Pince
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 16 weeks, 2 days ago

              Packages

              Version Package
              Master