Forwarded message from Kate Tang.

-------- Original Message --------
Subject: saxon-help
Date: Thu, 3 Nov 2011 15:58:16 -0400
From: Kate Tang <katet@prinova.com>
To: <saxon-help-bounces@lists.sourceforge.net>


I used saxon to produce multiple HTML files. It works fine in Websphere
and JBoss, instead of Weblogic.

The error starts from: Transformer trans transFact.newTransformer(xsltSource);  

Anyone can help?

Log:
java.lang.NullPointerException
	at
weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntit
yResolver.java:75)
	at
weblogic.xml.jaxp.RegistryXMLReader.setEntityResolver(RegistryXMLReader.
java:197)
	at
net.sf.saxon.Configuration.reuseStyleParser(Configuration.java:2347)
	at
net.sf.saxon.PreparedStylesheet.loadStylesheetModule(PreparedStylesheet.
java:261)
	at
net.sf.saxon.style.XSLGeneralIncorporate.getIncludedStylesheet(XSLGenera
lIncorporate.java:166)
	at
net.sf.saxon.style.StylesheetModule.spliceIncludes(StylesheetModule.java
:136)
	at
net.sf.saxon.style.PrincipalStylesheetModule.preprocess(PrincipalStylesh
eetModule.java:197)
	at
net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesheet
.java:340)
	at
net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:186)
	at
net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.
java:132)
	at
net.sf.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImp
l.java:87)
	at
com.prinova.messagepoint.model.util.XMLTransformer.TransToHTML(XMLTransf
ormer.java:44)