"old" tags like htmlTag throws NPE ----------------------------------
Key: MYFACES-1752 URL: https://issues.apache.org/jira/browse/MYFACES-1752 Project: MyFaces Core Issue Type: Bug Affects Versions: 1.2.0 Reporter: Mario Ivankovits Assignee: Mario Ivankovits Fix For: 1.2.1-SNAPSHOT Tags like the t:htmlTag fail with this NPE Caused by: java.lang.NullPointerException at org.apache.myfaces.custom.htmlTag.HtmlTagRenderer.encodeBegin(HtmlTagRenderer.java:50) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:528) ... 83 more when running with MyFaces 1.2 After applying this patch Index: api/src/main/java/javax/faces/webapp/UIComponentTag.java =================================================================== --- api/src/main/java/javax/faces/webapp/UIComponentTag.java (Revision 588035) +++ api/src/main/java/javax/faces/webapp/UIComponentTag.java (Arbeitskopie) @@ -143,6 +143,7 @@ UIComponent component = context.getApplication().createComponent(componentType); component.setId(id); + setProperties(component); return component; things started working for me. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.