i have that strange problem i do not know how to solve – i use processing renderers, like having a main file extending PApplet, everything works fine, even with OpenGL renderer.
now, if i pass a reference to that renderer into another, external class, say, MyDrawer.java, it would throw me that annoying message 'invalid memory access exception of location blah'. no idea, mates.