digitaldrew
Well-known member
- Joined
- Nov 10, 2012
- Messages
- 167
- Programming Experience
- Beginner
Hey everyone. I have a program which does some basic proxy testing using multiple threads. Each proxy is put into the queue and then pulled to be tested. For some reason I occasionally get a "NullReference Exception" was unhandled error. I've tried doing a number of things with the code (IsNot Nothing..etc) but it still shows up. You can see the screenshot below and what the last changes I did were.

Any ideas why this code (or even something like If Queue(0).url isNot Nothing then..) wouldn't fix the issue of this null exception?


Any ideas why this code (or even something like If Queue(0).url isNot Nothing then..) wouldn't fix the issue of this null exception?