Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-21120

After install Jira SM the Control Chart report receives Uncaught TypeError

XMLWordPrintable

      Issue Summary

      After install Jira Service Management the Control Chart report receives the error "Uncaught TypeErrorUncaught TypeError: Cannot read properties of null (reading 'target')" when clicking any clickable area at the graph.

      Steps to Reproduce

      • Install Jira Software 8.18.2
      • Create a sample project SCRUM with sample data
      • Open the SCRUM board, click at the reports option and select the 'Control Chart' report
      • Click over any clickable area at the graph, for instance, over a green bullet
      • Observe that a small popup window will be presented
      • Install Jira Service Management 4.18.2
      • Open the same SCRUM board and reach the same 'Control Chart' Report
      • Click again over the graph

      Expected Results

      • The same popup previously presented is showed again

      Actual Results

      • The same popup previously presented is showed again however at the top of the page we can see a Red box showing "An error occurred"
      • Expanding the box we can see the following detailed error:
        An error occurred
        
        Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues.
        
        Details
        Exception: Uncaught TypeError: Cannot read properties of null (reading 'target')
        Resource: http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true
        Line: 8827
        Column: 537
        Environment
        Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
        Stack trace
        TypeError: Cannot read properties of null (reading 'target')
        at Function. (http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:8827:537)
        at http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:2163:904
        at Function.Jr (http://localhost:8080/s/899e265239ef94ebc921f8afb0c6e7ef-CDN/-qlc2g/818002/1dlckms/b010590c6bf05111a0c8a3654c7c3a23/_/download/contextbatch/js/_super/batch.js?locale=en-BR:700:12519)
        at Function. (http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:2163:875)
        at Function.t [as onDrag] (http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:2163:947)
        at n (http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:2298:163)
        at HTMLDivElement. (http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:2298:434)
        at HTMLDivElement. (http://localhost:8080/s/5345d47ead940417606fe4fe5aede606-T/-qlc2g/818002/1dlckms/3a10cfadbe388870b460dc4b2e252c09/_/download/contextbatch/js/gh-rapid-work,greenhopper-rapid-non-gadget,jira.project.sidebar,jira.global,atl.general,com.atlassian.jira.projects.sidebar.init,jira.general,-_super/batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&flexboards=true&healthcheck-resources=true&jag=true&jaguser=true&locale=en-BR&whisper-enabled=true:2273:405)
        at HTMLDivElement.dispatch (http://localhost:8080/s/899e265239ef94ebc921f8afb0c6e7ef-CDN/-qlc2g/818002/1dlckms/b010590c6bf05111a0c8a3654c7c3a23/_/download/contextbatch/js/_super/batch.js?locale=en-BR:64:3915)
        at HTMLDivElement.v.handle (http://localhost:8080/s/899e265239ef94ebc921f8afb0c6e7ef-CDN/-qlc2g/818002/1dlckms/b010590c6bf05111a0c8a3654c7c3a23/_/download/contextbatch/js/_super/batch.js?locale=en-BR:64:2004)
        

      In Firefox, following javascript error message will be shown:

      Exception: TypeError: r.event is null
      

      Workaround

      Not known at this time, however despite the error message, the report's functionalities are working fine:

      • Popup is presented, with the correct values;
      • Clicking at the issues linked on the popup window, the issue navigator is opened correctly

      Notes

      Testing with Jira Softwar 8.17.0 / Jira SM 4.17.0 the error does not occur.

        1. atlassian-jira.log
          112 kB
          Murakami

            292ec441c8da Szymon Korytnicki (Inactive)
            imurakami@atlassian.com Murakami
            Votes:
            13 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: