I cannot for the life of me get the simple example SimpleTransform to work in Visual Age.. It works fine from the command prompt.
I have tried pointing the class to the project which contains Xerces1.4.3 and Xalan-j2.2. As well I have tried pointing the class directly to the jars..(Xerces first..as recommended.
Below is the stack trace.
*********************************
Debugger Stack Trace Report:
Thread[main,5,main] (Alive)
Exception Caught: java.lang.NullPointerException
UTF8DataChunk.toString(int, int)
this=(org.apache.xerces.utils.UTF8DataChunk) org.apache.xerces.utils.UTF8DataChunk@6b6c
arg_1=(int) 16
arg_2=(int) 3
StringPool.toString(int)
this=(org.apache.xerces.utils.StringPool) org.apache.xerces.utils.StringPool@7579
arg_1=(int) 33
XMLDocumentScanner.scanXMLDeclOrTextDecl(boolean)
this=(org.apache.xerces.framework.XMLDocumentScanner) org.apache.xerces.framework.XMLDocumentScanner@3ea2
arg_1=(boolean) false
XMLDeclDispatcher.dispatch(boolean)
this=(org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher) org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher@6325
arg_1=(boolean) true
XMLDocumentScanner.parseSome(boolean)
this=(org.apache.xerces.framework.XMLDocumentScanner) org.apache.xerces.framework.XMLDocumentScanner@3ea2
arg_1=(boolean) true
SAXParser(XMLParser).parse(InputSource)
this=(org.apache.xerces.parsers.SAXParser) org.apache.xerces.parsers.SAXParser@26ad
arg_1=(org.xml.sax.InputSource) org.xml.sax.InputSource@15a5
TransformerFactoryImpl.newTemplates(Source)
this=(org.apache.xalan.processor.TransformerFactoryImpl) org.apache.xalan.processor.TransformerFactoryImpl@7433
arg_1=(javax.xml.transform.Source) javax.xml.transform.stream.StreamSource@17e9
TransformerFactoryImpl.newTransformer(Source)
this=(org.apache.xalan.processor.TransformerFactoryImpl) org.apache.xalan.processor.TransformerFactoryImpl@7433
arg_1=(javax.xml.transform.Source) javax.xml.transform.stream.StreamSource@17e9
SimpleTransform.main(
String [])
args=([Ljava.lang.String
[Ljava.lang.String;@161
tFactory=(javax.xml.transform.TransformerFactory) org.apache.xalan.processor.TransformerFactoryImpl@7433
***************************
Please help...I don't have a clue
Jarrod