AbstractEncoderEngine.supportsProfile can throw NPE

Steps to reproduce

This test illustrates the issue:

@Test
public void testProfiles() throws Exception {
Concrete base = new Concrete(false);
// check for npe on black init
Assert.assertFalse(base.supportsProfile("new profile", MediaType.AudioVisual));
Map<String, EncodingProfile> map = new HashMap<String, EncodingProfile>();
base.setSupportedProfiles(map);
base.setSupportedProfiles(null);
Assert.assertFalse(base.supportsProfile("new profile", MediaType.AudioVisual));
}

Status

Assignee

Christopher Brooks

Reporter

Christopher Brooks

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure