We are getting random Event error always sounding like this:
Object reference not set to an instance of an object
It occurs in half of the times. Please clarify how we could avoid it.
We are getting random Event error always sounding like this:
Object reference not set to an instance of an object
It occurs in half of the times. Please clarify how we could avoid it.
Hello,
In order to best help with this, we would need some additional information. First, can you send over a full report that contains this error so we can get some context? Second, if this is a custom event script, can you send over the script so we can look it over? Thanks.
Thanks for your reply! I have sent a message with the requested info. Thanks again!
Hello,
I had one of our devs take a look and the script seems to work on Deadline 8.0.7.3. Now, you said in your PM that this was a skeleton code, so I am not sure what might have been removed and how the script could be affected by any code that was removed.
The basics of the error is referencing a variable that hasn’t been assigned a value yet. Best way to avoid that is to ensure that all variables have a value in all codepaths.
Thanks for letting me know! I appreciate it!
I will go ahead and initiate all the Event variables to some default values. Let’s assume we solved it! Thanks again!