-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE M3
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Web Content > Web Content Administration
-
Labels:
-
Environment:Tomcat 7.0.27 + MySQL 5. Portal 6.2.x GIT ID: 77bb304c1378e3a4ac422d4946f2a11bf7513359.
-
Fix Priority:5
-
Git Pull Request:
Steps to Reproduce:
- Add a structure
- Make sure the field added is repeatable
- Add a template based on the structure
- Add a web content based on the structure/template
- Repeat the field two additional times (total 3 instances of the field)
- Add a web content display portlet to the welcome page
- Portlet is blank
- Select the web content to be displayed
When attempting to edit the web content, NPE displays (related to LPS-29347)
18:43:08,218 ERROR [http-bio-8080-exec-5][IncludeTag:206] Current URL /web/guest/home?p_p_auth=hOq7hIEY&p_p_id=15&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=2&_15_groupId=10178&_15_redirect=http%3A%2F%2Flocalhost%3A8080%2Fweb%2Fguest%2Fhome%3Fp_p_id%3D56_INSTANCE_XZm3daMJXuzL%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D2&_15_struts_action=%2Fjournal%2Fedit_article&_15_articleId=10453&_15_version=1.0 generates exception: null
18:43:08,222 ERROR [http-bio-8080-exec-5][IncludeTag:154] java.lang.NullPointerException
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:135)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:237)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:283)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:264)
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:546)
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:2687)
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.doEndTag(IncludeTag.java:81)
- Discovered while testing
-
LPS-32169 Repeatable Fields Displays Copied Data from Original Fields
- Closed
- is related to
-
LPS-31685 Displaying Web Content with Structure and Template Causes NoSuchTemplateException
- Closed
-
LPS-31839 Editing Web Content with Radio Field Causes NPE
- Closed
- relates
-
LPS-29347 NPE when changing a web content from basic to structured
- Closed