JVM crashes after enabling color_array.

Hey all,

i’m having a problem that my jvm dumps when executing this statement.
gl.glEnableClientState(GL.GL_COLOR_ARRAY);
to enable Colorarrays.
Vector arrays is not giving any problem.
It is also not an index problem seen that i did’n implement a collor array yet.

I’m running jogl 1.10-rc3 on java 1.6 but tried 1.5 (gave same problem).

Can some1 please show me what is wrong?
Thanx
Job de Noo

If you enable it, not specifying a color-pointer (NIO buffer or VBO), and use glDrawArrays or glDrawElements, your VM is very likely to crash, as the drivers are reading data from an undefined (?) location in memory.

Thanx for the quick reply,
i indeed used one of those comments without a buffer because i enabled it too soon.:wink: