Just to be explicit I've checked 2.4, 2.5, 2.6 and
2.6.1 and all versions assume "name" will not be null...
So under what circumstances could name be
null?
thx!!
From: Campana Jr., Salvatore J
Sent: Friday, February 06, 2004 2:52 PM
To: '[EMAIL PROTECTED]'
Subject: Help: Xerces 2.3 DeferredElementNSImpl.synchronizeData() throws NullPointer
I was wondering if
anyone had any insight into why this would occur, or if it is different in a
newer release..
Basically I am
getting a NullPointerException when calling element.getLocalName( ); under
a load test. (threading issues?!)
I've trailed the exception to the method
DeferredElementNSImpl.synchronizeData()...line 141
<code>
name =
ownerDocument.getNodeName(fNodeIndex);
// extract local part from QName
int index = name.indexOf(':'); <------------"name" is null, this causes a NullPointer!!!
int index = name.indexOf(':'); <------------"name" is null, this causes a NullPointer!!!
</code>
So I can see name is
null....Under what circumstance would this occur?? Is there something I can do
to avoid this?
I am running Tomcat
4.1.29...that's why I am still on Xercer 2.3....
Thank
you!!
