Project

Profile

Help

Bug #4279

closed

net.sf.saxon.trans.LicenseException: Invalid license file found.

Added by O'Neil Delpratt over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Internals
Sprint/Milestone:
-
Start date:
2018-08-13
Due date:
% Done:

100%

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

Description

This is a long standing issue which I am bringing to our attention again.

A users from Japan got the following exception when they tried to use the license they received:

Exception in thread "main" net.sf.saxon.trans.LicenseException: Invalid license file found
	at com.saxonica.config.Verifier.configure(Verifier.java:351)
	at com.saxonica.config.Verifier.readLicenseFile(Verifier.java:290)
	at com.saxonica.config.Verifier.loadLicense(Verifier.java:135)
	at com.saxonica.config.Verifier.loadPrimaryLicense(Verifier.java:100)
	at com.saxonica.config.ProfessionalConfiguration.loadLicense(ProfessionalConfiguration.java:486)
	at com.saxonica.config.ProfessionalConfiguration.isLicensedFeature(ProfessionalConfiguration.java:447)
	at com.saxonica.config.ProfessionalConfiguration.getXPath31FunctionSet(ProfessionalConfiguration.java:716)

The issue is when we verify the license it is failing to decode the Japanese letters. If we switching the encoding from 'windows-1252' to UTF-8 the license file verifies successfully.

Please register to edit this issue

Also available in: Atom PDF