Richard Eckart de Castilho created UIMA-6390: ------------------------------------------------
Summary: NPE when trying to access config names of fresh context Key: UIMA-6390 URL: https://issues.apache.org/jira/browse/UIMA-6390 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 3.2.0SDK Reporter: Richard Eckart de Castilho Assignee: Richard Eckart de Castilho Fix For: 3.2.1SDK The following test fails with an NPE: {code} @Test public void thatGetConfigParameterNamesWorksWithoutAnyParameters() { UimaContext emptyContext = UIMAFramework.newUimaContext(UIMAFramework.getLogger(), UIMAFramework.newDefaultResourceManager(), UIMAFramework.newConfigurationManager()); assertThat(emptyContext.getConfigParameterNames()).isEmpty(); } {code} Stack trace: {noformat} 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) {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)