Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2665

NullPointerException using aggregate functions in EyeQL Search

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.4-M4, 2.4.0
    • 2.3.3
    • Search
    • CentOS 5.4
      JDK 1.6.0_20

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

      Attachments

        Activity

          People

            mwatson@atlassian.com mwatson
            dhansen@atlassian.com Dylan Hansen [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: