You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexander Morozov (JIRA)" <ji...@apache.org> on 2015/04/14 09:48:12 UTC

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

Alexander Morozov created WICKET-5881:
-----------------------------------------

             Summary: 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)