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 2015/10/12 09:47:05 UTC
[jira] [Comment Edited] (DELTASPIKE-1002) NPE when job startScopes
is set to empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952762#comment-14952762 ]
Gerhard Petracek edited comment on DELTASPIKE-1002 at 10/12/15 7:46 AM:
------------------------------------------------------------------------
@john:
your commit needs to be fixed.
technically it works, but it looks a bit strange.
was (Author: gpetracek):
@john:
your commit needs to be fixed
> NPE when job startScopes is set to empty
> ----------------------------------------
>
> Key: DELTASPIKE-1002
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1002
> Project: DeltaSpike
> Issue Type: Bug
> Components: Scheduler
> Affects Versions: 1.4.1
> Reporter: Patrick Huang
> Assignee: John D. Ament
> Fix For: 1.5.1
>
>
> When setting a job to start empty scope, it will trigger a NPE when trying to destroy contextControl.
> In org.apache.deltaspike.scheduler.impl.QuartzScheduler.JobListenerContext it doesn't seem to initialize contextControl when start scope is emtpy. Therefore when invoking stopStartedScopes(), it will cause a NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)