java.lang.NullPointerException after selecting Workflow in SLA configuration

Issue #236 closed
Former user created an issue

Hi I have created multiple workflows and configuration on Time to SLA plugin but when I Updated my Version from 6.9 to 6.13 the issue arises if I select any workflows from SLA Configuration

java.lang.NullPointerException at com.tuncaysenturk.jira.plugins.timetosla.configure.TtsConfigureSlasToggleServlet.a(TtsConfigureSlasToggleServlet.java:260) at com.tuncaysenturk.jira.plugins.timetosla.configure.TtsConfigureSlasToggleServlet.b(TtsConfigureSlasToggleServlet.java:208) at com.tuncaysenturk.jira.plugins.timetosla.configure.TtsConfigureSlasToggleServlet.c(TtsConfigureSlasToggleServlet.java:125) at com.tuncaysenturk.jira.plugins.timetosla.configure.a.doGet(AbstractTtsConfigureServlet.java:96) at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:45) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 105 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 90 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2016-06-10 04:24:06,904 http-nio-8080-exec-18 ERROR [o.a.c.c.C.[.[localhost].[/].[servlet-module-container-servlet]] Servlet.service() for servlet [servlet-module-container-servlet] in context with path [] threw exception java.lang.NullPointerException at com.tuncaysenturk.jira.plugins.timetosla.configure.TtsConfigureSlasToggleServlet.a(TtsConfigureSlasToggleServlet.java:260) at com.tuncaysenturk.jira.plugins.timetosla.configure.TtsConfigureSlasToggleServlet.b(TtsConfigureSlasToggleServlet.java:208) at com.tuncaysenturk.jira.plugins.timetosla.configure.TtsConfigureSlasToggleServlet.c(TtsConfigureSlasToggleServlet.java:125) at com.tuncaysenturk.jira.plugins.timetosla.configure.a.doGet(AbstractTtsConfigureServlet.java:96) at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:45) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 105 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 90 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

Comments (9)

  1. Akash Dhongade

    Hi Tuncay,

    As per the previous issues reporting this kind of errors and as per your suggestion I have truncated the tables and its resolved now I am creating new SLA configuration without any error could you please tell me where went wrong and got this errors after upgrade

  2. Tuncay Senturk repo owner

    I think the problem is because of a JIRA priority deletion.
    Assume you selected Trivial for the SLA definition. Then you deleted Trivial priority.
    I am not sure but from the logs above, I suspect this scenario.
    We could fix the problem if you did not delete SLA definitions.
    Anyway we will be fixing this scenario.

    Thanks for the feedback
    Tuncay

  3. Log in to comment