Fixed null pointer exception while creating a problem

While creating new problem not from the URL, it was throwing NullPointerException. Sorry for the mess, I hope everything is okay now.