> The NullPointer occurs within a named template at 
> org.apache.xpath.objects.XRTreeFrag.xstr(). The member variable m_dtm
> is null and m_allowRelease is true. I'm assuming either detach() or 
> destruct() was called. It could be a race or some
> bad laogic that leads to xstr() being called after detach() or destruct(). 
> But I need to confirm the last two calls (I
> just figured out a way).

I verified that neither detach() nor destruct() are being called prior to 
xstr(). In the constructor of XRTreeFrag the call
org.apache.xpath.XPathContext.getDTM(int root) is returning null and the root 
is not zero.

Reply via email to