Opened 6 years ago
Last modified 6 years ago
#17327 closed defect
Class MapListSetting doesn't allow to store a TreeMap in preferences — at Version 1
Reported by: | GerdP | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 19.04 |
Component: | Core | Version: | |
Keywords: | preferences | Cc: | michael2402 |
Description (last modified by )
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.
Change History (1)
comment:1 by , 6 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Keywords: | preferences added |
Note:
See TracTickets
for help on using tickets.
I believe Wiktor plans to work on the preferences system :)