[ https://issues.apache.org/jira/browse/COLLECTIONS-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart closed COLLECTIONS-514. --------------------------------------- > NullPointerException in MapBackedSet.mapBackedSet > ------------------------------------------------- > > Key: COLLECTIONS-514 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-514 > Project: Commons Collections > Issue Type: Bug > Components: Bag, Collection, Set > Affects Versions: 4.0 > Environment: MacOS 10.9, Java 6 > Reporter: Cyrille Artho > Attachments: Report2.java > > > It seems that addAll has issues with adding a set that is backed by a > singleton map with entry null -> null. However, the javadoc of the involved > classes does not state that null entries are disallowed. > Either the code should allow adding a null entry to a bag, or the > documentation should state that null entries are not allowed. > See the attached unit test in JUnit format to reproduce the problem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)