Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-5142

If Sprint field is misconfigured then reindex of issues will blow up

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 5.9.7.1
    • 5.9.7
    • None

    Description

      The two cases which are considered "misconfiguration":

      • The Sprint field is not a Global custom field (i.e. it is not mapped to all projects and all issue types)
      • The Sprint field is Hidden in some Field Configuration Scheme

      You will see this in the logs:

      Caused by: java.lang.IllegalArgumentException: it doesn't make sense to have a field that is neither indexed nor stored
      at org.apache.lucene.document.Field.<init>(Field.java:400)
      at org.apache.lucene.document.Field.<init>(Field.java:371)
      at org.apache.lucene.document.Field.<init>(Field.java:350)
      at com.atlassian.greenhopper.customfield.sprint.SprintCustomFieldIndexer.addDocumentFields(SprintCustomFieldIndexer.java:61)
      at com.atlassian.greenhopper.customfield.sprint.SprintCustomFieldIndexer.addDocumentFieldsNotSearchable(SprintCustomFieldIndexer.java:34)
      at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:50)
      
      Workaround

      The following KB article has been written up as a work around to this issue please go here to view it Indexing error: It doesn't make sense to have a field that is neither indexed nor stored
      It is recommended to upgrade GreenHopper off 5.9.7 and then follow the guide in the KB to ensure that the rapid boards are showing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mtokar Michael Tokar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: