I've got a problem with DevIL and I've some posts with the same problem but couldn't find the solution. The problem is that when I compile my code I get with IL.create() in the code:
Exception in thread "main" java.lang.NullPointerException
at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:1169)
at game.TextureLoader.load(TextureLoader.java:28)
at game.Scene.<init>(Scene.java:7)
at game.Main.<init>(Main.java:15)
at game.Main.main(Main.java:81)
Java Result: 1
and without it in the code:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=2812, tid=1108
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b61 mixed mode, sharing)
# Problematic frame:
# C 0x00000000
#
# An error report file with more information is saved as hs_err_pid2812.log
#
# If you would like to submit a bug report, please visit:
#
http://java.sun.com/webapps/bugreport/crash.jsp#
Java Result: 1
It's the same when using jse 5.0 and jse 6.0
Any solution to this?
Thanks in advance!