liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason

JIRA | Thomas Senay | 3 years ago
  1. 0

    I'm currently trying to migrate from LB 2.0.5 to 3.0.3 (I'll try ASAP with lastest release) On 2.0.5, it works fine. h3. Changelogs {code:xml|title=DATA_QUALITY-release.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> <include file="d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/release.xml" relativeToChangelogFile="false" /> <include file="d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml" relativeToChangelogFile="false" /> <include file="d:/data/tmpReleaseHub/ddl/post-release/DATA_QUALITY/release.xml" relativeToChangelogFile="false" /> </databaseChangeLog> {code} {code:xml|title=d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/release.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> <include file="dummy.sql" relativeToChangelogFile="true"/> </databaseChangeLog> {code} {code:title=dummy.sql} --liquibase formatted sql --changeset dummy:1 runOnChange:false failOnError:true splitStatements:false stripComments:false select 1 from dual; {code} h3. Error when calling ant task updateDatabase {code:xml} <updateDatabase outputFile="deploy-script.sql" changeLogFile="DATA_QUALITY-release.xml" driver="${db.driver}" url="${db.url}" username="${db.user}" password="${db.password}" dropFirst="false" classpathref="liquibase.classpath" defaultSchemaName="DATA_QUALITY" /> {code} {code:title=error log} BUILD FAILED D:\data\workspaces\hub\hub-deployer\build.xml:108: The following error occurred while executing this line: D:\data\workspaces\hub\hub-deployer\build.xml:117: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401) at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) at net.sf.antcontrib.logic.For.execute(For.java:166) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) Caused by: D:\data\workspaces\hub\hub-deployer\build.xml:117: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:56) at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) ... 19 more Caused by: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:133) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:532) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:142) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:99) at liquibase.Liquibase.update(Liquibase.java:128) at liquibase.Liquibase.update(Liquibase.java:168) at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) ... 34 more Caused by: org.xml.sax.SAXException java.lang.NullPointerException at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:495) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:99) ... 53 more Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at liquibase.parser.core.formattedsql.FormattedSqlChangeLogParser.supports(FormattedSqlChangeLogParser.java:26) at liquibase.parser.ChangeLogParserFactory.getParser(ChangeLogParserFactory.java:57) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:517) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:142) ... 67 more {code}

    JIRA | 3 years ago | Thomas Senay
    liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason
  2. 0

    I'm currently trying to migrate from LB 2.0.5 to 3.0.3 (I'll try ASAP with lastest release) On 2.0.5, it works fine. h3. Changelogs {code:xml|title=DATA_QUALITY-release.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> <include file="d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/release.xml" relativeToChangelogFile="false" /> <include file="d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml" relativeToChangelogFile="false" /> <include file="d:/data/tmpReleaseHub/ddl/post-release/DATA_QUALITY/release.xml" relativeToChangelogFile="false" /> </databaseChangeLog> {code} {code:xml|title=d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/release.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> <include file="dummy.sql" relativeToChangelogFile="true"/> </databaseChangeLog> {code} {code:title=dummy.sql} --liquibase formatted sql --changeset dummy:1 runOnChange:false failOnError:true splitStatements:false stripComments:false select 1 from dual; {code} h3. Error when calling ant task updateDatabase {code:xml} <updateDatabase outputFile="deploy-script.sql" changeLogFile="DATA_QUALITY-release.xml" driver="${db.driver}" url="${db.url}" username="${db.user}" password="${db.password}" dropFirst="false" classpathref="liquibase.classpath" defaultSchemaName="DATA_QUALITY" /> {code} {code:title=error log} BUILD FAILED D:\data\workspaces\hub\hub-deployer\build.xml:108: The following error occurred while executing this line: D:\data\workspaces\hub\hub-deployer\build.xml:117: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401) at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) at net.sf.antcontrib.logic.For.execute(For.java:166) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) Caused by: D:\data\workspaces\hub\hub-deployer\build.xml:117: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:56) at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) ... 19 more Caused by: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:133) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:532) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:142) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:99) at liquibase.Liquibase.update(Liquibase.java:128) at liquibase.Liquibase.update(Liquibase.java:168) at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) ... 34 more Caused by: org.xml.sax.SAXException java.lang.NullPointerException at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:495) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:99) ... 53 more Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at liquibase.parser.core.formattedsql.FormattedSqlChangeLogParser.supports(FormattedSqlChangeLogParser.java:26) at liquibase.parser.ChangeLogParserFactory.getParser(ChangeLogParserFactory.java:57) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:517) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:142) ... 67 more {code}

    JIRA | 3 years ago | Thomas Senay
    liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason
  3. 0

    I'm currently trying to migrate from LB 2.0.5 to 3.0.3 (I'll try ASAP with lastest release) On 2.0.5, it works fine. h3. Changelogs {code:xml|title=DATA_QUALITY-release.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> <include file="d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/release.xml" relativeToChangelogFile="false" /> <include file="d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml" relativeToChangelogFile="false" /> <include file="d:/data/tmpReleaseHub/ddl/post-release/DATA_QUALITY/release.xml" relativeToChangelogFile="false" /> </databaseChangeLog> {code} {code:xml|title=d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/release.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> <include file="dummy.sql" relativeToChangelogFile="true"/> </databaseChangeLog> {code} {code:title=dummy.sql} --liquibase formatted sql --changeset dummy:1 runOnChange:false failOnError:true splitStatements:false stripComments:false select 1 from dual; {code} h3. Error when calling ant task updateDatabase {code:xml} <updateDatabase outputFile="deploy-script.sql" changeLogFile="DATA_QUALITY-release.xml" driver="${db.driver}" url="${db.url}" username="${db.user}" password="${db.password}" dropFirst="false" classpathref="liquibase.classpath" defaultSchemaName="DATA_QUALITY" /> {code} {code:title=error log} BUILD FAILED D:\data\workspaces\hub\hub-deployer\build.xml:108: The following error occurred while executing this line: D:\data\workspaces\hub\hub-deployer\build.xml:117: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401) at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) at net.sf.antcontrib.logic.For.execute(For.java:166) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) Caused by: D:\data\workspaces\hub\hub-deployer\build.xml:117: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:56) at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) ... 19 more Caused by: liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:133) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:532) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:142) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:99) at liquibase.Liquibase.update(Liquibase.java:128) at liquibase.Liquibase.update(Liquibase.java:168) at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) ... 34 more Caused by: org.xml.sax.SAXException java.lang.NullPointerException at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:495) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:99) ... 53 more Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at liquibase.parser.core.formattedsql.FormattedSqlChangeLogParser.supports(FormattedSqlChangeLogParser.java:26) at liquibase.parser.ChangeLogParserFactory.getParser(ChangeLogParserFactory.java:57) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:517) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:142) ... 67 more {code}

    JIRA | 3 years ago | Thomas Senay
    liquibase.exception.ChangeLogParseException: Invalid Migration File: Unknown Reason
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. version 3.0.6 {code} [updateDatabase] INFO 06.11.13 16:40:liquibase: Successfully acquired change log lock [updateDatabase] INFO 06.11.13 16:40:liquibase: ./DATA_QUALITY-release.xml is using schema version 2.0 rather than version 3.0 [updateDatabase] INFO 06.11.13 16:40:liquibase: d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml is using schema version 2.0 rather than version 3.0 [updateDatabase] INFO 06.11.13 16:41:liquibase: Reading from DATA_QUALITY.DATABASECHANGELOG [updateDatabase] INFO 06.11.13 16:41:liquibase: Reading from DATA_QUALITY.DATABASECHANGELOG [updateDatabase] INFO 06.11.13 16:41:liquibase: ./DATA_QUALITY-release.xml: d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY/00_dummy.sql::1::00_dummy: Custom SQL executed ... [updateDatabase] INFO 06.11.13 16:41:liquibase: ./DATA_QUALITY-release.xml: d:/data/tmpReleaseHub/sql/count_invalid_objects.sql::1::count_invalid_objects: ChangeSet d:/data/tmpReleaseHub/sql/count_invalid_objects.sql::1::count_invalid_objects ran successfully in 5ms [updateDatabase] INFO 06.11.13 16:41:liquibase: Successfully released change log lock [updateDatabase] INFO 06.11.13 16:41:liquibase: Successfully released change log lock {code} h3. version 3.0.7 {code} [updateDatabase] INFO 06.11.13 16:45:liquibase: Successfully acquired change log lock [updateDatabase] INFO 06.11.13 16:45:liquibase: ./DATA_QUALITY-release.xml is using schema version 2.0 rather than version 3.0 [updateDatabase] INFO 06.11.13 16:45:liquibase: d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml is using schema version 2.0 rather than version 3.0 [updateDatabase] SEVERE 06.11.13 16:45:liquibase: Error thrown as a SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:189) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:553) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:152) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:130) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:176) [updateDatabase] at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) [updateDatabase] at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:206) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.Target.execute(Target.java:390) [updateDatabase] at org.apache.tools.ant.Target.performTasks(Target.java:411) [updateDatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [updateDatabase] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [updateDatabase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [updateDatabase] at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [updateDatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) [updateDatabase] org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:189) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:553) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:152) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:130) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:176) [updateDatabase] at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) [updateDatabase] at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:206) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.Target.execute(Target.java:390) [updateDatabase] at org.apache.tools.ant.Target.performTasks(Target.java:411) [updateDatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [updateDatabase] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [updateDatabase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [updateDatabase] at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [updateDatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) [updateDatabase] SEVERE 06.11.13 16:45:liquibase: Error thrown as a SAXException: Invalid Migration File: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] liquibase.exception.ChangeLogParseException: Invalid Migration File: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:139) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:553) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:152) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:130) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:176) [updateDatabase] at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) [updateDatabase] at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:206) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.Target.execute(Target.java:390) [updateDatabase] at org.apache.tools.ant.Target.performTasks(Target.java:411) [updateDatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [updateDatabase] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [updateDatabase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [updateDatabase] at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [updateDatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) [updateDatabase] Caused by: org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:522) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] ... 85 more [updateDatabase] Caused by: org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:189) [updateDatabase] ... 99 more [updateDatabase] liquibase.exception.ChangeLogParseException: Invalid Migration File: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:139) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.handleIncludedChangeLog(XMLChangeLogSAXHandler.java:553) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:152) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:130) [updateDatabase] at liquibase.Liquibase.update(Liquibase.java:176) [updateDatabase] at liquibase.integration.ant.DatabaseUpdateTask.executeWithLiquibaseClassloader(DatabaseUpdateTask.java:50) [updateDatabase] at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:70) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [updateDatabase] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:206) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253) [updateDatabase] at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213) [updateDatabase] at net.sf.antcontrib.logic.For.execute(For.java:166) [updateDatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [updateDatabase] at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) [updateDatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [updateDatabase] at java.lang.reflect.Method.invoke(Unknown Source) [updateDatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [updateDatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [updateDatabase] at org.apache.tools.ant.Target.execute(Target.java:390) [updateDatabase] at org.apache.tools.ant.Target.performTasks(Target.java:411) [updateDatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [updateDatabase] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [updateDatabase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [updateDatabase] at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [updateDatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424) [updateDatabase] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138) [updateDatabase] Caused by: org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:522) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [updateDatabase] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:105) [updateDatabase] ... 85 more [updateDatabase] Caused by: org.xml.sax.SAXException: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml [updateDatabase] at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:189) [updateDatabase] ... 99 more [updateDatabase] INFO 06.11.13 16:45:liquibase: Successfully released change log lock [updateDatabase] INFO 06.11.13 16:45:liquibase: Successfully released change log lock {code} {code:xml|title=D:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> <includeAll path="TYPE" relativeToChangelogFile="true" /> <includeAll path="PROC" relativeToChangelogFile="true" /> <includeAll path="FCT" relativeToChangelogFile="true" /> <includeAll path="TRG" relativeToChangelogFile="true" /> <includeAll path="PKB" relativeToChangelogFile="true" /> <includeAll path="PKS" relativeToChangelogFile="true" /> <includeAll path="VW" relativeToChangelogFile="true" /> <changeSet id="1" author="hub" runAlways="true"> <comment>Recompile invalid objects</comment> <sql>execute dbadmin_pco.pkg_validate_obj_pco.validate_obj_onl;</sql> </changeSet> </databaseChangeLog> {code} {code:xml|title=DATA_QUALITY.xml} <?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> <includeAll path="d:/data/tmpReleaseHub/ddl/release/DATA_QUALITY" /> <include file="d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml" /> <include file="d:/data/tmpReleaseHub/sql/count_invalid_objects.sql" /> </databaseChangeLog> {code}

    JIRA | 3 years ago | Thomas Senay
    liquibase.exception.ChangeLogParseException: Invalid Migration File: Cannot determine physical location of d:/data/tmpReleaseHub/sql/DATA_QUALITY/master.xml
  6. 0

    sqlFile refactoring in liquibase can't find file on the classpath

    Stack Overflow | 5 years ago | Synesso
    liquibase.exception.ChangeLogParseException: Invalid Migration File: &lt;sqlfile path=v9.1-loaniqgolive.sql&gt; -Unable to read file

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. liquibase.exception.ChangeLogParseException

      Invalid Migration File: Unknown Reason

      at org.apache.tools.ant.ProjectHelper.addLocationToBuildException()
    2. Ant
      MacroInstance.execute
      1. org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551)
      2. org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401)
      2 frames
    3. Ant-Contrib Tasks
      For.execute
      1. net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228)
      2. net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253)
      3. net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213)
      4. net.sf.antcontrib.logic.For.execute(For.java:166)
      4 frames
    4. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    6. Ant
      DefaultExecutor.executeTargets
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:390)
      4. org.apache.tools.ant.Target.performTasks(Target.java:411)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      7 frames
    7. org.eclipse.ant
      EclipseDefaultExecutor.executeTargets
      1. org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
      1 frame
    8. Ant
      Project.executeTargets
      1. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      1 frame
    9. org.eclipse.ant
      InternalAntRunner.main
      1. org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424)
      2. org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138)
      2 frames