JIRA Agile Crashes with "divide by zero" Error Message only when accessing the task board

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The JIRA Agile crashes with a divide by zero error only when accessing the task board. This doesn't happen for every user, just specific ones.

atlassian-jira.log に次のエラーが返される。

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

原因

The cause of the problem is an incorrect/invalid configuration of the "List View" card style for the issue type "New Feature". For some reason that configuration is empty/only consists of one invalid field. This is handled correctly on the Planning Board, but not on the Task Board.

ソリューション

  1. Go to the Project Configuration (Tools > Configuration)
  2. Navigate to the "Card Styles"

  3. Under "List View" add one of the available fields, e.g. the "Summary" field.
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.