Error - Can not create issues

Markús Guðmundsson December 28, 2017

Hi,

We are getting an error anytime we click the "Create" button in JIRA to attempt to create an issue. A dialog with a red border is show. This is preventing us from creating any issues, so it is quite a showstopper.

We upgraded to the latest version v7.6.2, but the error still occurs.

The logs are now showing anything specific. The dialog shows the description below.

Any help would be appreciated.

Cheers, Markús

 

An error occurred

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.

Details
Exception: Uncaught TypeError: Cannot set property 'innerHTML' of null
Resource: http://server.domain.com/s/da4f28ef89d76fa324a18d292ecb920b-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/45d14ae33169de5c95ff20883ffb7275/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&hc-enabled=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&jcap=true&jira-nps-enabled=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true
Line: 40258
Column: 1809
Environment
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Stack trace
TypeError: Cannot set property 'innerHTML' of null
at HTMLDocument. (http://server.domain.com/s/da4f28ef89d76fa324a18d292ecb920b-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/45d14ae33169de5c95ff20883ffb7275/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.global,jira.general,-_super/batch.js?agile_global_admin_condition=true&hc-enabled=true&healthcheck-resources=true&is-server-instance=true&is-system-admin=true&jag=true&jaguser=true&jcap=true&jira-nps-enabled=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=true&sd_operational=true&tempo_is_jira_version_equal_or_greater_than_7.0.0=true&tempo_is_tempo_core_licensed=true&tempo_is_tempo_timesheets_license_valid=true:40258:1809)
at HTMLDocument.dispatch (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:107:504)
at HTMLDocument.h (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:99:269)
at Object.trigger (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:104:345)
at HTMLDocument. (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:120:155)
at Function.each (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:57:35)
at init.each (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:50:146)
at init.trigger (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:120:131)
at Object.i.trigger (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:1192:227)
at HTMLDocument. (http://server.domain.com/s/68b737e261888505fde938ebdb49a2eb-CDN/-pculwz/76004/189c7364713af3dfaebd624e38d5152f/1fca1750044f2777c977e8d8cc023344/_/download/contextbatch/js/_super/batch.js?locale=en-US:1377:323)

 

1 answer

0 votes
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 28, 2017

Do you have any javascript custom code? Maybe in JIRA's Announcement Banner?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 28, 2017

Also, what does the dialog look like?

Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 28, 2017

If that's the case, make sure you load the html elements before referencing them in your script, as shown here:

https://stackoverflow.com/questions/18239430/cannot-set-property-innerhtml-of-null

Markús Guðmundsson December 29, 2017

Thank you. It turned out that we had an Add-On with an expired evaluation license, which was causing this error.

After disabling this, we no longer had the issue.

Also, after buying a license for it , it was not causing these issues anymore.

Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2017

Awesome! Glad you could finally fix it!

Regards

Suggest an answer

Log in or Sign up to answer