When trying to run any of the examples on the Processing 2 page for createShape() I get the following:
OpenGL error 1282 at bot beginDraw() : invalid operation
OpenGL error 1282 at bot endDraw() : invalid operation
OpenGL error 1282 at bot beginDraw() : invalid operation
OpenGL error 1282 at bot endDraw() : invalid operation