Opened 6 years ago
Last modified 6 years ago
#17327 closed defect
Class MapListSetting doesn't allow to store a TreeMap in preferences — at Initial Version
Reported by: | GerdP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 19.04 |
Component: | Core | Version: | |
Keywords: | preferences | Cc: | michael2402 |
Description
Is that intended? The method consistencyTest() uses
if (map.containsKey(null)) throw new IllegalArgumentException("Error: Null as map key in preference setting");
which causes a NPE when used with a TreeMap no matter what the map contains.
Note:
See TracTickets
for help on using tickets.