You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2014/05/28 12:12:02 UTC
[jira] [Updated] (DELTASPIKE-618) NullPointerException when trying
to schedule job manually
[ https://issues.apache.org/jira/browse/DELTASPIKE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek updated DELTASPIKE-618:
----------------------------------------
Fix Version/s: 0.8
> NullPointerException when trying to schedule job manually
> ---------------------------------------------------------
>
> Key: DELTASPIKE-618
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-618
> Project: DeltaSpike
> Issue Type: Bug
> Components: Scheduler
> Affects Versions: 0.7
> Environment: Wildfly
> Reporter: Piotr Dudkiewicz
> Assignee: Gerhard Petracek
> Fix For: 0.8
>
>
> When job is scheduled manually using unwrapped quartz scheduler and it's not annotated with @Scheduled exception is thrown
> {noformat}
> 11:37:02,124 ERROR [org.quartz.core.ErrorLogger] (DefaultQuartzScheduler_Worker-1) Unable to notify JobListener(s) of Job to be executed: (Job will NOT be executed!). trigger= DEFAULT.6da64b5bd2ee-16bd1e20-c314-4631-b819-bf93f9498f0d job= DEFAULT.testJob: org.quartz.SchedulerException: JobListener 'org.apache.deltaspike.scheduler.impl.QuartzScheduler$InjectionAwareJobListener' threw exception: null [See nested exception: java.lang.NullPointerException]
> at org.quartz.core.QuartzScheduler.notifyJobListenersToBeExecuted(QuartzScheduler.java:1947) [quartz-2.2.1.jar:]
> at org.quartz.core.JobRunShell.notifyListenersBeginning(JobRunShell.java:324) [quartz-2.2.1.jar:]
> at org.quartz.core.JobRunShell.run(JobRunShell.java:173) [quartz-2.2.1.jar:]
> at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.2.1.jar:]
> Caused by: java.lang.NullPointerException
> at org.apache.deltaspike.scheduler.impl.QuartzScheduler$InjectionAwareJobListener.jobToBeExecuted(QuartzScheduler.java:298) [deltaspike-scheduler-module-impl-0.7.jar:0.7]
> at org.quartz.core.QuartzScheduler.notifyJobListenersToBeExecuted(QuartzScheduler.java:1945) [quartz-2.2.1.jar:]
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)