I’m trying to put a try catch block around an activity that assigns a value to a variable but sometimes the value is null, so when it is null, its supposed to move on to the catch block and assign nothing to the variable instead of causing an error and yet, I still get an error saying “Assign: Object reference not set to an instance of an object”
thered
1
Palaniyappan
(Palaniyappan P )
2
Hi
Are we running in debug mode
Kindly check that once and run in normal mode
Cheers @thered
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to catch a Object reference not set to an instance of an object | 5 | 3584 | December 23, 2019 | |
| Try Catch and manually set the data | 2 | 1709 | May 15, 2019 | |
| Try error but not run catch? | 3 | 1278 | January 21, 2022 | |
| Try Catch: Object reference not set to an instance of an object | 15 | 1623 | October 2, 2020 | |
| Getting error in assign value | 1 | 1319 | November 20, 2019 |