Project

Profile

Help

Bug #4824

NullReference when activating redistribution license in .net

Added by O'Neil Delpratt 14 days ago. Updated about 7 hours ago.

Status:
In Progress
Priority:
Low
Category:
.NET API
Sprint/Milestone:
-
Start date:
2020-11-12
Due date:
% Done:

80%

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

Description

The ActivateSaxon.cs supplied in redistribution licenses throws the fulling error:

System.NullReferenceException: Object reference not set to an instance of an object.

The feature for oem license is no longer in the Feature.cs class

History

#2 Updated by O'Neil Delpratt 13 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80
  • Fix Committed on Branch 10, trunk added

As a workaround drill down into the Java API where the oem-data property can be specified:

processor.Implementation.setConfigurationProperty

For backward compatibility I have modified the code for the method Processor.SetProperty to again accepts the oem-data configuration property. This will be available in the next maintenance release.

I am leaving this bug issue open because we require a further change to the ActivateSaxon.cs class produced by license tool. Here we will revert back to using the SetProperty method instead of the workaround.

#3 Updated by O'Neil Delpratt about 7 hours ago

Just to confirm we have applied a temporary fix in the ActivateSaxon.cs as we are waiting for the maintenance release with the fix in the Processor object to go out. Those with old copies of ActivateSaxon need this maintenance release to use Saxon 10.

Please register to edit this issue

Also available in: Atom PDF