<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

.NET Framework error when running K2 App Deployment tool

~~repeating-content.html~~
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

During App Deployment, a .NET Framework error message at the K2 Server URL screen appears when you click the Next or Test button.

Exception Text:

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

   at SourceCode.SetupManager.UI.Panels.MetaDataDocUrlPanel.Sha512Disabled()

   at SourceCode.SetupManager.UI.Panels.MetaDataDocUrlPanel.Sha512Incompatibility(String url)

Symptoms

The K2 App Deployment tool attempted to reach K2 AutoDiscover URL but the connection was terminated due to an invalid certificate. In this case, a special wildcard certificate was used during the initial K2 setup (internet connection is required to validate the certificate).

Troubleshooting Steps

Allow internet access between K2 and SharePoint to resolve the issue.