AbstractCmdlineEmbedderEngine.buildArrayCommandFromTemplate() can NPE

Steps to reproduce

This function does not check that the value of template exists before attempting to substring it, e.g.:

arrayParameters.add(template.substring(matcher.start() + 2, matcher.end() - 1));

This will NPE if template==null

There is no test for this yet

Status

Assignee

Unassigned

Reporter

Christopher Brooks

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

Components

Affects versions

Priority

Major
Configure