Friday, February 19, 2010

NullPointerException on JSP page on JSF+PrimeFaces

My first experience with JSF is with JSF 2.0 + PrimeFaces 2.0 and PDL/Facelets. ;-) When I went back to JSF 1.2 + PrimeFaces 1.0 using JSP templates I get this error.

at org.primefaces.component.resources.ResourcesTag.setProperties(
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(
at org.apache.jsp.RequiredSecurityInfo_jsp._jspx_meth_p_005fresources_005f0(

I wish the errors would be more helpful.


When using JSP view technology, JSF tags including p:resources should be wrapped inside f:view.

Source: Problem with <p:resources/>