Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.10.2SDK, 3.0.0SDK
-
None
Description
I have seen one case where multiple threads were being used where a UIMA Class Loader was being used to load a resource (Type system Descriptor -> type System was resolving an "import by name"), where the getResource returned (only once) a spurious "null" result.
This is likely due to some multithreading issue in get Resource. Add a sync using the same multi-threaded parallel approach used for class loaded, to getResource, to protect against this case.