We’re seeing the following error when running Liquibase programs against JDKs with revisions of 1.6.0_18 and higher. It appears that those newer JDKs have made an XML-parsing API stricter, and that Liquibase (version 1.9.5) fails against that stricter API. Is there a Liquibase release that avoids this problem? Or do we need to stay with lower-numbered JDKs for a while? Or am I barking up the wrong tree?
===============================
[java] liquibase.exception.MigrationFailedException: Migration failed for change set foo.changelog.xml::bar::foobar:
[java] Reason: liquibase.exception.UnsupportedChangeException: liquibase.exception.CustomChangeException: java.lang.IllegalStateException: Method getLocalName() cannot be called for CHARACTERS event.:
[java] Caused By: liquibase.exception.CustomChangeException: java.lang.IllegalStateException: Method getLocalName() cannot be called for CHARACTERS event.:
[java] Caused By: java.lang.IllegalStateException: Method getLocalName() cannot be called for CHARACTERS event.:
[java] Caused By: Method getLocalName() cannot be called for CHARACTERS event.
[java] at liquibase.ChangeSet.execute(ChangeSet.java:260)
[java] at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
[java] at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
[java] at liquibase.Liquibase.update(Liquibase.java:112)
[java] at liquibase.Liquibase.update(Liquibase.java:136)
=======================================
Are others seeing this error? I’ve searched the web, the Liquibase site, and the forum archives, and come up empty, so please forgive me if this has already been discussed.
Thanks for any help,
Andy Cohen