All articles represent ideas and point of view of the author. Please use your judgement before taking actions. Author is not responsible for any kind of loss or damage due to actions taken following this blog. You are allowed to copy content provided a visible clickable link or courtesy is expressed to the original article in this blog. If you have suggestions or ideas, please contact admin@thecoolblogs.com

Tuesday, September 28, 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.

1 comment:

  1. Great Post! It's very nice to read this info from someone that actually knows what they are talking about. http://www.drenx.com

    ReplyDelete