org.xml.sax.SAXException: Table 'database' unknown

Kuali JIRA | Jose Gutierrez | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    external-run-dataxml-load: [java] Buildfile: build.xml [java] Warning: Reference torque-classpath has not been set at runtime, but was found during [java] build file parsing, attempting to resolve. Future versions of Ant may support [java] referencing ids defined in non-executed targets. [java] inittasks: [java] dataxml-file-to-sql-file: [java] [echo] Processing File: C:\wspace\eclipse\ks-core-db\schema-description.xml [java] [torque-data-sql] templates [java] [torque-data-sql] Using classpath [java] [torque-data-sql] Generating to file C:\wspace\eclipse\ks-core-db\datasql\data.generation [java] [torque-data-sql] org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:153) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [java] [torque-data-sql] at javax.xml.parsers.SAXParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.parseFile(XmlToData.java:102) [java] [torque-data-sql] at org.kuali.core.db.torque.KualiTorqueDataSQLTask.getData(KualiTorqueDataSQLTask.java:135) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) [java] [torque-data-sql] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) [java] [torque-data-sql] at org.apache.velocity.Template.merge(Template.java:254) [java] [torque-data-sql] at org.apache.texen.Generator.parse(Generator.java:445) [java] [torque-data-sql] at org.apache.texen.ant.TexenTask.execute(TexenTask.java:584) [java] [torque-data-sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [java] [torque-data-sql] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] [torque-data-sql] at org.apache.tools.ant.Task.perform(Task.java:348) [java] [torque-data-sql] at org.apache.tools.ant.Target.execute(Target.java:357) [java] [torque-data-sql] at org.apache.tools.ant.Target.performTasks(Target.java:385) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [java] [torque-data-sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [java] [torque-data-sql] at org.apache.tools.ant.Main.runBuild(Main.java:758) [java] [torque-data-sql] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] [torque-data-sql] at org.apache.tools.ant.Main.start(Main.java:179) [java] [torque-data-sql] at org.apache.tools.ant.Main.main(Main.java:268) [java] [torque-data-sql] Caused by: org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:130) [java] [torque-data-sql] ... 49 more [java] BUILD FAILED [java] C:\wspace\eclipse\kul-cfg-dbs\impex\build.xml:453: Exception thrown by 'task.getData'. For more information consult the velocity log, or invoke ant with the -debug flag. [java] Total time: 0 seconds [java] Java Result: 1

    Kuali JIRA | 7 years ago | Jose Gutierrez
    org.xml.sax.SAXException: Table 'database' unknown
  2. 0

    external-run-dataxml-load: [java] Buildfile: build.xml [java] Warning: Reference torque-classpath has not been set at runtime, but was found during [java] build file parsing, attempting to resolve. Future versions of Ant may support [java] referencing ids defined in non-executed targets. [java] inittasks: [java] dataxml-file-to-sql-file: [java] [echo] Processing File: C:\wspace\eclipse\ks-lum-db\schema-description.xml [java] [torque-data-sql] templates [java] [torque-data-sql] Using classpath [java] [torque-data-sql] Generating to file C:\wspace\eclipse\ks-lum-db\datasql\data.generation [java] [torque-data-sql] org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:153) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [java] [torque-data-sql] at javax.xml.parsers.SAXParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.parseFile(XmlToData.java:102) [java] [torque-data-sql] at org.kuali.core.db.torque.KualiTorqueDataSQLTask.getData(KualiTorqueDataSQLTask.java:135) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) [java] [torque-data-sql] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) [java] [torque-data-sql] at org.apache.velocity.Template.merge(Template.java:254) [java] [torque-data-sql] at org.apache.texen.Generator.parse(Generator.java:445) [java] [torque-data-sql] at org.apache.texen.ant.TexenTask.execute(TexenTask.java:584) [java] [torque-data-sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [java] [torque-data-sql] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] [torque-data-sql] at org.apache.tools.ant.Task.perform(Task.java:348) [java] [torque-data-sql] at org.apache.tools.ant.Target.execute(Target.java:357) [java] [torque-data-sql] at org.apache.tools.ant.Target.performTasks(Target.java:385) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [java] [torque-data-sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [java] [torque-data-sql] at org.apache.tools.ant.Main.runBuild(Main.java:758) [java] [torque-data-sql] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] [torque-data-sql] at org.apache.tools.ant.Main.start(Main.java:179) [java] [torque-data-sql] at org.apache.tools.ant.Main.main(Main.java:268) [java] [torque-data-sql] Caused by: org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:130) [java] [torque-data-sql] ... 49 more [java] BUILD FAILED [java] C:\wspace\eclipse\kul-cfg-dbs\impex\build.xml:453: Exception thrown by 'task.getData'. For more information consult the velocity log, or invoke ant with the -debug flag. [java] Total time: 0 seconds [java] Java Result: 1

    Kuali JIRA | 7 years ago | Jose Gutierrez
    org.xml.sax.SAXException: Table 'database' unknown
  3. 0

    external-run-dataxml-load: [java] Buildfile: build.xml [java] Warning: Reference torque-classpath has not been set at runtime, but was found during [java] build file parsing, attempting to resolve. Future versions of Ant may support [java] referencing ids defined in non-executed targets. [java] inittasks: [java] dataxml-file-to-sql-file: [java] [echo] Processing File: C:\wspace\eclipse\ks-core-db\schema-description.xml [java] [torque-data-sql] templates [java] [torque-data-sql] Using classpath [java] [torque-data-sql] Generating to file C:\wspace\eclipse\ks-core-db\datasql\data.generation [java] [torque-data-sql] org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:153) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [java] [torque-data-sql] at javax.xml.parsers.SAXParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.parseFile(XmlToData.java:102) [java] [torque-data-sql] at org.kuali.core.db.torque.KualiTorqueDataSQLTask.getData(KualiTorqueDataSQLTask.java:135) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) [java] [torque-data-sql] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) [java] [torque-data-sql] at org.apache.velocity.Template.merge(Template.java:254) [java] [torque-data-sql] at org.apache.texen.Generator.parse(Generator.java:445) [java] [torque-data-sql] at org.apache.texen.ant.TexenTask.execute(TexenTask.java:584) [java] [torque-data-sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [java] [torque-data-sql] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] [torque-data-sql] at org.apache.tools.ant.Task.perform(Task.java:348) [java] [torque-data-sql] at org.apache.tools.ant.Target.execute(Target.java:357) [java] [torque-data-sql] at org.apache.tools.ant.Target.performTasks(Target.java:385) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [java] [torque-data-sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [java] [torque-data-sql] at org.apache.tools.ant.Main.runBuild(Main.java:758) [java] [torque-data-sql] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] [torque-data-sql] at org.apache.tools.ant.Main.start(Main.java:179) [java] [torque-data-sql] at org.apache.tools.ant.Main.main(Main.java:268) [java] [torque-data-sql] Caused by: org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:130) [java] [torque-data-sql] ... 49 more [java] BUILD FAILED [java] C:\wspace\eclipse\kul-cfg-dbs\impex\build.xml:453: Exception thrown by 'task.getData'. For more information consult the velocity log, or invoke ant with the -debug flag. [java] Total time: 0 seconds [java] Java Result: 1

    Kuali JIRA | 7 years ago | Jose Gutierrez
    org.xml.sax.SAXException: Table 'database' unknown
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    external-run-dataxml-load: [java] Buildfile: build.xml [java] Warning: Reference torque-classpath has not been set at runtime, but was found during [java] build file parsing, attempting to resolve. Future versions of Ant may support [java] referencing ids defined in non-executed targets. [java] inittasks: [java] dataxml-file-to-sql-file: [java] [echo] Processing File: C:\wspace\eclipse\ks-lum-db\schema-description.xml [java] [torque-data-sql] templates [java] [torque-data-sql] Using classpath [java] [torque-data-sql] Generating to file C:\wspace\eclipse\ks-lum-db\datasql\data.generation [java] [torque-data-sql] org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:153) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [java] [torque-data-sql] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [java] [torque-data-sql] at javax.xml.parsers.SAXParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.parseFile(XmlToData.java:102) [java] [torque-data-sql] at org.kuali.core.db.torque.KualiTorqueDataSQLTask.getData(KualiTorqueDataSQLTask.java:135) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) [java] [torque-data-sql] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) [java] [torque-data-sql] at org.apache.velocity.Template.merge(Template.java:254) [java] [torque-data-sql] at org.apache.texen.Generator.parse(Generator.java:445) [java] [torque-data-sql] at org.apache.texen.ant.TexenTask.execute(TexenTask.java:584) [java] [torque-data-sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [java] [torque-data-sql] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Unknown Source) [java] [torque-data-sql] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] [torque-data-sql] at org.apache.tools.ant.Task.perform(Task.java:348) [java] [torque-data-sql] at org.apache.tools.ant.Target.execute(Target.java:357) [java] [torque-data-sql] at org.apache.tools.ant.Target.performTasks(Target.java:385) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [java] [torque-data-sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [java] [torque-data-sql] at org.apache.tools.ant.Main.runBuild(Main.java:758) [java] [torque-data-sql] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] [torque-data-sql] at org.apache.tools.ant.Main.start(Main.java:179) [java] [torque-data-sql] at org.apache.tools.ant.Main.main(Main.java:268) [java] [torque-data-sql] Caused by: org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:130) [java] [torque-data-sql] ... 49 more [java] BUILD FAILED [java] C:\wspace\eclipse\kul-cfg-dbs\impex\build.xml:453: Exception thrown by 'task.getData'. For more information consult the velocity log, or invoke ant with the -debug flag. [java] Total time: 0 seconds [java] Java Result: 1

    Kuali JIRA | 7 years ago | Jose Gutierrez
    org.xml.sax.SAXException: Table 'database' unknown
  6. 0

    Here is the exception that I found when I run impex tool for core-db, rice-db, and lum-db (separately). All other ant tasks (targets) completed successfully. After my "surface scan" testing it does not looks like it somehow affects the behaviour of the system, but I thought it's better to report this. external-run-dataxml-load: [java] Buildfile: build.xml [java] Warning: Reference torque-classpath has not been set at runtime, but was found during [java] build file parsing, attempting to resolve. Future versions of Ant may support [java] referencing ids defined in non-executed targets. [java] [java] inittasks: [java] [java] dataxml-file-to-sql-file: [java] [echo] Processing File: /home/sysadmin/kul-cfg-dbs/ks-core-db/schema-description.xml [java] [torque-data-sql] templates [java] [torque-data-sql] Using classpath [java] [torque-data-sql] Generating to file /home/sysadmin/kul-cfg-dbs/ks-core-db/datasql/data.generation [java] [torque-data-sql] org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:153) [java] [torque-data-sql] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [java] [torque-data-sql] at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.parseFile(XmlToData.java:102) [java] [torque-data-sql] at org.kuali.core.db.torque.KualiTorqueDataSQLTask.getData(KualiTorqueDataSQLTask.java:135) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] [torque-data-sql] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Method.java:597) [java] [torque-data-sql] at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74) [java] [torque-data-sql] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170) [java] [torque-data-sql] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) [java] [torque-data-sql] at org.apache.velocity.Template.merge(Template.java:254) [java] [torque-data-sql] at org.apache.texen.Generator.parse(Generator.java:445) [java] [torque-data-sql] at org.apache.texen.ant.TexenTask.execute(TexenTask.java:584) [java] [torque-data-sql] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [java] [torque-data-sql] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [java] [torque-data-sql] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] [torque-data-sql] at java.lang.reflect.Method.invoke(Method.java:597) [java] [torque-data-sql] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [java] [torque-data-sql] at org.apache.tools.ant.Task.perform(Task.java:348) [java] [torque-data-sql] at org.apache.tools.ant.Target.execute(Target.java:357) [java] [torque-data-sql] at org.apache.tools.ant.Target.performTasks(Target.java:385) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTarget(Project.java:1306) [java] [torque-data-sql] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [java] [torque-data-sql] at org.apache.tools.ant.Project.executeTargets(Project.java:1189) [java] [torque-data-sql] at org.apache.tools.ant.Main.runBuild(Main.java:758) [java] [torque-data-sql] at org.apache.tools.ant.Main.startAnt(Main.java:217) [java] [torque-data-sql] at org.apache.tools.ant.Main.start(Main.java:179) [java] [torque-data-sql] at org.apache.tools.ant.Main.main(Main.java:268) [java] [torque-data-sql] Caused by: org.xml.sax.SAXException: Table 'database' unknown [java] [torque-data-sql] at org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:130) [java] [torque-data-sql] ... 47 more [java] [java] BUILD FAILED [java] /home/sysadmin/kul-cfg-dbs/trunk/impex/build.xml:471: Exception thrown by 'task.getData'. For more information consult the velocity log, or invoke ant with the -debug flag. [java] [java] Total time: 1 second [java] Java Result: 1

    Kuali JIRA | 7 years ago | Armenak Grigoryan
    org.xml.sax.SAXException: Table 'database' unknown

    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. org.xml.sax.SAXException

      Table 'database' unknown

      at org.apache.torque.engine.database.transform.XmlToData.startElement()
    2. org.apache.torque
      XmlToData.startElement
      1. org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:130)
      1 frame
    3. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDriver.scanRootElementHook(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
      7. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      8. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      11. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      12. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      13. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      14. javax.xml.parsers.SAXParser.parse(Unknown Source)
      14 frames
    4. org.apache.torque
      XmlToData.parseFile
      1. org.apache.torque.engine.database.transform.XmlToData.parseFile(XmlToData.java:102)
      1 frame
    5. org.kuali.core
      KualiTorqueDataSQLTask.getData
      1. org.kuali.core.db.torque.KualiTorqueDataSQLTask.getData(KualiTorqueDataSQLTask.java:135)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
      4. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
      5. org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
      6. org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
      7. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
      8. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
      9. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
      10. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
      11. org.apache.velocity.Template.merge(Template.java:254)
      11 frames
    8. org.apache.texen
      TexenTask.execute
      1. org.apache.texen.Generator.parse(Generator.java:445)
      2. org.apache.texen.ant.TexenTask.execute(TexenTask.java:584)
      2 frames
    9. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    11. Ant
      Main.main
      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:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1306)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1189)
      9. org.apache.tools.ant.Main.runBuild(Main.java:758)
      10. org.apache.tools.ant.Main.startAnt(Main.java:217)
      11. org.apache.tools.ant.Main.start(Main.java:179)
      12. org.apache.tools.ant.Main.main(Main.java:268)
      12 frames