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

Form builder is missing when adding a document type

    Description

    Steps to reproduce

    1. Go to Site > Content > Documents and Media > Document Types
    2. Add a document type
    3. Click on Main Metadata Fields

    Expected result: Form builder displays
    Actual result: Form builder is missing

    2018-05-24 18:49:05.581 ERROR [http-nio-8080-exec-9][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcPath=%2Fdocument_library%2Fedit_file_entry_type.jsp&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName%3D%252Fdocument_library%252Fview_file_entry_types%26_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Fguest%252F~%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_document_library_web_portlet_DLAdminPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview generates exception: java.lang.NullPointerException
    java.lang.NullPointerException
            at org.apache.jsp.form_005fbuilder_jsp._jspService(form_005fbuilder_jsp.java:354)
            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:345)
            at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
            at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
            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:131)
            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.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
            at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:382)
            at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:359)
            at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:212)
            at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:89)
    2018-05-24 18:49:43.078 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcPath=%2Fdocument_library%2Fedit_file_entry_type.jsp&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName%3D%252Fdocument_library%252Fview_file_entry_types%26_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect%3Dhttp%253A%252F%252Flocalhost%253A8080%252Fgroup%252Fguest%252F~%252Fcontrol_panel%252Fmanage%253Fp_p_id%253Dcom_liferay_document_library_web_portlet_DLAdminPortlet%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview generates exception: java.lang.NullPointerException
    java.lang.NullPointerException
            at org.apache.jsp.form_005fbuilder_jsp._jspService(form_005fbuilder_jsp.java:354)
            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:345)
            at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
            at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
            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:131)
            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.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
            at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
            at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:382)
            at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:359)
            at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:212)
            at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:89)
    

    Furthermore, these errors also appear when a user tries to add any document type. The user is prevented from publishing successfully (i.e. nothing happens in the UI when he clicks on publish).

    Reproduced on:
    Tomcat 9.0.6 + MySQL 5.7
    Portal master GIT ID: cb161c1c6b6a3f20111024b94127ecc3d4413577

      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:
                1 year, 25 weeks, 1 day ago

                Packages

                Version Package
                7.1.X
                Master