flyer5200 commented on issue #34179:
URL: 
https://github.com/apache/shardingsphere/issues/34179#issuecomment-2566219648

   #### Please refer to the steps to reproduce the #34178
   
   This problem only exists in [Alibaba Cloud 
DMS](https://help.aliyun.com/zh/dms/register-a-database-hosted-on-a-third-party-cloud-service-or-a-self-managed-database)
 when performing datasource validation.
   There is no such problem when using MySQL client or Navicat.
   
   Under the premise of ensuring network connectivity, DMS will perform an 
instance availability check when entering the data source, usually sending 
`select 1` to shardingsphere-proxy. At this time, the shardingsphere-proxy will 
throw the above exception: 
   `Unknown exception. More details: java.lang.NullPointerException: Cannot 
invoke 
“org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase.getRuleMetaData()”
 because the return value of 
“org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData.getDatabase(String)”
 is null`


-- 
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-unsubscr...@shardingsphere.apache.org

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

Reply via email to