Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you