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".