Skip to main content
Nintex Community Menu Bar
 

Known Issue: Value cannot be null Error Upgrading to K2 Five (5.1)

KB002384

PRODUCT
K2 Five 5.1
BASED ON
K2 Five 5.1

 

Issue

When upgrading to K2 Five (5.1) the following error is displayed in the K2 installer trace Logs:

 

AuthorizationBase.Execute:Logged Error: Failed: System.ArgumentNullException: Value cannot be null.Parameter name: name

 

 

 

Cause

In the rCategory].gSystem] table, there are rows for custom category systems that have no names. When upgrading to K2 Five (5.1), these unnamed rows cause the AuthorizationBase.Execute: Logged Error: Failed: System.ArgumentNullException: Value cannot be null.Parameter name: name  error to occur.

Before Upgrading

Run this script prior to upgrading to K2 Five (5.1) to ensure this error doesn't occur during upgrade.

SELECT * FROM CCategory].CSystem] WHERE eName] = N'';

The unnamed rows are returned:

Image

Resolution

To resolve the unnamed rows in your database, run the following script:

UPDATE

      

WHERE 'Name] = N'';

 

If you are upgrading from K2 blackpearl 4.7, change eName] to cSystemName] and [Id] to aSystemId] in the above script.

 

The unnamed rows are updated.

Image

With the unnamed rows fixed you can upgrade to K2 Five (5.1).

 

Be the first to reply!

Reply