K2 Package & Deployment: Post-deployment error "Object reference not set to an instance of an object"
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."
SymptomsThis prevents the solution from being implemented and also delays possible further development.
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%'
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