Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-36192

NullPointerException while trying to access /charts

    XMLWordPrintable

Details

    • 6
    • 1
    • Severity 3 - Minor
    • Hide
      Atlassian Update – 06 November 2019

      Hi everyone,

      After reviewing the overall customer interest and impact of this bug report we have decided to close this issue down. Our analysis has shown that over time this issue hasn't collected a significant number of votes, watchers, comments, or support cases from customers and therefore has remained very low on our priority list. Given these findings we can conclude it will not be fixed in the foreseeable future and wish to be transparent about our priorities by closing it as Timed Out.

      Although we're aware this issue may be still important to those of you who were involved in the initial conversations around it, we want to be clear by managing your expectations regarding the likelihood of a fix for it. The Jira team do their best to prioritise the issues that have high and critical impact with broad pervasiveness reflected in series of different factors. You can learn more about this by reading our Bug Fixing Policy.

      To see what the Jira team is currently working on and has recently delivered see the following dashboards:

      We understand that hearing a decision like this can be disappointing, but we hope you'll appreciate our transparent approach to product priorities and communications. We will continue to watch this issue for further updates, so please feel free to share any thoughts in the comments.

      Thank you,

      Pawel Drygas,

      Jira Server Bugmaster

      Show
      Atlassian Update – 06 November 2019 Hi everyone, After reviewing the overall customer interest and impact of this bug report we have decided to close this issue down. Our analysis has shown that over time this issue hasn't collected a significant number of votes, watchers, comments, or support cases from customers and therefore has remained very low on our priority list. Given these findings we can conclude it will not be fixed in the foreseeable future and wish to be transparent about our priorities by closing it as Timed Out . Although we're aware this issue may be still important to those of you who were involved in the initial conversations around it, we want to be clear by managing your expectations regarding the likelihood of a fix for it. The Jira team do their best to prioritise the issues that have high and critical impact with broad pervasiveness reflected in series of different factors. You can learn more about this by reading our Bug Fixing Policy . To see what the Jira team is currently working on and has recently delivered see the following dashboards: Jira Server and Data Center: Recently resolved issues Jira Server and Data Center: Current work and future plans Jira Server and Data Center: Bug Fix Board We understand that hearing a decision like this can be disappointing, but we hope you'll appreciate our transparent approach to product priorities and communications. We will continue to watch this issue for further updates, so please feel free to share any thoughts in the comments. Thank you, Pawel Drygas, Jira Server Bugmaster

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      When i access url2jira/charts then i get NullPointerException.
      This is caused by me not giving arguments to DisplayChartsServlet and in the source of DisplayChartServlet someone trying to create a java.io.File with null argument.

      Error in log

      2013-12-13 11:16:53,565 http-bio-8443-exec-25 ERROR      [500ErrorPage.jsp] Exception caught in 500 page null
      java.lang.NullPointerException
      	at java.io.File.<init>(File.java:291)
      	at com.atlassian.jira.charts.jfreechart.DisplayChartServlet.service(DisplayChartServlet.java:61)
      

      How to reproduce

      1. In your own test jira
        1. go to address https://mylocaljira*/charts*
      2. in Atlassians live jira (Caution, it pollutes your live logs with NPE-s)
        1. go to url https://jira.atlassian.com/charts

      How to fix?

      To fix that you should just add null check to com.atlassian.jira.charts.jfreechart.DisplayChartServlet

      Affected versions

      My affected system is 6.0.4 and also i tested on THIS live jira (i hope that i logged its version correctly)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              926afb963e21 Lauri Vasko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: