You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Roberto Dorich <RD...@IntraLinks.com> on 2001/04/25 15:38:20 UTC

Apache SOAP under a multithreaded environment

Hi,

I'm still having problems with using threads in a multithreaded 
environment.  NullPointerExceptions are getting thrown randomly by xerces. 
 Any ideas?  How do I make this thread safe?  THis is the traceback I'm 
getting:

org.apache.xerces.utils.StringPool.ensureCapacity (StringPool.java:169)
org.apache.xerces.utils.StringPool.addSymbol (StringPool.java:388)
org.apache.xerces.utils.StringPool.StringPool (StringPool.java:134)
org.apache.xerces.framework.XMLParser.XMLParser (XMLParser.java:199)
org.apache.xerces.parsers.DOMParser.DOMParser (DOMParser.java:214)
org.apache.soap.util.xml.XercesParserLiaison.read 
(XercesParserLiaison.java:79)
org.apache.soap.rpc.Call.invoke (Call.java:213)
com.intralinks.ILSession.getArray(ILSession.java:64)
com.intralinks.test.ILSessionTest.testGetArray (ILSessionTest.java:32)
com.intralinks.test.ILSessionTest.run (ILSessionTest.java:47)
java.lang.Thread.run (Thread.java:479)

Any hints or pointers will be appreciated

Thanks,

- Roberto