Ok, so my problem is really bizarre, but it can be explained pretty much exactly in this article (I think): Throwing null instead of an Exception in Java - Adarsh R
I don't exactly understand what the article is telling me. Does anyone understand what is happening and how I should fix it?