java.lang.RuntimeException: Too many popStyle() without enough pushStyle()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by ihsanyounes90
, 1 year ago
Too many popStyle() without enough pushStyle()
java.lang.RuntimeException: Too many popStyle() without enough pushStyle()
at processing.core.PGraphics.popStyle(PGraphics.java:6145)
at processing.core.PShape.post(PShape.java:1430)
at processing.core.PShape.draw(PShape.java:1593)
at processing.core.PShape.drawGroup(PShape.java:1618)
at processing.core.PShape.drawImpl(PShape.java:1603)
at processing.core.PShape.draw(PShape.java:1592)
at processing.core.PGraphics.shape(PGraphics.java:3995)
at undefined.Element.display(Element.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1400)
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1393)
at processing.core.PApplet.handleMethods(PApplet.java:1587)
at processing.core.PApplet.handleDraw(PApplet.java:2419)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1527)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.