title: NullPointerException error when trying to call setter functions (Java)
body: <p>I am reading data from a file and passing the data (three Strings, one float) into objects that I created via setters.</p>
  
  <p>I keep on getting a <code>NullPointerException</code> and cannot figure out what to do, even after researching the topic online.</p>
  
  <p>I have attached pictures of both my main function as well as the code for the class that I am trying to use the setters with.</p>
  
  <p><a href="https://i.stack.imgur.com/ZKmu4.jpg" rel="nofollow noreferrer">my main function</a></p>
  
  <p><a href="https://i.stack.imgur.com/jHy2D.jpg" rel="nofollow noreferrer">the class</a></p>