Bug #2119
closedNullPointerException when running Saxon-EE in unlicensed mode
100%
Description
This is a side-effect of the patch for https://saxonica.plan.io/issues/2064, introduced in Saxon 9.5.1.6.
When running Saxon-EE software and using JAXP interfaces, Saxon by default creates an EnterpriseConfiguration and looks for a license file. If no license file is found, it should fall back to running in unlicensed mode, which makes it behave like Saxon-HE. But the recovery path when no license file is found is failing with a NullPointerException
at com.saxonica.config.Verifier.loadLicense(Verifier.java:141)
It's trying to tidy up by clearing the contents of the "features" list, but the features list has not been initialized.
Related issues
Updated by Michael Kay over 10 years ago
- Status changed from In Progress to Resolved
Fixed on the 9.5 and 9.6 branches. (For some reason the code that had been added to the 9.5 branch to clear the features list after an error had not been added to 9.6. I have now added it, with the extra checks needed to fix this bug.)
Updated by O'Neil Delpratt about 10 years ago
- Status changed from Resolved to Closed
- Fixed in version set to 9.1.5.7
Bug fix applied in the Saxon maintenance release 9.5.1.7
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone set to 9.5.1.7
- % Done changed from 0 to 100
- Applies to branch 9.5 added
- Fix Committed on Branch 9.5 added
- Fixed in Maintenance Release 9.5.1.7 added
Please register to edit this issue