title: Nullpointer exception when loading texture in libgdx
body: <p>I get a nullpointer exception when loading splash.png. It works running on android, but throws an exception when running on the desktop even though the file is in android's asset folder and exists in the desktop's asset folder.</p>
  
  <p>Any ideas what's happening? I did clean, restarted eclipse, re-imported the projects...</p>
  
  <p><img src="https://i.stack.imgur.com/kGrEe.png" alt="enter image description here"></p>
  
  <pre><code>public class MainMenuScreen implements Screen {
  
  @Override
  public void show() {
      Texture background = new Texture(Gdx.files.internal("data/splash.png"));
  
      }
  </code></pre>
  
  <p>} </p>