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

Web Content - Adding 'Welcome Content Structure' WC causes console exception

    Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Deploy the Web Plugin "Resources Importer" and the Theme Plugin "Welcome Theme" in a blank Liferay Server.
      2. Startup Liferay. Verify in logs that resources from Welcome Theme are imported.
      3. Go to > Control Panel > Web Content
      4. Add > Welcome Content Structure
      5. Input something in the title field (e.g. "asdf")

      Expected: Web Content called "asdf" to display

      Actual: UI error "Web Content is temporarily unavailable (see screenshot), and the following console error:

      18:54:12,516 ERROR [http-bio-8080-exec-2][render_portlet_jsp:154] java.lang.NullPointerException
              at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
              at com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl._indexFieldsMap(DDMStructureImpl.java:460)
              at com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl.getFieldsMap(DDMStructureImpl.java:241)
              at com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl.getFieldsMap(DDMStructureImpl.java:235)
              at com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureImpl.getFieldNames(DDMStructureImpl.java:161)
              at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:121)
              at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:109)
              at com.liferay.portlet.dynamicdatamapping.util.DDMImpl.getFields(DDMImpl.java:168)
              at com.liferay.portlet.dynamicdatamapping.util.DDMUtil.getFields(DDMUtil.java:62)
              at com.liferay.portlet.journal.action.EditArticleAction.updateArticle(EditArticleAction.java:627)
              at com.liferay.portlet.journal.action.EditArticleAction.processAction(EditArticleAction.java:147)
              at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:171)
              at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:214)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:70)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:554)
              at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:585)
              at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:295)
              at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:526)
              at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:116)
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 27 weeks ago

                Packages

                Version Package
                6.2.0 CE M5