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

Editing Web Content with Radio Field Causes NPE

    Details

    • Fix Priority:
      4

      Description

      Steps to Reproduce:

      1. Create a structure with a radio field
      2. Create a template for the structure
      3. Add web content based on the structure
      4. Edit the web content
        • The following NPE will display.
      19:31:15,658 ERROR [http-bio-8080-exec-4][IncludeTag:206] Current URL /group/control_panel/manage?p_p_id=15&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=19&refererPlid=10167&_15_struts_action=%2Fjournal%2Fedit_article&_15_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D15%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D19%26refererPlid%3D10167%26_15_refererPlid%3D10167%26_15_doAsGroupId%3D19&_15_groupId=19&_15_folderId=0&_15_articleId=10429 generates exception: null
      19:31:15,665 ERROR [http-bio-8080-exec-4][IncludeTag:154] java.lang.NullPointerException
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:140)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:243)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:148)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:243)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:289)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:270)
              at com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil.getHTML(DDMXSDUtil.java:93)
              at org.apache.jsp.html.taglib.ddm.html.start_jsp._jspService(start_jsp.java:552)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:292)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:200)
              at com.liferay.taglib.util.IncludeTag.doStartTag(IncludeTag.java:121)
              at com.liferay.taglib.ddm.base.BaseHTMLTag.doStartTag(BaseHTMLTag.java:30)
              at org.apache.jsp.html.portlet.journal.article.content_jsp._jspService(content_jsp.java:2697)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:292)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joshua.robins Joshua Robins (Inactive)
                Reporter:
                joshua.robins Joshua Robins (Inactive)
                Participants of an Issue:
                Recent user:
                Marta Elicegui
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 33 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.0 CE M3