K2 Package & Deployment: Post-deployment error "Object reference not set to an instance of an object"

  • 15 February 2022
  • 0 replies
  • 19 views

Userlevel 5
Badge +20
 

K2 Package & Deployment: Post-deployment error "Object reference not set to an instance of an object"

kbt161629

PRODUCT
K2 Cloud
K2 Five
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.

Issue

When deploying a solution to a destination source, it will fail on the last step with the error:

"Post-deployment error: Object reference not set to an instance of an object."

Image

Symptoms

This prevents the solution from being implemented and also delays possible further development.

Troubleshooting Steps

 

Please validate if the SharePoint 2013 Category has the correct name structure as the Package and deployment is dependant on this name during Deployment.

The script below can be executed to identify whether the Category Name is correct or not. If this is a K2 Cloud tenant you will need to raise this with K2 Support.

SELECT * FROM [Category].[Category] where Name like '%2013%'

 

 

If the above result displays with an underscore or a different character, Database modification will be needed. Please contact K2 Support.
Do not modify any database definition or database content unless specifically instructed to do so by K2. No changes to the K2 Database definition or content are supported unless specifically instructed by K2.  Please see: http://help.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#Database_Reference.html 

0 replies

Be the first to reply!

Reply