For some reason every time I run this piece of code it gives me an ArrayIndexOutOfBoundsException, the API says this should only occur when the GeometryArray.TEXTURE_COORDINATE_* bit isn't set, I don't really know whats wrong here. :confused:

Java | public Cube() { faces = new Shape3D[6]; //yes th - QuadArray: ArrayIndexOutOfBoundsException on TextureCoordinate set

Any help would be appreciated