Wednesday, September 29, 2010

java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager

If you are getting the below error message:

Caused by: com.ibm.ws.jsp.JspCoreException: Unable to convert string 'NOTBLANK' to class javax.el.ValueExpression for attribute validatorId: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
 at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:939)
 at com.ibm._jsp._searchSummary._jspx_meth_h_selectOneMenu_7
 at com.ibm._jsp._searchSummary._jspx_meth_h_panelGroup_28
 at com.ibm._jsp._searchSummary._jspx_meth_h_panelGrid_42
 at com.ibm._jsp._searchSummary._jspx_meth_t_div_7




This error message is mainly caused because of incompatibilities between different versions of JSF. Try any or a combination of the below steps


1) If you are using Java5 or above, remove any jsf-impl.jar and jsf-api.jar copied to your project (WEB-INF\lib folder). JSF implementation is already a part of the j2ee.jar
2) Check whether you have a standards.jar in WEB-INF\lib fodler. If yes, delete it and try again
3) Make sure you do not have any loose TLDs in the WEB-INF folder
4) If you have custom components in the web project, make sure you do not have overloaded setter methods for tags. According to the JavaBeans spec, you can't do that;only one setter per property name is supported.
5) If you have custom components in the web project, also make sure that type is specified for the tag elements.

6) Uninstall the app from the server, clean all WAS temp folders (usually in ${WAS_INSTALL_ROOT}/temp and wstemp folders ) and instal the application again.

Blog Archive