Project

Profile

Help

Bug #2119

closed

NullPointerException when running Saxon-EE in unlicensed mode

Added by Michael Kay almost 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build and release
Sprint/Milestone:
Start date:
2014-08-02
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.5
Fix Committed on Branch:
9.5
Fixed in Maintenance Release:
Platforms:

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

Has duplicate Saxon - Bug #2120: NullPointerException if there's no license keyClosedMichael Kay2014-08-04

Actions

Please register to edit this issue

Also available in: Atom PDF