How can i resolve Runtime Error?

In order to “ignite” a PApplet instance I recommend method runSketch().