If saxon:evaluate function used in XSLT, than this XSLT throws NPE if used deserialized transformer. For example please have a look to attached demo XSLT.
testcase for reproduce problem
Logged In: YES
This is a documented restriction: see the second bullet at:
However, Saxon should be telling you about this at the time you attempt to compile the stylesheet, and I will look at the code to see why this isn't happening.
Please note that this tracker is not the right way to notify suspected bugs. Please using the mailing list, the forum, or the support-requests tracker. There's a bright yellow notice on "Submit New bug" telling you this. One reason for the delay in responding is that I don't actually get notified of new entries made here.
I've tried the test stylesheet in the current Saxon release, and compiling it gives the message
Cannot compile a stylesheet containing calls to saxon:evaluate
Unable to compile stylesheet
I'm therefore closing this bug report as INVALID.