Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.2
-
Fix Version/s: 1.3.3
-
Labels:None
-
Number of attachments :
Description
Looking at this code in run()
Iterator it = ResourceRegistrar.getResourcesUniqueNames().iterator();
while (it.hasNext()) {
String name = (String) it.next();
registeredResources.put(name, ResourceRegistrar.get(name));
}
Since ResourceRegistrar.getResourcesUniqueNames() returns not a view but a new HashSet, by the time ResourceRegistrar.get(name) is called that key/value pair may be gone and that get will return null.