fixed
http://issues.apache.org/jira/browse/MYFACES-149

On Apr 6, 2005 11:43 AM, Jochen Schw�rer <[EMAIL PROTECTED]> wrote:
> I've just checked the latest nightly build myfaces-20050405-src.tgz and
> the problem is not resolved.
> I'd like to see this bug fixed in the next RC.
> 
> Jochen
> 
> Jon Travis wrote:
> > I've applied this patch to my local tree, since I have
> > the same problem.
> >
> > Has this fallen off the table?
> >
> > -- Jon
> >
> >
> > On Mar 29, 2005, at 1:14 AM, Jochen Schw�rer (JIRA) wrote:
> >
> >> NullPointerException in
> >> "_SharedRendererUtils.getConvertedUISelectManyValue"
> >> -----------------------------------------------------------------------
> >> -----
> >>
> >>          Key: MYFACES-149
> >>          URL: http://issues.apache.org/jira/browse/MYFACES-149
> >>      Project: MyFaces
> >>         Type: Bug
> >>     Versions: 1.0.9 beta
> >>  Environment: Tomcat 5.5.9
> >> JDK 1.5.0_01-b08
> >>     Reporter: Jochen Schw�rer
> >>
> >>
> >> When no selection is made in the selection list the following
> >> exception occures:
> >>
> >> java.lang.NullPointerException
> >>
> >> org.apache.myfaces.renderkit._SharedRendererUtils.getConvertedUISelectM
> >> anyValue(_SharedRendererUtils.java:183)
> >>
> >> org.apache.myfaces.renderkit.RendererUtils.getConvertedUISelectManyValu
> >> e(RendererUtils.java:792)
> >>
> >> org.apache.myfaces.renderkit.html.HtmlListboxRendererBase.getConvertedV
> >> alue(HtmlListboxRendererBase.java:143)
> >>
> >> javax.faces.component.UISelectMany.getConvertedValue(UISelectMany.java:
> >> 295)
> >>     javax.faces.component.UIInput.validate(UIInput.java:291)
> >>     javax.faces.component.UISelectMany.validate(UISelectMany.java:284)
> >>     javax.faces.component.UIInput.processValidators(UIInput.java:166)
> >>     javax.faces.component.UIForm.processValidators(UIForm.java:66)
> >>
> >> javax.faces.component.UIComponentBase.processValidators(UIComponentBase
> >> .java:418)
> >>     javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:
> >> 162)
> >>
> >> org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(Lifecycle
> >> Impl.java:208)
> >>
> >> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:
> >> 92)
> >>     javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
> >>
> >> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Extens
> >> ionsFilter.java:115)
> >>
> >> I fixed it by adding the following code to the beginning of
> >> _SharedRendererUtils.getConvertedUISelectManyValue() in both places
> >> (javax.faces.component and org.apache.myfaces.renderkit)
> >> <code>
> >> if (submittedValue == null)
> >> {
> >>     return submittedValue;
> >> }
> >> </code>
> >>
> >>
> >> --
> >> This message is automatically generated by JIRA.
> >> -
> >> If you think it was sent incorrectly contact one of the administrators:
> >>    http://issues.apache.org/jira/secure/Administrators.jspa
> >> -
> >> If you want more information on JIRA, or have a bug to report see:
> >>    http://www.atlassian.com/software/jira
> >>
> >>
> >>
> >
> >
> >
>

Reply via email to