Starting Sprint fails with error TypeError: b is null

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.


Problem

  1. Users are not able to start a sprint.
  2. No error appears in the atlassian-jira.log or the catalina.out files of Jira
  3. When trying to start a sprint, this error appears in the user's browser session:


TypeError: Cannot read property '0' of null
at Function.Date.parseDate (http://xxx.xx.xx.xxx:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:1698:12)
at Object.GH.Dialogs.StartSprintDialog.calculateSprintDurationExact (http://xxx.xx.xx.xxx:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:67229:29)
at finder (http://xxx.xx.xx.xxx.22.200.130:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:67263:59)
at setSelectionOfDurationDropdown (http://xxx.xx.xx.xxx:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:67273:26)
at Object.GH.Dialogs.StartSprintDialog.registerDurationDropdown (http://xxx.xx.xx.xxx:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:67276:5)
at Object.GH.Dialogs.StartSprintDialog.renderDialog (http://xxx.xx.xx.xxx:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:67097:34)
at Object. (http://xxx.xx.xx.xxx:50800/AAA-29404/s/8c9f2d0d523746a69e7d60fb2b15d77b-CDN/en_US-hvi7ig/64016/2/0689d69301ee01ba31ee3ef81826b13a/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?agile_global_admin_condition=true&jag=true&jag_disabled_marketing=true&jaguser=true&isAdmin=true&locale=en-US:67037:42)
at fire (http://xxx.xx.xx.xxx:50800/AAA-29404/s/3e69c607e7d8aa1bd4aaaebd198b9700-CDN/en_US-hvi7ig/64016/2/9/_/download/superbatch/js/batch.js?locale=en-US:1582:30)
at Object.self.fireWith (http://xxx.xx.xx.xxx:50800/AAA-29404/s/3e69c607e7d8aa1bd4aaaebd198b9700-CDN/en_US-hvi7ig/64016/2/9/_/download/superbatch/js/batch.js?locale=en-US:1700:7)
at Object.self.fire (http://xxx.xx.xx.xxx:50800/AAA-29404/s/3e69c607e7d8aa1bd4aaaebd198b9700-CDN/en_US-hvi7ig/64016/2/9/_/download/superbatch/js/batch.js?locale=en-US:1707:10)

The error could also show up like this : 

Details
1.	
o	Exception: TypeError: b is null
o	Resource: https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true
o	Line: 2
o	Column: 30173
Environment
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Stack trace
•	Date.parseDate@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:2:30173
•	GH.Dialogs.StartSprintDialog.calculateSprintDurationExact@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:4079:5632
•	GH.Dialogs.StartSprintDialog.registerDurationDropdown/b@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:4079:6396
•	GH.Dialogs.StartSprintDialog.registerDurationDropdown/a@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:4079:6570
•	GH.Dialogs.StartSprintDialog.registerDurationDropdown@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:4079:6595
•	GH.Dialogs.StartSprintDialog.renderDialog@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:4079:2613
•	GH.Dialogs.StartSprintDialog.showDialog/<@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:4079:618
•	d.Callbacks/j@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:215
•	d.Callbacks/o.fireWith@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:6
•	d.Callbacks/o.fire@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:43
•	d.Callbacks/j@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:215
•	d.Callbacks/o.add@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:467
•	.Deferred/i.then@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:425
•	.Deferred/i.pipe/
•	d.Callbacks/j@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:215
•	d.Callbacks/o.fireWith@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:6
•	d.Callbacks/o.fire@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:43
•	d.Callbacks/j@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:215
•	d.Callbacks/o.add@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:467
•	.Deferred/i.then@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:425
•	.Deferred/i.pipe/
•	d.Callbacks/j@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:215
•	d.Callbacks/o.fireWith@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:6
•	GH.Ajax.makeRequest/d<.success@https://jira.xxxxxx.nl/s/542e7b1cb7548f3d0d22a982e76a2ef8-CDN/en_US-f4lfl5/64016/53/ed9d61d814133fa3fae7262098f3dba6/_/download/contextbatch/js/greenhopper-rapid-non-gadget,gh-rapid,atl.general,jira.project.sidebar,jira.global,jira.general/batch.js?locale=en-US&jag_disabled_marketing=true:2100:2459
•	SmartAjax.makeRequest/successHandler@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:506:2211
•	d.Callbacks/j@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:40:215
•	d.Callbacks/o.fireWith@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:42:6
•	c@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:166:290
•	.send/b@https://jira.xxxxxx.nl/s/1a01098017f3b494758ecd2be322918a-CDN/en_US-f4lfl5/64016/53/7/_/download/superbatch/js/batch.js?locale=en-US:178:149


No error appears in the atlassian-jira.log or catalina logs.


Diagnosis

Diagnostic Steps

Jira handles Dates and Time in two different ways: Input and display.   

  • Input: Check the date and time formats as listed under Administration >> System >> Advanced Settings
  • Display: Check the date and time formats under Administration >> System >> User Interface >> Look and Feel

When this error happens, it tends happen because Jira is set to use a different date or time input format.   If this has happened on your system, you will see a "Revert" button appear next to each setting that has been altered from the default.


Input examples:


Display example:


Cause

The date/time format for Jira has been set in such a way that Jira Software cannot understand how to store this date/time format for the sake of recording the sprint start/stop time.

Resolution

Revert the date time settings of Jira instance under Administration >> System >> Advanced Settings. After that, you should be able to start the Sprint.  

Note: If you change the input, you might then also want to alter the display of these date/times in Administration >> System >> User Interface >> Look and Feel to correspond with this change.




Last modified on Feb 5, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.