Description
It appears that there are some issues with using aggregate functions for EyeQL in the latest version of Fisheye. A customer reported this via the support site last week. The following queries, for example will throw a NullPointerException:
select revisions from dir "/project1/trunk" return count(revisions)
select revisions from dir "/project1/trunk" return sum(totalLines)
However, the following SQL (without aggregates) works fine.
select revisions from dir "/project1/trunk"
Partial stack trace is as follows, and I've attached the full trace as a text file to this issue.
02:50:46 ERROR - Nested in javax.servlet.jsp.JspException: javax.el.ELException: java.lang.NullPointerException: javax.el.ELException: java.lang.NullPointerException at javax.el.BeanELResolver.getValue(BeanELResolver.java:298) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) at com.sun.el.parser.AstValue.getValue(AstValue.java:138) at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206) at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:1001) at org.apache.jsp.tag.web.cru.search.resultlist_005ftabular_tag._jspx_meth_c_when_0(resultlist_005ftabular_tag.java:537) ...