Hi,
Under high load of my application sometimes I get uncaught exception (i.e.
console output as "Generic exception caught!"), while having such code:
XPathEvaluator theEvaluator;
NodeRefList theResult;
assert(theDOMSupport != 0);
assert(theDocument != 0);
assert(thePrefixResolver != 0);
try {
theEvaluator.selectNodeList(
theResult,
*theDOMSupport,
theDocument,
XalanDOMString(selector).c_str(),
*thePrefixResolver);
}
catch (const XMLException& e)
{
_tprintf(_T("XMLException: %s\n"), e.getMessage());
}
catch (const DOMException& e)
{
_tprintf(_T("DOMException: %s\n"), e.getMessage());
}
catch (const SAXParseException& e)
{
_tprintf(_T("SAXParseException: %s\n"), e.getMessage());
}
catch (const XercesDOMException& e)
{
_tprintf(_T("XercesDOMException: %d\n"), e.getExceptionCode());
}
catch (const XalanDOMException& e)
{
_tprintf(_T("XalanDOMException: %d\n"), e.getExceptionCode());
}
catch(...)
{
_tprintf(_T("Generic exception caught!\n"));
}
What could be a reason of that? Should I check release of any particular
object from time to time? Or availability of MemoryManager or anything else?
As I've said it happens only rarely.
I have rebuilt the latest Xalan-C under SVN 1_10 tag, but still the same.
Any help would be appreciated.
--
View this message in context:
http://www.nabble.com/I-have-strange-selectNodeList-uncatched-exception-for-Xalan-1_10-tf4943309.html#a14151293
Sent from the Xalan - C - Users mailing list archive at Nabble.com.