EpisodeEncoderEngine.configure() throws NPE on null argument

Steps to reproduce

This test illuminates the issue:

@Test
public void testConfigure() throws Exception {
try {
// since the method is private we need to use reflection to get in there
Method method = episodeEngine.getClass().getDeclaredMethod("configure", Properties.class);
method.setAccessible(true);
// check for NPE
method.invoke(episodeEngine, (Object) null);
// method.invoke(episodeEngine, (Object) new Properties());
} catch (Exception e) {
e.printStackTrace();
Assert.fail();
}

Status

Assignee

Christopher Brooks

Reporter

Christopher Brooks

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure