[ 
https://issues.apache.org/jira/browse/MYFACES-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425615#comment-16425615
 ] 

Hudson commented on MYFACES-4199:
---------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #1355 (See 
[https://builds.apache.org/job/Tobago%20Trunk/1355/])
Resolves same issue as MYFACES-4199 * NPE inside empty <f:selectItem> (lofwyr: 
rev 4f7ea483cbbb4c1df8a56e9e40cd2d9da852c389)
* (edit) 
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/util/SelectItemUtils.java
* (edit) 
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SelectManyRendererBase.java


> NPE with <f:selectItem>
> -----------------------
>
>                 Key: MYFACES-4199
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4199
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.2.11
>         Environment: Debian 9.3 GNU/Linux
> TomEE 7.0.3 Web
> Java OpenJDK 1.0.8_151
>            Reporter: Christoph Schulz
>            Assignee: Thomas Andraschko
>            Priority: Major
>             Fix For: 2.2.13, 2.3.0
>
>         Attachments: SelectItemsIterator.patch
>
>
> If a simple {{<f:selectItem/>}} (i.e. without any attributes) is used, it 
> leads to an {{NullPointerException}} in 
> {{org.apache.myfaces.shared.util.SelectItemsIterator.hasNext(SelectItemsIterator.java:130)}}
>  because {{itemValue}} is {{null}}.
> I am not sure if this behaviour is intended, but I guess not.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to