-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
8
-
None
Issue:
Field f = BlackList.class.getDeclaredField("entries"); in the getBlackListMap() in SetupHelpers.java is supposed to retrieve an object with a map of all the entries of the blacklist.
Since there is no attribute defined in BlackList.java under entries, it is unable to retrieve any information and returns null which causes a NoSuchFieldException to be thrown.
Suggested fix:
The entries list is an enumeration and is not a field that can be retrieved.
Either a new field can be created in the Blacklist.java file or entries can be used as enumeration and the method of parsing should be changed in the SetupHelpers.java class to accept enumeration.
Field f = BlackList.class.getDeclaredField("entries"); in the getBlackListMap() in SetupHelpers.java is supposed to retrieve an object with a map of all the entries of the blacklist.
Since there is no attribute defined in BlackList.java under entries, it is unable to retrieve any information and returns null which causes a NoSuchFieldException to be thrown.
Suggested fix:
The entries list is an enumeration and is not a field that can be retrieved.
Either a new field can be created in the Blacklist.java file or entries can be used as enumeration and the method of parsing should be changed in the SetupHelpers.java class to accept enumeration.