RaigorJiang opened a new issue #15179:
URL: https://github.com/apache/shardingsphere/issues/15179


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   5.0.1-SNAPSHOT  master branch
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   Execute `SHOW SCALING STATUS`  with a jobId not existed:
   ```sql
   show scaling status 123456789;
   ```
   
   Error log:
   ```text
   java.lang.NullPointerException: null
        at 
org.apache.shardingsphere.data.pipeline.core.api.impl.RuleAlteredJobAPIImpl.getJobConfig(RuleAlteredJobAPIImpl.java:337)
        at 
org.apache.shardingsphere.data.pipeline.core.api.impl.RuleAlteredJobAPIImpl.getJobConfig(RuleAlteredJobAPIImpl.java:333)
        at 
org.apache.shardingsphere.data.pipeline.core.api.impl.RuleAlteredJobAPIImpl.getProgress(RuleAlteredJobAPIImpl.java:174)
        at 
org.apache.shardingsphere.scaling.distsql.handler.ShowScalingJobStatusQueryResultSet.init(ShowScalingJobStatusQueryResultSet.java:46)
   ```
   


-- 
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