Hi everybody, I solved. The error was in mismatched upcast. I wrote
HandlerBase* pkDocumentHandler = new HandlerBase(); DocumentHandler* docHandler = pkDocumentHandler; ErrorHandler* errHandler = (ErrorHandler*) docHandler; //error in cast instead of ErrorHandler* errHandler = (ErrorHandler*) pkDocumentHandler; 3 Days to find it... grrrrrr! -- View this message in context: http://apache-xml.6118.n7.nabble.com/Exception-when-calling-parse-from-release-build-3-1-1-tp39813p39825.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.