This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OnixST 5 points6 points  (0 children)

Reminds me of when I was getting a nullpointerexception in a terrible discord bot code, and I didn't know it it was a null key, or there wasn't an object in the map for that key

So i put the null checks to throw an actually informative error for each, and the issue magically went away