I'm using libgdx trying to make a game, but when I run this from the desktoplauncher, I get a error in the console:
Exception in thread "LWJGL Application" java.lang.NullPointerException
at com.orhantozan.game.PongMain.render(PongMain.java:216)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:215)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
What is the cause of this? I dont know what the error means :(
Core: http://pastebin.com/r74wB5xX
Desktop: http://pastebin.com/i0w4H4Wq
Dew class: http://pastebin.com/wuPnUBbg