No one has any idea on this one? On 5/14/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
Versions: Core: 1.1.4 snapshot Tomahawk: 1.1.2 Facelets: 1.0.14XHTML: <t:selectOneMenu value="#{emailBean.questionType}" required="true" id="questionType"> <f:selectItem itemLabel="#{msg.conference_contactus_subject_question}" itemValue="#{msg.conference_contactus_subject_question}" /> <f:selectItem itemLabel="#{msg.conference_contactus_subject_website}" itemValue="#{msg.conference_contactus_subject_website}" /> <f:selectItem itemLabel="#{msg.conference_contactus_subject_payment}" itemValue="#{msg.conference_contactus_subject_payment}" /> <f:selectItem itemLabel="#{msg.conference_contactus_subject_otherq}" itemValue="OTHER" /> </t:selectOneMenu> Error stack: java.lang.NullPointerException: value at javax.faces.model.SelectItem.<init>(SelectItem.java:71) at javax.faces.component._SelectItemsIterator.hasNext(_SelectItemsIterator.java:72) at javax.faces.component._SelectItemsUtil.matchValue(_SelectItemsUtil.java:46) at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:62) at javax.faces.component.UIInput.validate(UIInput.java:353) at javax.faces.component.UIInput.processValidators(UIInput.java:183) at javax.faces.component.UIForm.processValidators(UIForm.java:70) at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624) at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:146) at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) I have put a itemLabel and ItemValue on each one, I cannot see how the item value is null in the UISelectOne's select items iterator. Any ideas?

