You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/06/04 10:46:38 UTC

[jira] [Updated] (WICKET-5881) NPE in FormComponent#updateCollectionModel in case of no converted input and unmodifiable collection

     [ https://issues.apache.org/jira/browse/WICKET-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-5881:
------------------------------------
    Fix Version/s:     (was: 7.0.0)
                   7.0.0-M6

> 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: 6.20.0, 7.0.0-M6
>
>
> 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)