ilovewsy commented on issue #1845:
URL: 
https://github.com/apache/shardingsphere-elasticjob/issues/1845#issuecomment-906224088


   i also get the same error when i run it with java -jar
   16:51:35.005 [MySimpleJob_Worker-1] DEBUG org.quartz.core.JobRunShell - 
Calling execute on job DEFAULT.MySimpleJob
   16:51:35.007 [MySimpleJob_Worker-1] ERROR org.quartz.core.JobRunShell - Job 
DEFAULT.MySimpleJob threw an unhandled Exception:
   java.lang.NullPointerException: null
        at 
org.apache.shardingsphere.elasticjob.executor.context.ExecutorContext.get(ExecutorContext.java:75)
        at 
org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.execute(ElasticJobExecutor.java:79)
        at 
org.apache.shardingsphere.elasticjob.lite.internal.schedule.LiteJob.execute(LiteJob.java:35)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
   16:51:35.007 [MySimpleJob_Worker-1] ERROR org.quartz.core.ErrorLogger - Job 
(DEFAULT.MySimpleJob threw an exception.
   org.quartz.SchedulerException: Job threw an unhandled exception.
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
   Caused by: java.lang.NullPointerException: null
        at 
org.apache.shardingsphere.elasticjob.executor.context.ExecutorContext.get(ExecutorContext.java:75)
        at 
org.apache.shardingsphere.elasticjob.executor.ElasticJobExecutor.execute(ElasticJobExecutor.java:79)
        at 
org.apache.shardingsphere.elasticjob.lite.internal.schedule.LiteJob.execute(LiteJob.java:35)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        ... 1 common frames omitted


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to