java - Getting console error -
this question has answer here:
- what nullpointerexception, , how fix it? 12 answers
i'm using libgdx trying make game, when run desktoplauncher, error in console:
exception in thread "lwjgl application" java.lang.nullpointerexception     @ com.orhantozan.game.pongmain.render(pongmain.java:216)     @ com.badlogic.gdx.backends.lwjgl.lwjglapplication.mainloop(lwjglapplication.java:215)     @ com.badlogic.gdx.backends.lwjgl.lwjglapplication$1.run(lwjglapplication.java:120) what cause of this? dont know error means :(
core: http://pastebin.com/r74wb5xx
desktop: http://pastebin.com/i0w4h4wq
dew class: http://pastebin.com/wupnubbg
make sure dewlist field gets initialized. alternatively change 
array<dew> dewlist; to
array<dew> dewlist = new array(); if possible.
Comments
Post a Comment