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

ASF subversion and git services commented on WICKET-5881:
---------------------------------------------------------

Commit 8c83c5c50161b040fab0b748232a4fb5e7855e68 in wicket's branch 
refs/heads/master from [~amorozov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=8c83c5c ]

WICKET-5881 FormComponent#updateCollectionModel must check convertedInput for 
null before wrapping into ArrayListFormComponent#updateCollectionModel must 
check convertedInput for null before wrapping into ArrayList


> 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
>            Assignee: Sven Meier
>
> 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