Shaded MANIFEST.MF without Bundle-Version/Build-Time entries leads to NPE in LiquibaseUtil

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 java.lang.NullPointerException at liquibase.util.LiquibaseUtil.getBuildInfo(LiquibaseUtil.java:45) at liquibase.util.LiquibaseUtil.getBuildVersion(LiquibaseUtil.java:17) at liquibase.sqlgenerator.core.MarkChangeSetRanGenerator.generateSql(MarkChangeSetRanGenerator.java:91) at liquibase.sqlgenerator.core.MarkChangeSetRanGenerator.generateSql(MarkChangeSetRanGenerator.java:25) at liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30) at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:222) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:25) at liquibase.executor.jvm.JdbcExecutor.access$600(JdbcExecutor.java:40) at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:384) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:59) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:131) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:111) at liquibase.changelog.StandardChangeLogHistoryService.setExecType(StandardChangeLogHistoryService.java:388) at liquibase.database.AbstractJdbcDatabase.markChangeSetExecStatus(AbstractJdbcDatabase.java:1130) at liquibase.changelog.visitor.ChangeLogSyncVisitor.visit(ChangeLogSyncVisitor.java:32) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:83) at liquibase.Liquibase.changeLogSync(Liquibase.java:898) at liquibase.Liquibase.changeLogSync(Liquibase.java:866)

Environment

Shaded MANIFEST.MF without Bundle-Version and Build-Time entries in it produces a NPE.

Status

Assignee

Unassigned

Reporter

Maksym Gendin

Labels

None

Affects versions

3.8.0

Priority

Blocker