title: What is a NullPointerException, and how do I fix it?
body: <p>What are Null Pointer Exceptions (<code>java.lang.NullPointerException</code>) and what causes them?</p>
  
  <p>What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?</p>