velocity error (?) in JIRA v5.1.1

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

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 vote

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.

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!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you