[TIME-221] NullPointerException while creating pivot report

Issue #221 resolved
Andriy Zhdanov created an issue

Found in 2.2.5 while creating a pivot report in Jira 4.4.4.

java.lang.NullPointerException
at com.fdu.jira.plugin.report.pivot.Pivot.getTimeSpents(Pivot.java:210)
at com.fdu.jira.plugin.report.pivot.Pivot.generateReport(Pivot.java:253)
at com.fdu.jira.plugin.report.pivot.Pivot.generateReportHtml(Pivot.java:282)
at com.atlassian.jira.web.action.browser.ConfigureReport.doExecute(ConfigureReport.java:121)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:76)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205)
...

By apeeters/Adriaan Peeters on Wed, 22 Feb 2012 03:52:08 -0800

Comments (5)

  1. Andriy Zhdanov reporter

    Selecting a group fixes the issue. Leaving the group empty triggers the exception.
    The exception is probably caused by worklogs associated with a now deleted user.

    By apeeters on Wed, 22 Feb 2012 03:53:58 -0800

  2. Andriy Zhdanov reporter

    Please try if it fixed now in 2.1, 2.2.8 and 2.3.3
    Committed revision 166921

    By azhdanov on Thu, 1 Mar 2012 08:44:21 -0800

  3. Andriy Zhdanov reporter

    Hi, Andrew,

    Allow me to step in here (Adriaan is a colleague of mine).
    We have upgraded to 2.3.3 and things got worse.

    We now get the following exception in catalina.out : /secure/ConfigureReport.jspa atlassian.jira.util.ParameterUtils NumberFormatException looking for param: projectid

    On screen, we get :
    description The requested resource (Could not execute action ConfigureReport:Found class

    <DELETED>

    (Thread.java:662) </pre></small></small></p>) is not available.

    Bert

    By bdridder on Mon, 5 Mar 2012 02:02:03 -0800

  4. Andriy Zhdanov reporter

    Adriaan suggested that 2.3.3 might be for Jira 5.
    So I installed 2.2.8.

    Disregard my previous message.

    Bert

    By bdridder on Mon, 5 Mar 2012 03:35:07 -0800

  5. Andriy Zhdanov reporter

    Any chance of displaying the username of the deleted user instead of simply 'deleted'? Or is this information not accessible?

    By apeeters on Tue, 6 Mar 2012 02:35:28 -0800

  6. Log in to comment