java.lang.ArithmeticException: / by zero

Coderanch | jay smith | 1 decade ago
  1. 0

    Please help with a simple GUI.

    Coderanch | 1 decade ago | jay smith
    java.lang.ArithmeticException: / by zero
  2. 0

    Please help with a simple GUI.

    Coderanch | 1 decade ago | jay smith
    java.lang.ArithmeticException: / by zero
  3. 0

    Report

    GitHub | 1 year ago | jsql-robot
    java.lang.ArithmeticException: / by zero
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [1.10.2] Crash on loading world

    GitHub | 3 months ago | Messorix
    java.lang.ArithmeticException: / by zero
  6. 0

    Shape problem

    Oracle Community | 1 decade ago | 843805
    java.lang.ArithmeticException: / by zero

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at Rational.getGCD()
    2. Unknown
      RationalTester.actionPerformed
      1. Rational.getGCD(Rational.java:218)
      2. Rational.reduce(Rational.java:205)
      3. Rational.divideRats(Rational.java:146)
      4. RationalTester.actionPerformed(RationalTester.java:180)
      4 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
      6. java.awt.Component.processMouseEvent(Component.java:5488)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
      8. java.awt.Component.processEvent(Component.java:5253)
      9. java.awt.Container.processEvent(Container.java:1966)
      10. java.awt.Component.dispatchEventImpl(Component.java:3955)
      11. java.awt.Container.dispatchEventImpl(Container.java:2024)
      12. java.awt.Component.dispatchEvent(Component.java:3803)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
      16. java.awt.Container.dispatchEventImpl(Container.java:2010)
      17. java.awt.Window.dispatchEventImpl(Window.java:1774)
      18. java.awt.Component.dispatchEvent(Component.java:3803)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      20. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      24. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      24 frames