[
https://issues.apache.org/jira/browse/WICKET-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494040#comment-14494040
]
Alexander Morozov commented on WICKET-5881:
-------------------------------------------
We got this issue in wicketstuff-select2 component. But now... I'm in doubt. It
might be that something wrong with select2choice, not with FormComponent.
> 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
> Fix For: 7.0.0, 6.20.0
>
>
> 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)