java.lang.ArithmeticException: / by zero

GitHub | oakes | 2 years 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.

Root Cause Analysis

  1. java.lang.ArithmeticException

    / by zero

    at org.fife.ui.rsyntaxtextarea.SyntaxView.paint()
  2. rsyntaxtextarea
    SyntaxView.paint
    1. org.fife.ui.rsyntaxtextarea.SyntaxView.paint(SyntaxView.java:682)
    1 frame
  3. Java RT
    BasicTextUI.update
    1. javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
    2. javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
    3. javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
    4. javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
    4 frames
  4. rsyntaxtextarea
    RSyntaxTextArea.paintComponent
    1. org.fife.ui.rtextarea.RTextAreaBase.paintComponent(RTextAreaBase.java:702)
    2. org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.paintComponent(RSyntaxTextArea.java:1981)
    2 frames
  5. nightcode.editors.proxy$org
    TextEditorPane$ff19274a.paintComponent
    1. nightcode.editors.proxy$org.fife.ui.rsyntaxtextarea.TextEditorPane$ff19274a.paintComponent(Unknown Source)
    1 frame
  6. Java RT
    JComponent.paint
    1. javax.swing.JComponent.paint(Unknown Source)
    1 frame
  7. nightcode.editors.proxy$org
    TextEditorPane$ff19274a.paint
    1. nightcode.editors.proxy$org.fife.ui.rsyntaxtextarea.TextEditorPane$ff19274a.paint(Unknown Source)
    1 frame
  8. Java RT
    EventDispatchThread.run
    1. javax.swing.JComponent.paintChildren(Unknown Source)
    2. javax.swing.JComponent.paint(Unknown Source)
    3. javax.swing.JViewport.paint(Unknown Source)
    4. javax.swing.JComponent.paintChildren(Unknown Source)
    5. javax.swing.JComponent.paint(Unknown Source)
    6. javax.swing.JComponent.paintToOffscreen(Unknown Source)
    7. javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
    8. javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
    9. javax.swing.RepaintManager.paint(Unknown Source)
    10. javax.swing.JComponent._paintImmediately(Unknown Source)
    11. javax.swing.JComponent.paintImmediately(Unknown Source)
    12. javax.swing.RepaintManager$3.run(Unknown Source)
    13. javax.swing.RepaintManager$3.run(Unknown Source)
    14. java.security.AccessController.doPrivileged(Native Method)
    15. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    16. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    17. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    18. javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    19. javax.swing.RepaintManager.access$1100(Unknown Source)
    20. javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    21. java.awt.event.InvocationEvent.dispatch(Unknown Source)
    22. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    23. java.awt.EventQueue.access$200(Unknown Source)
    24. java.awt.EventQueue$3.run(Unknown Source)
    25. java.awt.EventQueue$3.run(Unknown Source)
    26. java.security.AccessController.doPrivileged(Native Method)
    27. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    28. java.awt.EventQueue.dispatchEvent(Unknown Source)
    29. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    30. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    31. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    32. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    33. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    34. java.awt.EventDispatchThread.run(Unknown Source)
    34 frames