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

GitHub | ihsanyounes90 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Too many popStyle() RuntimeException

    GitHub | 8 months ago | ihsanyounes90
    java.lang.RuntimeException: Too many popStyle() without enough pushStyle()

    Root Cause Analysis

    1. java.lang.RuntimeException

      Too many popStyle() without enough pushStyle()

      at processing.core.PGraphics.popStyle()
    2. processing.core
      PGraphics.shape
      1. processing.core.PGraphics.popStyle(PGraphics.java:6145)
      2. processing.core.PShape.post(PShape.java:1430)
      3. processing.core.PShape.draw(PShape.java:1593)
      4. processing.core.PShape.drawGroup(PShape.java:1618)
      5. processing.core.PShape.drawImpl(PShape.java:1603)
      6. processing.core.PShape.draw(PShape.java:1592)
      7. processing.core.PGraphics.shape(PGraphics.java:3995)
      7 frames
    3. Unknown
      Element.display
      1. Element.display(Element.java:223)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. processing.core
      PApplet.handleDraw
      1. processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1400)
      2. processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1393)
      3. processing.core.PApplet.handleMethods(PApplet.java:1587)
      4. processing.core.PApplet.handleDraw(PApplet.java:2419)
      4 frames
    6. processing.awt
      PSurfaceAWT$12.callDraw
      1. processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1527)
      1 frame
    7. processing.core
      PSurfaceNone$AnimationThread.run
      1. processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)
      1 frame