TeslaCN opened a new issue #1732:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1732
## Bug Report
### Steps to reproduce the behavior.
Try dumping a job exists in current namespace but not scheduled by the
process which runs the SnapshotService.
### Actual behavior
```
Exception in thread "Thread-0" java.lang.NullPointerException
at
org.apache.shardingsphere.elasticjob.lite.internal.snapshot.SnapshotService.dumpDirectly(SnapshotService.java:117)
at
org.apache.shardingsphere.elasticjob.lite.internal.snapshot.SnapshotService.process(SnapshotService.java:103)
at
org.apache.shardingsphere.elasticjob.lite.internal.snapshot.SnapshotService.lambda$openSocket$0(SnapshotService.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
```
After that, the SnapshotService will be unavailable.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]