Have you treid to check if the passed child is notnull?
Also create the boxes in the simplegameinit, as some stuff might need to have the Renderer data (like a single color material , dunno)
Never had similar issues with other openGL-applications? And does the problem occur every
time at the same place…? Never had the problem with the jmeTest-classes?
e.g. The computer at my officeI has a similar problem. After some time (sometimes seconds sometimes minutes) the whole system freezes and all I can do is to turn it off and on again…There it is a hardware-failure…(but I can't go to my boss and say:"Hey,…I can't use openGL!" as we are doing only swt (sad but true))
Your code seems to run fine here (Ubuntu 10.4 64bit, Sun JRE 1.6.0_20, NVidia Drivers 195.36.15, JME 2.0.1 + LWJGL 2.4.2). I have tested it using this main:
public static void main(String[] args) {
Game game = new Game();
game.setConfigShowMode(ConfigShowMode.AlwaysShow);
game.start();
}
640x480, 24bpp, no fullscreen, LWJGL.