Project

Profile

Help

Saxon crash, Saxon 9 S9API

Added by Anonymous over 15 years ago

Legacy ID: #5551105 Legacy Poster: David Lee (daldei)

Using Saxon 9 S9API Before I try to issolate this and produce a test case. Maybe someone has seen this and just magically knows off-the-cuff the answer. I'm serializing a Saxon created tree of data (XdmValue)'s using Processor.writeXdmValue(XdmValue, Destination) and sometimes, its reproducable, but only when I dont want it to be .. (seems to depend on initial conditions) ... Java just prints net.sf.saxon.s9api.Processor.writeXdmValue(Lnet/sf/saxon/s9api/XdmValue;Lnet/sf/ saxon/s9api/Destination;)V to its stderr then exits. No exception thrown no stack traceback. I've seen this on both Windows and Linux (using the same saxon jar's) I can try to get a reproducable test case, but since its very sensitive to initial conditions I dont know how easy that will be. If anyone has a clue about where to start with this, I'd appreciate it. Its very frustrating becuase there are no exceptions thrown to my knowledge (My code could be hiding them, but I dont belive so), its just prints that classname to stderr and exit.


Replies (1)

RE: Saxon crash, Saxon 9 S9API - Added by Anonymous over 15 years ago

Legacy ID: #5551147 Legacy Poster: Michael Kay (mhkay)

My guess would be that your classpath contains a saxon9.jar and a saxon9-s9api.jar from different Saxon versions.

    (1-1/1)

    Please register to reply