Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4284

SwapSpaceMonitor division by 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Hudson 3.120
      Java 1.6.0_06
      Linux CentOS 4

      Aug 21, 2009 12:11:03 AM hudson.ExpressionFactory2$JexlExpression evaluate
      WARNING: Caught exception evaluating: from.toHtml(data). Reason:
      java.lang.ArithmeticException: / by zero

      Full stacktrace is attached.

        Attachments

          Activity

          Hide
          kame kame added a comment -

          Created an attachment (id=860)
          Jelly unusable stacktrace

          Show
          kame kame added a comment - Created an attachment (id=860) Jelly unusable stacktrace
          Hide
          mindless Alan Harder added a comment -

          yup, hits this if there is zero swap left.

          Show
          mindless Alan Harder added a comment - yup, hits this if there is zero swap left.
          Hide
          mindless Alan Harder added a comment -

          r21029 | mindless | 2009-08-23 10:19:55 -0600 (Sun, 23 Aug 2009) | 2 lines
          Changed paths:
          M
          /trunk/hudson/main/core/src/main/java/hudson/node_monitors/SwapSpaceMonitor.java

          [FIXED JENKINS-4284] avoid division by zero for zero swap space

          Show
          mindless Alan Harder added a comment - r21029 | mindless | 2009-08-23 10:19:55 -0600 (Sun, 23 Aug 2009) | 2 lines Changed paths: M /trunk/hudson/main/core/src/main/java/hudson/node_monitors/SwapSpaceMonitor.java [FIXED JENKINS-4284] avoid division by zero for zero swap space

            People

            Assignee:
            mindless Alan Harder
            Reporter:
            kame kame
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: