I just downloaded source and tried to run bin\build prepare-tutorials,
it compiles sources but when it comes to database preparation, torque
gives a series of nullPointerExceptions and it cannot write anything to
database. I didnt touch any of the configuration files, I use newest
version of ant and Java JDK1.4.1. Anyone else encountered this problem ?
Here is the some part of the exception:
------------------
[torque-datasql] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
[torque-datasql] Resolver: used
D:\tools\jakarta-ojb-0.9.8\src\schema\ojbtest-data.dtd
[torque-datasql] java.lang.NullPointerException
[torque-datasql] at
org.apache.torque.engine.database.transform.XmlToData.startElement(XmlToData.java:174)
[torque-datasql] at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:454)
[torque-datasql] at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:217)
[torque-datasql] at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:594)
[torque-datasql] at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777)
[torque-datasql] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:748)
[torque-datasql] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.jav
a:1453)
[torque-datasql] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
[torque-datasql] at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
[torque-datasql] at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
......
......
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Newbie question, and request for any step by step isolat... Mehmet D. AKIN
- Re: Newbie question, and request for any step by st... Brian McCallister
- RE: Newbie question, and request for any step by st... oliver . matz
- Mapping booleans Brian McCallister
- Re: Newbie question, and request for any step b... Mehmet D. AKIN
- RE: Newbie question, and request for any step by st... Ajitesh Das
- RE: Newbie question, and request for any step b... Mehmet D. AKIN
- RE: Newbie question, and request for any step by st... oliver . matz
