Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-65927

Daylight Saving Due Date Causing the Board to run into Internal Server Error

    XMLWordPrintable

Details

    Description

      Problem Description

      When setting a due date that happens to be the same date where daylight saving is, and add the due date field to the issue view in board configuration. The board run into internal server error with the following stack trace:

      2015-03-31 16:16:41.834520500 2015-03-31 16:16:41,831 TP-Processor20 ERROR sysadmin 976x8399x3 1hf9b77 111.221.53.138,131.103.29.194 /rest/greenhopper/1.0/xboard/work/allData.json [web.rapid.work.WorkResource] Unable to complete GreenHopper REST method
      2015-03-31 16:16:41.834523500 java.lang.NullPointerException
      2015-03-31 16:16:41.834523500 	at com.atlassian.jira.issue.DocumentIssueImpl.getDueDate(DocumentIssueImpl.java:291)
      2015-03-31 16:16:41.834524500 	at com.atlassian.jira.issue.fields.DueDateSystemField.getColumnViewHtml(DueDateSystemField.java:392)
      2015-03-31 16:16:41.834539500 	at com.atlassian.greenhopper.web.rapid.list.ExtraFieldsHelper.createColumnViewEntry(ExtraFieldsHelper.java:155)
      2015-03-31 16:16:41.834540500 	at com.atlassian.greenhopper.web.rapid.list.ExtraFieldsHelper.renderField(ExtraFieldsHelper.java:132)
      2015-03-31 16:16:41.834541500 	at com.atlassian.greenhopper.web.rapid.list.ExtraFieldsHelper.renderFields(ExtraFieldsHelper.java:82)
      2015-03-31 16:16:41.834544500 	at com.atlassian.greenhopper.web.rapid.list.ExtraFieldsCallbackComponent.processFieldData(ExtraFieldsCallbackComponent.java:36)
      2015-03-31 16:16:41.834546500 	at com.atlassian.greenhopper.web.rapid.list.RapidIssueEntryCallback.createVisibleEntry(RapidIssueEntryCallback.java:249)
      2015-03-31 16:16:41.834547500 	at com.atlassian.greenhopper.web.rapid.list.RapidIssueEntryCallback.fieldData(RapidIssueEntryCallback.java:207)
      

      Steps to Replicate

      1. Setting the timezone of your instance to -Duser.timezone=Asia/Beirut
      2. Then add the due date field to your issue
      3. Create an issue due date set at 2015-03-29
      4. On the board configuration > Card Layout > add Due Date to the visible field
      5. Load the board and the stack trace is observed from the logs

      More information on this

      http://www.timezoneconverter.com/cgi-bin/zoneinfo?tz=Asia/Beirut

      DST began on Sun 29-Mar-2015 at 12:00:00 A.M. when local clocks were set forward 1 hour

      So in JIRA, it is actually saved as 2015-03-29 01:00:00+03 which is a valid date time. But somehow JIRA Agile having issue displaying this time on the board.

      Workaround

      • To hide the due date field from displaying at the board
      • OR you can change the due date a day earlier or later
      • OR you can hide the issue off the board

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rgee Richie Gee (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: