Problem

      When deleting a future sprint from Plan Mode, the user sees an error message "Internal Server Error" (see screenshot).

      There is also a stacktrace in the logs:

      [INFO] [talledLocalContainer] 2013-11-27 10:59:21,320 http-2990-2 ERROR admin 659x741x1 13rnn60 0:0:0:0:0:0:0:1%0 /rest/greenhopper/1.0/sprint/31 [web.rapid.sprint.SprintResource] Unable to complete GreenHopper REST method 
      [INFO] [talledLocalContainer] java.lang.NullPointerException
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.util.VersionKit.version(VersionKit.java:279)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.entity.remotelink.NoopRemoteServiceLinkAdapter.deleteAll(NoopRemoteServiceLinkAdapter.java:59)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.service.sprint.RemoteSprintLinkService.removeAllRemoteSprintLinks(RemoteSprintLinkService.java:220)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.service.sprint.SprintServiceImpl.deleteSprint(SprintServiceImpl.java:148)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.sprint.SprintResource$4.call(SprintResource.java:203)
      [INFO] [talledLocalContainer] 	at com.atlassian.greenhopper.web.rapid.sprint.SprintResource$4.call(SprintResource.java:174)
      
      

      This only affects JIRA versions prior to 6.1.1.

      Affect

      The sprint is still removed. The error message will disappear if the page is refreshed.

          Form Name

            [JSWSERVER-10120] Removing a future sprint shows an Internal Server Error

            Bugfix Automation Bot made changes -
            Minimum Version New: 6.03
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2851084 ] New: JAC Bug Workflow v3 [ 2936679 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2543763 ] New: JAC Bug Workflow v2 [ 2851084 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1549779 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2543763 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels New: affects-server
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 905750 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1549779 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: GreenHopper Kanban Workflow 20141014 [ 747032 ] New: JIRA Bug Workflow w Kanban v6 [ 905750 ]
            mtokar.adm made changes -
            Workflow Original: GreenHopper Kanban Workflow v2 [ 587136 ] New: GreenHopper Kanban Workflow 20141014 [ 747032 ]

            MarkW added a comment -

            Yeah, it's very weird. It happens on both platforms that I have JIRA 6.1.1 and Agile 6.3.5. Thanks!

            MarkW added a comment - Yeah, it's very weird. It happens on both platforms that I have JIRA 6.1.1 and Agile 6.3.5. Thanks!

            markdw I'm glad we were able to find a quick resolution. It is strange though that you are seeing this bug in JIRA 6.1.1. I tested this manually and I cannot reproduce the same problem.

            Michael Tokar added a comment - markdw I'm glad we were able to find a quick resolution. It is strange though that you are seeing this bug in JIRA 6.1.1. I tested this manually and I cannot reproduce the same problem.

              mtokar Michael Tokar
              mtokar Michael Tokar
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: