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

NullPointerException when creating a web content with a radio field without an option selected

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.2.X EE
    • Fix Version/s: None
    • Component/s: ~[Archived] WCM
    • Labels:
      None

      Description

      Steps

      1. Start portal and go to control panel
      2. Create structure with radio option (default settings)
      3. Create template with radio
      4. Create Web Content with the structure / template but do not select an option for the radio

      Expected
      The Web Content is created.
      Result
      NullPointerException is thrown.

      [exec] java.lang.NullPointerException
           [exec] 	at com.liferay.portlet.journal.util.JournalConverterImpl.updateContentDynamicElement(JournalConverterImpl.java:751)
           [exec] 	at com.liferay.portlet.journal.util.JournalConverterImpl.updateContentDynamicElement(JournalConverterImpl.java:723)
           [exec] 	at com.liferay.portlet.journal.util.JournalConverterImpl.getContent(JournalConverterImpl.java:161)
           [exec] 	at com.liferay.portlet.journal.util.JournalConverterUtil.getContent(JournalConverterUtil.java:30)
           [exec] 	at com.liferay.portlet.journal.action.ActionUtil.getContentAndImages(ActionUtil.java:290)
           [exec] 	at com.liferay.portlet.journal.action.EditArticleAction.updateArticle(EditArticleAction.java:619)
           [exec] 	at com.liferay.portlet.journal.action.EditArticleAction.processAction(EditArticleAction.java:140)
           [exec] 	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:166)
           [exec] 	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
           [exec] 	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
           [exec] 	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
           [exec] 	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:618)
           [exec] 	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:649)
           [exec] 	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:312)
           [exec] 	at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:402)
           [exec] 	at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
           [exec] 	at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:109)
           [exec] 	at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
           [exec] 	at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:115)
           [exec] 	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:381)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dustin.ryerson Dustin Ryerson (Inactive)
              Reporter:
              preston.crary Preston Crary
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 1 week, 6 days ago

                  Packages

                  Version Package