Paul,

It looks like the "ParserFactory" is looking for (and not finding) the
Sun parser rather than the xerces parser which comes with the Fop
package. This could be due to having an old version of the jaxp.jar or
parsers.jar (or maybe crimson.jar) on your classpath. Is the CLASSPATH
variable set? Do you have any of these jars in your lib/ext directory
under your jdk or jre installation diretory?
Or do you have a file called jaxp.properties under your jre/lib
directory which would specify a value for the property called
"javax.parser.SaxParserFactory"?

Hope that helps,
Karen

Paul Kowlessar wrote:
> 
> Amit,
> 
> I did as you asked and here is the resulting exceptions.  I'm stumped.
> 
> /******************************************************************************/
> 
> javax.xml.transform.TransformerConfigurationException:
> javax.xml.parsers.FactoryConfigurationError: com.sun.xml.p
>         at
> 
>org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:815)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.getTransformer(TraxTransform.java:50)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:100)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:80)
> 
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76)
> 
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:49)
> 
>         at PDFTest.<init>(PDFTest.java:87)
>         at PDFTest.main(PDFTest.java:107)
> ---------
> javax.xml.transform.TransformerException:
> javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXPars
>         at
> 
>org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:813)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.getTransformer(TraxTransform.java:50)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:100)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:80)
> 
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76)
> 
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:49)
> 
>         at PDFTest.<init>(PDFTest.java:87)
>         at PDFTest.main(PDFTest.java:107)
> ---------
> org.xml.sax.SAXException: javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXParserFactoryImpl
>         at
> 
>org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:771)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.getTransformer(TraxTransform.java:50)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:100)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:80)
> 
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76)
> 
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:49)
> 
>         at PDFTest.<init>(PDFTest.java:87)
>         at PDFTest.main(PDFTest.java:107)
> ---------
> org.xml.sax.SAXException: javax.xml.parsers.FactoryConfigurationError:
> com.sun.xml.parser.SAXParserFactoryImpl
>         at
> 
>org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:771)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.getTransformer(TraxTransform.java:50)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:100)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:80)
> 
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76)
> 
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:49)
> 
>         at PDFTest.<init>(PDFTest.java:87)
>         at PDFTest.main(PDFTest.java:107)
> java.lang.reflect.InvocationTargetException:
> java.lang.NullPointerException
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:102)
> 
>         at
> org.apache.fop.tools.xslt.TraxTransform.transform(TraxTransform.java:80)
> 
>         at java.lang.reflect.Method.invoke(Native Method)
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:76)
> 
>         at
> org.apache.fop.tools.xslt.XSLTransform.transform(XSLTransform.java:49)
> 
>         at PDFTest.<init>(PDFTest.java:87)
>         at PDFTest.main(PDFTest.java:107)
> [ERROR]: Logger not set
> [INFO]: building formatting object tree
> 
[SNIP SNIP]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to