title: SBT gives java.lang.NullPointerException when trying to run simple "Hello!" example script
body: <p>I'm trying my hand at Scala for the first time, and I've chosen to do so using SBT 0.13.9 on a Linux machine running a new install of Ubuntu 14.04LTS.</p>
  
  <p>I've been following the instructions given on the SBT website to the letter, and I'm now trying to run the "Hello!" example script, which is as follows:</p>
  
  <pre><code>object Hi {
    def main(args: Array[String]) = println("Hi!")
  }
  </code></pre>
  
  <p>When I try to run, I get the following output:</p>
  
  <pre><code>[trace] Stack trace suppressed: run last compile:compileIncremental for the full output.
  [error] (compile:compileIncremental) java.lang.NullPointerException
  [error] Total time: 1 s, completed 22 Aug 2015, 2:30:09 PM
  </code></pre>
  
  <p>Being completely new to Scala and SBT (and also relatively new to Linux) I'm sure I've just overlooked something obvious. No amount of Googling has yielded any answers so far though.</p>
  
  <p>What should I check first? I'd really appreciate any advice anyone can offer.</p>