velocity error (?) in JIRA v5.1.1

JT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2012

Since upgrading to JIRA v5.1.1, the following errors have been filling my logs:

2012-08-21 18:01:02,221 http-8080-131 ERROR xxxxxxx 1081x20102x1 1lrz6ro 159.182.173.20 /secure/EditAction!default.jspa [velocity] Left side ($totalSize) of '<' operation has null value at templates/plugins/jira/macros.vm[line 5, column 18]

2012-08-21 18:01:42,906 http-8080-131 ERROR xxxxxxx 1081x20119x1 1lrz6ro 159.182.173.20 /secure/IssueAction!default.jspa [velocity] Left side ($totalSize) of '<' operation has null value at templates/plugins/jira/macros.vm[line 5, column 18]

I've looked in the macros.vm file but do not see anything that would cause this issue. Not sure what should be on the "Left side".

3 answers

1 accepted

0 votes
Answer accepted
Thiago Ribeiro
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 5, 2012

Hi JT,

This is a Bug on JIra that have been fixed on JIRA 5.1.3

for more information check out JRA-28949

Mainly the problem occurs when you have the Components field set as required in any of your Field Configurations.

I hope it helps you!

0 votes
Mathieu Tourangeau February 13, 2013

Sure it's fixed in 5.1.3? I'm running 5.2.4 and it still not fixed. I closed my opened ticket because they want me to upgrade but I'm not sure it will fix the problem. See version 5.2.6 here:

https://jira.atlassian.com/browse/JRA-30554

I will follow this issue until someone can confirm it is fixe cause I can't take the system down everyweek for maintenance!

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2012

It must be from one of the custom fields provided by some plugin which uses the minSelectSize macro from macros.vm.

Look at your custom fields and see which one comes from plugins and start debugging from there.

Suggest an answer

Log in or Sign up to answer