commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glyn Normington" <glyn_norming...@uk.ibm.com>
Subject Re: [Logging] NullPointerException at getCachedFactory/Hashtable in AxisServlet
Date Thu, 27 Jun 2002 15:17:30 GMT
This may be a red herring, but it may help anyone digging into this
problem.

Hashtable can behave unpredictably (which could include throwing a NPE) if
a key object is updated after it has been added to a Hashtable, especially
if this changes the hash value of the key. The unpredictable behaviour
surfaces when the Hashtable is next used to find the updated key because
the key is held by reference in a position related to its original hash
value. It is conceivable that this is what is happening here.

Glyn


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message