Windows legacy to windows migration

I converted my code from windows legacy to window. when i am running the code its thrown me error.

Hi @poojitha.vasunuri11

Try by updating the Dependencies to the higher version by making Runtime rule as lowest as applicable.

Hope it helps!!

Hi @poojitha.vasunuri11

Check the below thread

REgards

Hi @poojitha.vasunuri11

The “Object reference not set to an instance of an Object” error occurs when a variable that is supposed to hold an object is found to be null.

Check and reassign the variables which doesn’t have data in it.

Hope it helps!!

@poojitha.vasunuri11,

Check the exact activity which is throwing this error. While migrating some things gets broken. We have to check the exact activity throwing this issue and fix it.

Thanks,
Ashok :slight_smile:

@poojitha.vasunuri11

Welcome to the community

looks like your if condition is throwing it as one of the variable is missing

cheers

Hi @poojitha.vasunuri11 ,

Check the variables/arguments pertaining to the workflow being invoked is having appropriate values.

Hope this helps you resolve the issue.!

Thanks,
Gautham.