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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

510 views 1 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