java.lang.NullPointerException

Atlassian JIRA | Razaq Omar [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After the latest upgrade to JIRA 6.2-OD-7, it's no longer possible to approve or reject planned times in Tempo. h5.Steps to reproduce: # Go to Tempo and try to approve a time planned for a user. # When the pop up message appears it shows broken buttons: !_i18n_getText___actionButton__-_-_Intelicom_Sp__z_o_o___JIRA_.png|thumbnail! Also, clicking the buttons produces a a java exception on the screen: {code} Cause Referer URL: https://<instance>.atlassian.net/secure/TempoUserBoard!timesheet.jspa java.lang.NullPointerException java.lang.NullPointerException at com.tempoplugin.project.service.ProjectServiceImpl.getActivity(ProjectServiceImpl.java:255) at com.tempoplugin.view.action.TempoDeleteAllocation.getActionForm(TempoDeleteAllocation.java:31) at com.tempoplugin.view.TempoDayAction.doDefault(TempoDayAction.java:188) 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:438) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:87) 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:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) {code} h5.Workaround You can approve and reopen user timesheets in the User Timesheet view in Team Timesheet select View Timesheet and Approve or Reject the timesheet for the selected user. (i) we have contacted Tempo Support team to investigate the issue as well, you can follow the updates in [this ticket|https://tempoplugin.jira.com/browse/TT-317]

    Atlassian JIRA | 3 years ago | Razaq Omar [Atlassian]
    java.lang.NullPointerException
  2. 0

    After the latest upgrade to JIRA 6.2-OD-7, it's no longer possible to approve or reject planned times in Tempo. h5.Steps to reproduce: # Go to Tempo and try to approve a time planned for a user. # When the pop up message appears it shows broken buttons: !_i18n_getText___actionButton__-_-_Intelicom_Sp__z_o_o___JIRA_.png|thumbnail! Also, clicking the buttons produces a a java exception on the screen: {code} Cause Referer URL: https://<instance>.atlassian.net/secure/TempoUserBoard!timesheet.jspa java.lang.NullPointerException java.lang.NullPointerException at com.tempoplugin.project.service.ProjectServiceImpl.getActivity(ProjectServiceImpl.java:255) at com.tempoplugin.view.action.TempoDeleteAllocation.getActionForm(TempoDeleteAllocation.java:31) at com.tempoplugin.view.TempoDayAction.doDefault(TempoDayAction.java:188) 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:438) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:87) 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:225) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154) {code} h5.Workaround You can approve and reopen user timesheets in the User Timesheet view in Team Timesheet select View Timesheet and Approve or Reject the timesheet for the selected user. (i) we have contacted Tempo Support team to investigate the issue as well, you can follow the updates in [this ticket|https://tempoplugin.jira.com/browse/TT-317]

    Atlassian JIRA | 3 years ago | Razaq Omar [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.tempoplugin.project.service.ProjectServiceImpl.getActivity()
    2. com.tempoplugin.project
      ProjectServiceImpl.getActivity
      1. com.tempoplugin.project.service.ProjectServiceImpl.getActivity(ProjectServiceImpl.java:255)
      1 frame
    3. com.tempoplugin.view
      TempoDayAction.doDefault
      1. com.tempoplugin.view.action.TempoDeleteAllocation.getActionForm(TempoDeleteAllocation.java:31)
      2. com.tempoplugin.view.TempoDayAction.doDefault(TempoDayAction.java:188)
      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:438)
      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:87)
      1 frame
    8. webwork.interceptor
      DefaultInterceptorChain.proceed
      1. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
      2. webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31)
      3. webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16)
      4. webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35)
      4 frames
    9. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:225)
      2. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:154)
      2 frames