Bug #5158
closedSaxon EE 9.9 and above NullReference Exception
0%
Description
Recently I has created a topic on Stack Overflow regarding to intermittent NullReference Exception caused by Saxon component (https://stackoverflow.com/questions/68922354/intermittent-error-there-was-an-error-while-attempting-to-compile-the-styleshee/68926635?noredirect=1#comment122554873_68926635).
Fortunately, I was able to create a test application which is able to reproduce this error 1 times from 5 (inversely proportional to a computer’s processing power). You can find it attached. Run it many times and occasionally you’ll get the error.
Some notes and observations: I was not able to reproduce is on simple test source, only on our production set of xslt files. Also the exception does not occur if I will not activate Saxon Processor (by commenting SaxonActivator.ActivateSaxonProcessor(Processor) line). The issue was introduced in Saxon 9.9, up to 10.5. Not reproduced for Saxon 9.7.
Please note, attached sources contain our license key, also sample xslt (WS_Single_Invoice-20210921.3.0.0) would not be published anywhere. So, please advice how I can safely attach mentioned sample to avoid unauthorized access over the Internet.
Related issues
Updated by Vitaly Filatenko about 3 years ago
Sorry, it can be closed as a duplicate for https://saxonica.plan.io/issues/5148
Updated by Michael Kay about 3 years ago
- Is duplicate of Bug #5148: Multithreading issue during compilation added
Please register to edit this issue