NullPointerException

Issue #15 closed
Former user created an issue

Hello, after i create a new job and after job was fired i can't see this task in my overview. In catalina.out i get this exeption:

2014-03-07 12:00:00,115 TheScheduler_Worker-0 ERROR anonymous 853x29118x1 l78p7o 10.204.244.33 /rest/plugins/1.0/ [org.quartz.core.JobRunShell] Job pl.com.tt.thescheduler.2 threw an unhandled Exception: java.lang.NullPointerException at pl.com.tt.thescheduler.fields.DueDateFieldWrapper.populateFromParams(DueDateFieldWrapper.java:80) at pl.com.tt.thescheduler.core.TheSchedulerServiceImpl.fireScheduledIssue(TheSchedulerServiceImpl.java:322) at pl.com.tt.thescheduler.core.TheSchedulerServiceImpl.fireScheduledIssue(TheSchedulerServiceImpl.java:452) at pl.com.tt.thescheduler.quartz.CreateIssueJob.execute(CreateIssueJob.java:40) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2014-03-07 12:00:00,117 TheScheduler_Worker-0 ERROR anonymous 853x29118x1 l78p7o 10.204.244.33 /rest/plugins/1.0/ [org.quartz.core.ErrorLogger] Job (pl.com.tt.thescheduler.2 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException] at org.quartz.core.JobRunShell.run(JobRunShell.java:206) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.NullPointerException at pl.com.tt.thescheduler.fields.DueDateFieldWrapper.populateFromParams(DueDateFieldWrapper.java:80) at pl.com.tt.thescheduler.core.TheSchedulerServiceImpl.fireScheduledIssue(TheSchedulerServiceImpl.java:322) at pl.com.tt.thescheduler.core.TheSchedulerServiceImpl.fireScheduledIssue(TheSchedulerServiceImpl.java:452) at pl.com.tt.thescheduler.quartz.CreateIssueJob.execute(CreateIssueJob.java:40) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

What is wrong?

Thank you

Detlef Hertlein

Comments (4)

  1. Marek Cendrowicz

    Hi Detlef,

    Could you please tell me what version of JIRA and The Scheduler you're currently using?

    Thanks for contacting, Marek Cendrowicz

  2. Marek Cendrowicz

    Hi Detlef,

    we improved the logic so that the reported NullPointerException should not occur longer. The fix will be released with The Scheduler 3.0.7.

    Anyway we would really like to know what is your version of plugin and JIRA.

    Thanks, Marek Cendrowicz

  3. Log in to comment