Null Pointer Exception in SelectItemsIterator.next() if binding is null
-----------------------------------------------------------------------

                 Key: MYFACES-1420
                 URL: http://issues.apache.org/jira/browse/MYFACES-1420
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.1.4, 1.1.5-SNAPSHOT
         Environment: Linux Fedora core 5
            Reporter: Horia Barca
             Fix For: 1.1.5-SNAPSHOT


NPE is thrown at line 183 of 
org.apache.myfaces.shared_impl.util.SelectItemsIterator.next() if value binding 
property of the current UISelectItems component is null. This is not relevant, 
as the exception expected at that place in the code is 
IllegalArgumentException. By constructing the IllegalArgumentException message, 
a check whether the binding is null should be made, like it's done at line 143 
of the same class.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to