java.lang.RuntimeException: Property not found: tableName

JIRA | ghynx | 8 years ago
  1. 0

    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

    JIRA | 8 years ago | ghynx
    java.lang.RuntimeException: Property not found: tableName
  2. 0

    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

    JIRA | 8 years ago | ghynx
    java.lang.RuntimeException: Property not found: tableName
  3. 0

    Re: Running LogManager Tutorial from an external project

    gora-user | 3 years ago | Sznajder ForMailingList
    java.lang.RuntimeException: java.lang.IllegalStateException: tableName is not specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Running LogManager Tutorial from an external project

    gora-user | 3 years ago | Lewis John Mcgibbney
    java.lang.RuntimeException: java.lang.IllegalStateException: tableName is not specified
  6. 0

    Re: Running LogManager Tutorial from an external project

    gora-user | 3 years ago | Sznajder ForMailingList
    java.lang.RuntimeException: java.lang.IllegalStateException: tableName is not specified

    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. java.lang.RuntimeException

      Property not found: tableName

      at liquibase.util.ObjectUtil.setProperty()
    2. Liquibase Core
      ObjectUtil.setProperty
      1. liquibase.util.ObjectUtil.setProperty(ObjectUtil.java:38)
      1 frame
    3. liquibase.parser.xml
      XMLChangeLogHandler.startElement
      1. liquibase.parser.xml.XMLChangeLogHandler.setProperty(XMLChangeLogHandler.java:251)
      2. liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:158)
      2 frames
    4. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
      2. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:688)
      3. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
      6. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      10. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      11. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      12 frames
    5. liquibase.parser.xml
      XMLChangeLogParser.parse
      1. liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70)
      1 frame
    6. Liquibase Core
      Liquibase.update
      1. liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:24)
      2. liquibase.Liquibase.update(Liquibase.java:107)
      2 frames
    7. liquibase.commandline
      Main.main
      1. liquibase.commandline.Main.doMigration(Main.java:637)
      2. liquibase.commandline.Main.main(Main.java:90)
      2 frames