java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • In the following conditions for a given project listed as a GH project: * it has a version X starting at a particular date Y * it has at least one issue that has fixVersion field set to X * that issue has no originalEstimate set (the field is empty) * that issue has at least one worklog entry set on the date X (which is the start date of version Y) If user attempts to export chart data into CSV format for such a project and version (by going to Chart board view, then clicking on the version cog menu and choosing 'Excel (Chart Data)' the following exception is raised: {code} java.lang.NullPointerException at com.atlassian.greenhopper.service.charts.DefaultHourBurndownChartService.getHourBurndownReport(DefaultHourBurndownChartService.java:128) at com.atlassian.greenhopper.service.charts.HourBurndownAdapter.buildCSVReport(HourBurndownAdapter.java:128) at com.pyxis.greenhopper.charts.context.AbstractChartContext.getCSVReport(AbstractChartContext.java:140) at com.pyxis.greenhopper.jira.actions.ChartBoardAction.doShowChartReport(ChartBoardAction.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.JiraLastFilter.doFilter(JiraLastFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) {code}
    via by Dariusz Kordonski [Atlassian],
  • In the following conditions for a given project listed as a GH project: * it has a version X starting at a particular date Y * it has at least one issue that has fixVersion field set to X * that issue has no originalEstimate set (the field is empty) * that issue has at least one worklog entry set on the date X (which is the start date of version Y) If user attempts to export chart data into CSV format for such a project and version (by going to Chart board view, then clicking on the version cog menu and choosing 'Excel (Chart Data)' the following exception is raised: {code} java.lang.NullPointerException at com.atlassian.greenhopper.service.charts.DefaultHourBurndownChartService.getHourBurndownReport(DefaultHourBurndownChartService.java:128) at com.atlassian.greenhopper.service.charts.HourBurndownAdapter.buildCSVReport(HourBurndownAdapter.java:128) at com.pyxis.greenhopper.charts.context.AbstractChartContext.getCSVReport(AbstractChartContext.java:140) at com.pyxis.greenhopper.jira.actions.ChartBoardAction.doShowChartReport(ChartBoardAction.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.JiraLastFilter.doFilter(JiraLastFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) {code}
    via by Dariusz Kordonski,
    • java.lang.NullPointerException at com.atlassian.greenhopper.service.charts.DefaultHourBurndownChartService.getHourBurndownReport(DefaultHourBurndownChartService.java:128) at com.atlassian.greenhopper.service.charts.HourBurndownAdapter.buildCSVReport(HourBurndownAdapter.java:128) at com.pyxis.greenhopper.charts.context.AbstractChartContext.getCSVReport(AbstractChartContext.java:140) at com.pyxis.greenhopper.jira.actions.ChartBoardAction.doShowChartReport(ChartBoardAction.java:121) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.jira.web.filters.JiraLastFilter.doFilter(JiraLastFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    No Bugmate found.