JAVA LWJGL SharedLibaryLoader version is equaling null and crashes my game -
this error shows when run game
starting game exception in thread "main" java.lang.exceptionininitializererror @ org.lwjgl.system.sharedlibraryloader.getextractedfile(sharedlibraryloader.java:111) @ org.lwjgl.system.sharedlibraryloader.extractfile(sharedlibraryloader.java:71) @ org.lwjgl.system.sharedlibraryloader.load(sharedlibraryloader.java:36) @ org.lwjgl.system.library.loadsystem(library.java:114) @ org.lwjgl.system.library.loadsystem(library.java:66) @ org.lwjgl.system.library.<clinit>(library.java:49) @ org.lwjgl.system.memoryaccessjni.<clinit>(memoryaccessjni.java:13) @ org.lwjgl.system.pointer.<clinit>(pointer.java:22) @ org.lwjgl.system.platform.maplibrarynamebundled(platform.java:80) @ org.lwjgl.glfw.glfw.<clinit>(glfw.java:602) @ com.tyrellplayz.game.game.<init>(game.java:69) @ com.tyrellplayz.game.game.main(game.java:179) caused by: java.lang.nullpointerexception @ org.lwjgl.system.apiutil.apigetmanifestvalue(apiutil.java:85) @ org.lwjgl.version.<clinit>(version.java:25) ... 12 more
when run in debug mode code here in sharedlibaryloader.class seems issue.
string version = version.getversion().replace(' ', '-');
as equaling null
wiki
Comments
Post a Comment