java.lang.NullPointerException when file is empty

Description

When the included file (using "include" directive) is empty (or all lines are commented out), Liquibase ends with java.lang.NullPointerException and it is not clear, where the exception occurs.

This happens only with YAML and JSON files. Using XML files, empty files are reported using their name.

See attached examples.

Environment

CentOS 7, OpenJDK "1.7.0_71"

Attachments

1

Activity

Show:

Nathan Voxland 
April 16, 2015 at 4:06 PM

Fixed

Fixed

Details

Reporter

Components

Fix versions

Affects versions

Priority

Created January 27, 2015 at 8:33 PM
Updated April 16, 2015 at 4:06 PM
Resolved April 16, 2015 at 4:06 PM