SpringLiquibase: includeAll within jar causes NullPointerException

Description

This issue is related to CORE-1986. If an includeAll is used inside a jar to include other files from the jar a NullPointerException occurs.

The attached files include a jar with the following structure:

The file test-changeLog1.xml includes all files from the "test" directory also inside the jar, causing the following exception:

The path passed to super.list() in SpringLiquibase$SpringResourceOpener has the form

This causes list() to return null because classLoader.getResource(path) returns null.

As a workaround the code from the first comment on works.

Environment

Spring 3.0.6.RELEASE
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)

Reporter

André Gustavo Rigon

Components

Fix versions

Affects versions

Priority

Major
Configure