You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/29 06:05:46 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new issue #15179: NPE occurred when execute `SHOW SCALING STATUS` with a jobId not existed.

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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] RaigorJiang closed issue #15179: NPE occurred when execute `SHOW SCALING STATUS` with a jobId not existed.

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #15179:
URL: https://github.com/apache/shardingsphere/issues/15179


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org