java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Transferred from Sourceforge: artifact_id: 2376645 submitted_by: ghynx assigned_to: nvoxland priority: 5 resolution: None open_date: 1228214144 aftifact_type: Bugs category: None artifact_group_id: None category: None status: Closed history: close_date01230933737nvoxland assigned_to1001230933737nvoxland status_id11230933737nvoxland messages: close_date01230933737nvoxland assigned_to1001230933737nvoxland status_id11230933737nvoxland Using a <sql> tag with a "tableName" (<sql tableName="mytable">) raise the following error ------------------------------------- java.lang.RuntimeException: Property not found: tableName at liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:38) at liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:251) at liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:158) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:688) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70) at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:24) at liquibase.Liquibase.update(Liquibase.java:107) at liquibase.commandline.Main.doMigration(Main.java:637) at liquibase.commandline.Main.main(Main.java:90) Migration Failed: Property not found: tableName -------------------------------- Think it must be a problem with the schema, i can't see why we need a tablename here .... suggest to change schema to disallow usage of tablename in <sql> tag . regards
    via by ghynx,
  • Transferred from Sourceforge: artifact_id: 2376645 submitted_by: ghynx assigned_to: nvoxland priority: 5 resolution: None open_date: 1228214144 aftifact_type: Bugs category: None artifact_group_id: None category: None status: Closed history: close_date01230933737nvoxland assigned_to1001230933737nvoxland status_id11230933737nvoxland messages: close_date01230933737nvoxland assigned_to1001230933737nvoxland status_id11230933737nvoxland Using a <sql> tag with a "tableName" (<sql tableName="mytable">) raise the following error ------------------------------------- java.lang.RuntimeException: Property not found: tableName at liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:38) at liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:251) at liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:158) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:688) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70) at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:24) at liquibase.Liquibase.update(Liquibase.java:107) at liquibase.commandline.Main.doMigration(Main.java:637) at liquibase.commandline.Main.main(Main.java:90) Migration Failed: Property not found: tableName -------------------------------- Think it must be a problem with the schema, i can't see why we need a tablename here .... suggest to change schema to disallow usage of tablename in <sql> tag . regards
    via by ghynx,
  • In spite of the fact that https://liquibase.jira.com/browse/CORE-549 claims that the new property relativeToChangelogFile is available for LoadData data change, a database update fails with the error: {code} java.lang.RuntimeException: Property 'relativeToChangelogFile' not found on object type liquibase.change.core.LoadDataChange at liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:71) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.setProperty(XMLChangeLogSAXHandler.java:590) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.setAllProperties(XMLChangeLogSAXHandler.java:517) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:405) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(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:101) at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:216) at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:776) at liquibase.Liquibase.reportStatus(Liquibase.java:797) at liquibase.Liquibase.reportStatus(Liquibase.java:790) at liquibase.integration.commandline.Main.doMigration(Main.java:840) at liquibase.integration.commandline.Main.main(Main.java:133) Liquibase status Failed: Invalid Migration File: Property 'relativeToChangelogFile' not found on object type liquibase.change.core.LoadDataChange {code} The changelog is the following: {code} <?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-3.3.xsd"> <changeSet author="dgil" id="123" runOnChange="true"> <loadData file="CodeType.csv" tableName="CodeType_Tmp" relativeToChangelogFile="true"/> </changeSet> </databaseChangeLog> {code}
    via by Dmitry Gil,
  • In spite of the fact that https://liquibase.jira.com/browse/CORE-549 claims that the new property relativeToChangelogFile is available for LoadData data change, a database update fails with the error: {code} java.lang.RuntimeException: Property 'relativeToChangelogFile' not found on object type liquibase.change.core.LoadDataChange at liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:71) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.setProperty(XMLChangeLogSAXHandler.java:590) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.setAllProperties(XMLChangeLogSAXHandler.java:517) at liquibase.parser.core.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:405) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(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:101) at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:216) at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:776) at liquibase.Liquibase.reportStatus(Liquibase.java:797) at liquibase.Liquibase.reportStatus(Liquibase.java:790) at liquibase.integration.commandline.Main.doMigration(Main.java:840) at liquibase.integration.commandline.Main.main(Main.java:133) Liquibase status Failed: Invalid Migration File: Property 'relativeToChangelogFile' not found on object type liquibase.change.core.LoadDataChange {code} The changelog is the following: {code} <?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-3.3.xsd"> <changeSet author="dgil" id="123" runOnChange="true"> <loadData file="CodeType.csv" tableName="CodeType_Tmp" relativeToChangelogFile="true"/> </changeSet> </databaseChangeLog> {code}
    via by Dmitry Gil,
    • java.lang.RuntimeException: Property not found: tableName at liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:38) at liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:251) at liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:158) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:688) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70) at liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:24) at liquibase.Liquibase.update(Liquibase.java:107) at liquibase.commandline.Main.doMigration(Main.java:637) at liquibase.commandline.Main.main(Main.java:90)
    No Bugmate found.