Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0SDK
-
None
Description
The following test fails with an NPE:
@Test
public void thatGetConfigParameterNamesWorksWithoutAnyParameters() {
UimaContext emptyContext = UIMAFramework.newUimaContext(UIMAFramework.getLogger(),
UIMAFramework.newDefaultResourceManager(), UIMAFramework.newConfigurationManager());
assertThat(emptyContext.getConfigParameterNames()).isEmpty();
}
Stack trace:
java.lang.NullPointerException at org.apache.uima.impl.UimaContext_ImplBase.getConfigParameterNames(UimaContext_ImplBase.java:583) at org.apache.uima.impl.UimaContext_implTest.thatGetConfigParameterNamesWorksWithoutAnyParameters(UimaContext_implTest.java:303)