java.lang.ArithmeticException: / by zero

Atlassian JIRA | Michael Ruflin [Atlassian] | 5 years ago
  1. 0

    The cause of the bug is incorrect handling of "empty" field configuration in ParentLayout (used by the list view on the task board) Exception: {code} 2011-11-18 18:39:31,431 http-8081-5 ERROR lbacila 1119x566x1 sv2lay 127.0.0.1 /secure/TaskBoard.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.ArithmeticException: / by zero java.lang.ArithmeticException: / by zero at com.pyxis.greenhopper.jira.configurations.layout.ListLayout.getWidth(ListLayout.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) {code}

    Atlassian JIRA | 5 years ago | Michael Ruflin [Atlassian]
    java.lang.ArithmeticException: / by zero
  2. 0

    The cause of the bug is incorrect handling of "empty" field configuration in ParentLayout (used by the list view on the task board) Exception: {code} 2011-11-18 18:39:31,431 http-8081-5 ERROR lbacila 1119x566x1 sv2lay 127.0.0.1 /secure/TaskBoard.jspa [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.ArithmeticException: / by zero java.lang.ArithmeticException: / by zero at com.pyxis.greenhopper.jira.configurations.layout.ListLayout.getWidth(ListLayout.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:203) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) {code}

    Atlassian JIRA | 5 years ago | Michael Ruflin [Atlassian]
    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 com.pyxis.greenhopper.jira.configurations.layout.ListLayout.getWidth()
    2. com.pyxis.greenhopper
      ListLayout.getWidth
      1. com.pyxis.greenhopper.jira.configurations.layout.ListLayout.getWidth(ListLayout.java:64)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Apache Velocity
      ASTBlock.render
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:234)
      2. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:203)
      3. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      4. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
      5. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      6. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
      7. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      8. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
      9. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      10. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      11. org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
      12. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      13. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      13 frames