Project

Profile

Help

Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.

Bug #4824

closed

NullReference when activating redistribution license in .net

Added by O'Neil Delpratt almost 4 years ago. Updated over 1 year 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 almost 4 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 almost 4 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 over 1 year ago

  • Status changed from In Progress to Closed

Closing this due to inactivity.

Please register to edit this issue

Also available in: Atom PDF