Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  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

      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)

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

              Unassigned Unassigned
              andrew.myers Andrew Myers [Atlassian]
              Votes:
              29 Vote for this issue
              Watchers:
              30 Start watching this issue

                Created:
                Updated: