Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
None
-
Java 11
Description
AbstractConfiguration#getKeys() can throw NoSuchElementException for certain configurations. Example is below, note addConfiguration(conf1, null, "") where at argument is blank.
BaseConfiguration conf1 = new BaseConfiguration(); conf1.addProperty("x1", 1); CombinedConfiguration conf2 = new CombinedConfiguration(); conf2.addConfiguration(conf1, null, ""); // Following line throws NoSuchElementException conf2.getKeys();