Uploaded image for project: 'JIRA Server (including JIRA Core)'
  1. JIRA Server (including JIRA Core)
  2. JRASERVER-19350

If i run a JQL search that is too general, then try to click on the "file attachments" link on an issue it dumps a stack trace

    XMLWordPrintable

    Details

    • Support reference count:
      8
    • Symptom Severity:
      Severity 2 - Major
    • Occurrence Factor:
      10%
    • UIS:
      2

      Description

      If i run a JQL search that is too general, then try to click on the "file attachments" link on an issue it dumps a stack trace

      com.atlassian.jira.issue.search.ClauseTooComplexSearchException: A the following query was too complex to generate a query from: {comment ~ "Unable to retrieve gadget xml. HTTP error 404"}
      	at com.atlassian.jira.jql.query.DefaultLuceneQueryBuilder.createLuceneQuery(DefaultLuceneQueryBuilder.java:38)
      	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.getHits(LuceneSearchProvider.java:151)
      	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchAndSort(LuceneSearchProvider.java:276)
      	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchAndSort(LuceneSearchProvider.java:110)
      	at com.atlassian.jira.issue.pager.NextPreviousPager.populateDocIdsAndGetCurrentKeyPosition(NextPreviousPager.java:233)
      	at com.atlassian.jira.issue.pager.NextPreviousPager.update(NextPreviousPager.java:162)
      	at com.atlassian.jira.web.action.issue.ManageAttachments.doExecute(ManageAttachments.java:88)
      	at webwork.action.ActionSupport.execute(ActionSupport.java:153)
      	at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:59)
      	at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:141)
      	at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:181)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      

      Screenshot:
      User might encounter this, if he has watched a huge number of issues (> 200000)

        Attachments

        1. stacktrace.txt
          11 kB
        2. watched.PNG
          watched.PNG
          4 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andrew.myers Andrew Myers [Atlassian]
              • Votes:
                16 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated: