Uncaught TypeError: Cannot read property 'body' of null - how to solve this?

piotr.baltrukiewicz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2020

Hi guys,

For couple of days we've experiencing the problems on our JIRA Server v7.2.1 instance. I'm pasting the error below and we can experience it only by looking from the Board view (no matter if it's Kanban or Scrum) and it is triggered by either:

  • Moving the task between statuses, so from one status lane to the other or
  • Trying to create a task and changing its type (without even changing it).

The strange thing with it is that only some of the users have such problem and changing the tasks statuses or creating the tasks from different view works fine. 

It sounds a bit like this: https://jira.atlassian.com/browse/JSWSERVER-19930, but this was connected only with Kanban board and for it started two days ago.

Any ideas?

Error:

Details

  1.  
    • Exception: Uncaught TypeError: Cannot read property 'body' of null
    • Resource: https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false
    • Line: 5
    • Column: 19683

Environment

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36

Stack trace

  • TypeError: Cannot read property 'body' of null
  • at NodeList. (https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false:5:19683)
  • at n (https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false:3:1319)
  • at Object.serialize (https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false:5:19631)
  • at B.getContent (https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false:11:25646)
  • at B.save (https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false:11:24270)
  • at B.remove (https://.com/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/resources/com.atlassian.jira.plugins.jira-editor-plugin:tinymce/tinymce.js?batch=false:11:27536)
  • at a.destroy (https://.com/s/f2ea9ad59d7169f97a6b25740c524dc2-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/1.1.51/_/download/batch/com.atlassian.jira.plugins.jira-editor-plugin:api/com.atlassian.jira.plugins.jira-editor-plugin:api.js?locale=en-US:12:7802)
  • at https://.com/s/a52f80e62141b744fe1ce72cdd6884e2-CDN/-k1ku54/72003/be09033ea7858348cd8d5cdeb793189a/5e723568d0fdb706fec1e14c31d3e7ce/_/download/contextbatch/js/greenhopper-rapid-non-gadget,atl.general,gh-rapid,jira.global,jira.project.sidebar,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&hasConnectAddons=true&is-server-instance=true&jag=true&jaguser=true&locale=en-US&nps-acknowledged=true&nps-not-opted-out=true&richediton=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:13223:5351

 

1 answer

0 votes
David Jackson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2020

I came here with a similar problem - but in a Drupal implementation that has "suddenly" started throwing errors on a configuration popup. I am using quite an old version of TinyMCE but the stack looks familiar: save -> getContent -> serialize ... which attempts to perform .createHTMLDocument("") and gets back null instead of something with a body.

Suggest an answer

Log in or Sign up to answer