Deployment failed null reference exception


Badge +2

Hi,

 

I have been struggling with this null reference exception while deploying.  Please help.  I am using K2 blackpearl 4.6.6 

 

System. NullReferenceException: Object reference not set
to an instance of an object. at SourceCode. K2Studio.
K2Environment. DeployAll(IntPtr intPtr, String& ErrNum,
String& ErrMsg) at SourceCode. K2Studio. K2Environment.
SourceCode. K2Studio. IK2Environment. DeployProject() at
SourceCode. K2Studio. K2ApplicationManager. Deploy()


2 replies

Badge +5

Hi, Swapnilchavada


 



  • Previously did you deploy without errors?
  • Have you done any environment changes to K2 lately?

There was a similar issue a client had, and to resolve the issue they did the following:


 



  1. rebooting her machine and the server.
  2. rolling back K2 database from the backup created prior to having the issue

 


 


Hope this helps


 


Kind Regards


 


Julia

Badge +5

Hi, Swapnilchavada



Just to follow up on this post are you now able to deploy?


please update this post.


 


Kind Regards


 


Julia

Reply