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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,001 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot