We're updating the issue view to help you get more done. 

AbstractInstalledLocalContainer will cause a NullPointerException if a simple file name is used as the "output" file

Description

AbstractInstalledLocalContainer's createJavaTask method attempts to ensure that all the correct folders exist before creating the output file. It does this by calling outputFile.getParentFile().mkdirs() without first ensuring that outputFile.getParentFile() is not null.

To work around this, the value of outputFile.getParentFile() should be checked, or outputFile.getAbsoluteFile().getParentFile().mkdirs() should be used (since the absolute file must have a parent).

Patch attached.

Status

Assignee

Unassigned

Reporter

Christopher Rued

Components

Fix versions

Affects versions

1.0.1

Priority

Minor