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

Alexander Morozov commented on WICKET-5881:
-------------------------------------------

PR with test and fix https://github.com/apache/wicket/pull/115


> NPE in FormComponent#updateCollectionModel in case of no converted input and 
> unmodifiable collection
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5881
>                 URL: https://issues.apache.org/jira/browse/WICKET-5881
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.19.0, 7.0.0
>         Environment: Windows 7 Pro SP1 x64, JDK 7u75 x64, Wildfly 8.2.0.Final
>            Reporter: Alexander Morozov
>
> There are 2 issues with FormComponent#updateCollectionModel. 1) converted 
> input is not checked for null before wrapping it to ArrayList 2) converted 
> input is not checked for null then model returns unmodifiable collection. The 
> both issues causes NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to