You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Patrick Huang (JIRA)" <ji...@apache.org> on 2015/10/12 03:30:05 UTC

[jira] [Created] (DELTASPIKE-1002) NPE when job startScopes is set to empty

Patrick Huang created DELTASPIKE-1002:
-----------------------------------------

             Summary: 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
            Priority: Minor


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)