java.lang.NullPointerException

Atlassian JIRA | Dariusz Kordonski | 6 years ago
  1. 0

    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}

    Atlassian JIRA | 6 years ago | Dariusz Kordonski [Atlassian]
    java.lang.NullPointerException
  2. 0

    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}

    Atlassian JIRA | 6 years ago | Dariusz Kordonski
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.greenhopper.service.charts.DefaultHourBurndownChartService.getHourBurndownReport()
    2. com.atlassian.greenhopper
      HourBurndownAdapter.buildCSVReport
      1. com.atlassian.greenhopper.service.charts.DefaultHourBurndownChartService.getHourBurndownReport(DefaultHourBurndownChartService.java:128)
      2. com.atlassian.greenhopper.service.charts.HourBurndownAdapter.buildCSVReport(HourBurndownAdapter.java:128)
      2 frames
    3. com.pyxis.greenhopper
      ChartBoardAction.doShowChartReport
      1. com.pyxis.greenhopper.charts.context.AbstractChartContext.getCSVReport(AbstractChartContext.java:140)
      2. com.pyxis.greenhopper.jira.actions.ChartBoardAction.doShowChartReport(ChartBoardAction.java:121)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames
    6. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:157)
      2 frames
    7. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      1 frame
    8. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139)
      1 frame
    9. com.atlassian.jira
      JiraWebworkActionDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:168)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    12. com.atlassian.jira
      JiraLastFilter.doFilter
      1. com.atlassian.jira.web.filters.JiraLastFilter.doFilter(JiraLastFilter.java:69)
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames