Johan, Is there some stripped down sample you can show us? Please create a JIRA so that we can track this issue. You can upload the zip to JIRA.
thanks, dims On 6/25/07, Johan Roch <[EMAIL PROTECTED]> wrote:
We use axiom 1.2 and axis2 1.1. Any idea ? >From: "Davanum Srinivas" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [email protected] >Subject: Re: axis2 and axiom DocumentBuilderFactory >Date: Fri, 22 Jun 2007 14:39:16 -0400 > >Johan, > >Which version of Axis2? Axiom? > >thanks, >dims > >On 6/22/07, Johan Roch <[EMAIL PROTECTED]> wrote: >> >>Hi all, >> >>We have a webapp with some Axis2 clients. Axis2 uses Axiom to handle xml. >>The problem is that other parts of the application must parse some XML >>documents. As long as the Xerces DocumentBuilderFactory is used, we have >>no >>problem. But from a given time, our webapp starts to use the Axiom >>DocumentBuilderFactory everywhere and we get some NullPointerException >>each >>time: >> >>Example with JasperReport: >> >> StackTrace on java.lang.NullPointerException >> >>org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:73) >> >>net.sf.jasperreports.engine.util.JRStyledTextParser.<init>(JRStyledTextParser.java:115) >> >>net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:157) >> >>net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92) >> >>net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74) >> >>... another one: >> >> Caused by: java.lang.NullPointerException >> at >>org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:73) >> at >>com.notary.util.signature.impl.AbstractVerifierImpl.getDocBuilder(AbstractVerifierImpl.java:116) >> at >>com.notary.util.signature.impl.iaik.XadesVerifierImpl.verifySignature(XadesVerifierImpl.java:119) >> ... 55 more >> >> >> >>I had a look at the Javadoc about DocumentBuilderFactory >>http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/DocumentBuilderFactory.html#newInstance(). >> >>and Xerces has a >>META-INF/services/javax.xml.parsers.DocumentBuilderFactory >>file in the jar while Axiom not. >> >>=> the question is: How does Axis2 get the Axiom's DocumentBuilderFactory >>? >>Does it set the System property ? >> >>About the NullPointerException itself, I guess I should post it in axiom's >>mailing list... >> >>Thx, >>Johan. >> >>_________________________________________________________________ >>Grand passioné ? Rassemblez tout ce qui vous intéresse en un seul >>endroit >>! http://get.live.com/live/features >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > >-- >Davanum Srinivas :: http://davanum.wordpress.com > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ A la recherche d'un ami d'enfance ? Peut-être est-il dans la liste d'amis de vos amis ! http://spaces.live.com/default.aspx?page=Ed01&ss=True --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Davanum Srinivas :: http://davanum.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
