  | |  | Help: Xerces 2.3 DeferredElementNSImpl.synchronizeData() throws NullPointer | Help: Xerces 2.3 DeferredElementNSImpl.synchronizeData() throws NullPointer 2004-02-06 - By Campana Jr., Salvatore J
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!!! </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!! ________________________________
Sal Campana HP Software 856.638.6284 sal_campana@(protected) <mailto:sal_campana@(protected)>
<mailto:sal_campana@(protected)>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD> <BODY> <DIV><FONT face=Arial size=2><SPAN class=289204419-06022004>I was wondering if anyone had any insight into why this would occur, or if it is different in a newer release..</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=289204419-06022004></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=289204419-06022004>Basically I am getting a NullPointerException when calling element.getLocalName( ); under a load test. (threading issues?!)</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=289204419-06022004></SPAN></FONT> </DIV> <DIV><FONT face=Arial><FONT size=2><FONT><SPAN class=289204419-06022004>I've trailed the exception to the method </SPAN></FONT><FONT>DeferredElementNSImpl<SPAN class=289204419-06022004>.</SPAN>synchronizeData()<SPAN class=289204419-06022004>...line 141</SPAN></FONT></FONT></FONT></DIV> <DIV><FONT face=Arial><FONT size=2><FONT><SPAN class=289204419-06022004></SPAN></FONT></FONT></FONT> </DIV> <DIV><FONT face=Arial><FONT size=2><FONT><SPAN class=289204419-06022004><code></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT face=Arial><FONT size=2><FONT><SPAN class=289204419-06022004>name = ownerDocument.getNodeName(fNodeIndex);</SPAN></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial><FONT size=2><FONT><SPAN class=289204419-06022004>// extract local part from QName<BR>int index = name.indexOf(':'); <------------"name" is null, this causes a NullPointer!!!</SPAN></FONT></FONT></FONT></DIV> <DIV><FONT face=Arial><FONT size=2><FONT><SPAN class=289204419-06022004></code></SPAN></FONT></FONT></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><SPAN class=289204419-06022004><FONT face=Arial size=2>So I can see name is null....Under what circumstance would this occur?? Is there something I can do to avoid this?</FONT></SPAN></DIV> <DIV><SPAN class=289204419-06022004><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=289204419-06022004><FONT face=Arial size=2>I am running Tomcat 4.1.29...that's why I am still on Xercer 2.3....</FONT></SPAN></DIV> <P align=justify></P> <DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=289204419-06022004>Thank you!!</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV align=left> <HR> </DIV></HR> <DIV align=left><BR></DIV> <P align=left></P> <DIV align=left><FONT face=Arial color=#000080 size=3><B>Sal Campana</B></FONT><FONT face=Arial color=#808080 size=2><BR><B><FONT color=#000080 size=2>HP Software</FONT><BR>856.638.6284<BR></FONT><FONT face=Arial color=#000080 size=2></FONT><A href="mailto:sal_campana@(protected)"> <FONT face=Arial color=#0000ff size=2><U>sal_campana@(protected)</U></FONT></A> </DIV> <P align=left><A href="mailto:sal_campana@(protected)"><U><FONT face=Arial color=#0000ff size=2></U></FONT></A> </P></B> <DIV> </DIV></BODY></HTML>
|
|
 |