Log is here: http://pastebin.com/4sgBXZhe
I cant seem to stop this crash from occurring. The code that binds the texture looks like this:
public void render() {
glPushMatrix();
glTranslatef(_position.getX(), _position.getY(), _position.getZ());
glRotatef(_rotation.getX(), 1.0f, 0.0f, 0.0f);
glRotatef(_rotation.getY(), 0.0f, 1.0f, 0.0f);
glRotatef(_rotation.getZ(), 0.0f, 0.0f, 1.0f);
glScalef(_scale, _scale, _scale);
_texture.bind();
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glCallList(_listID);
for(Object3D model : _children)
{
model.render();
}
glPopMatrix();
}