NullPointerException exception occurs during the synchronization of data in the Apache Xerces parser
 Technote (troubleshooting)
 
Problem(Abstract)
If you call the same Xerces Document Object Model (DOM) implementation from multiple threads, you are likely to receive the following error:

java.lang.NullPointerException
at org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData (DeferredElementNSImpl.java:144)
 
Cause
The Apache Xerces DOM is not thread safe. Do not call Apache Xerces DOM from multiple threads within the same process. This restriction is documented in the Apache Xerces DOM Web site.
http://xml.apache.org/xerces2-j/faq-dom.html#faq-1
 
Resolving the problem
You must supply the necessary locks within your programming logic to prevent multiple threads from calling Apache Xerces DOM concurrently.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Web Services (for example: SOAP or UDDI or WSGW or WSIF)
Operating system(s): Windows
Software version: 5.0
Software edition:
Reference #: 1169933
IBM Group: Software Group
Modified date: Sep 11, 2004