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"

Reporter

DS

Components

Fix versions

Affects versions

Priority

Minor
Configure