Project

Profile

Help

Bug #4824

closed

NullReference when activating redistribution license in .net

Added by O'Neil Delpratt over 3 years ago. Updated 10 months ago.

Status:
Closed
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:
Platforms:

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

Actions #2

Updated by O'Neil Delpratt over 3 years 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 accept 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.

Actions #3

Updated by O'Neil Delpratt over 3 years 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.

Actions #5

Updated by Michael Kay 10 months ago

  • Status changed from In Progress to Closed

Closing this due to inactivity.

Please register to edit this issue

Also available in: Atom PDF