MediaInspectionServiceImpl.inspect() NPEs when given a null value

Steps to reproduce

@Test
// check for NPE on null input
public void testNPE() throws Exception {
try {
service.inspect(null);
} catch (Exception e) {
Assert.assertFalse(e instanceof NullPointerException);
}
}

Expected result is a custom exception throw so caller can determine if this is a problem.

Status

Assignee

Lukas Rohner

Reporter

Christopher Brooks

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure