Skip to main content

Hi,


We are using the K2 [blackpearl] Dynamic SQL Stored Procedure Service  to call a stored proc to update a status on a table.


The issue we have is that it always fail with the following error "Object reference not set to an instance of an object.".  But when we do a retry, it works fine.


Did anyone had this problem.


Thanks


Dominic 

That's a generic error which indicates that some object failed to create.  It might be due to something specific with your environment.  Given that the source code is available, I would try to attach a debugger to your execution host (should be your K2HostServer) with the source and try to step through it.  The error should be thrown from the Execute method.


Hi Jonny,


We found out why the error was raise. We were mapping one of my field to the activity destination instance - user - FQN which returns null when the events is executed. When we did a retry from the workspace, it returned the propper value.


 We tried with and without a destination user with the same results. For now, we will set it to a fix value.


 Thanks


Dominic


Reply