mwylaoma edited a comment on issue #2592: Sharding-Proxing change database error URL: https://github.com/apache/incubator-shardingsphere/issues/2592#issuecomment-503947197 Here is my log from a43eda710d353f7c34b6423e423b83f978dec4be : ``` [INFO ] 17:16:00.913 [ShardingSphere-Command-0] ShardingSphere-SQL - Rule Type: sharding [INFO ] 17:16:00.913 [ShardingSphere-Command-0] ShardingSphere-SQL - Logic SQL: SET NAMES utf8mb4 [INFO ] 17:16:00.913 [ShardingSphere-Command-0] ShardingSphere-SQL - SQLStatement: SetStatement(super=DALStatement(super=AbstractSQLStatement(sqlSegments=[], tables=Tables(tables=[]), logicSQL=SET NAMES utf8mb4, parametersCount=0))) [INFO ] 17:16:00.913 [ShardingSphere-Command-0] ShardingSphere-SQL - Actual SQL: cloud_0 ::: SET NAMES utf8mb4 [INFO ] 17:16:00.960 [ShardingSphere-Command-2] ShardingSphere-SQL - Rule Type: sharding [INFO ] 17:16:00.960 [ShardingSphere-Command-2] ShardingSphere-SQL - Logic SQL: SET PROFILING = 1 [INFO ] 17:16:00.960 [ShardingSphere-Command-2] ShardingSphere-SQL - SQLStatement: SetStatement(super=DALStatement(super=AbstractSQLStatement(sqlSegments=[], tables=Tables(tables=[]), logicSQL=SET PROFILING = 1, parametersCount=0))) [INFO ] 17:16:00.960 [ShardingSphere-Command-2] ShardingSphere-SQL - Actual SQL: cloud_0 ::: SET PROFILING = 1 [INFO ] 17:16:00.981 [ShardingSphere-Command-3] ShardingSphere-SQL - Rule Type: sharding [INFO ] 17:16:00.981 [ShardingSphere-Command-3] ShardingSphere-SQL - Logic SQL: SHOW STATUS [INFO ] 17:16:00.981 [ShardingSphere-Command-3] ShardingSphere-SQL - SQLStatement: ShowOtherStatement(super=DALStatement(super=AbstractSQLStatement(sqlSegments=[], tables=Tables(tables=[]), logicSQL=SHOW STATUS, parametersCount=0))) [INFO ] 17:16:00.981 [ShardingSphere-Command-3] ShardingSphere-SQL - Actual SQL: cloud_0 ::: SHOW STATUS [INFO ] 17:16:01.036 [ShardingSphere-Command-4] ShardingSphere-SQL - Rule Type: sharding [INFO ] 17:16:01.036 [ShardingSphere-Command-4] ShardingSphere-SQL - Logic SQL: SHOW STATUS [INFO ] 17:16:01.036 [ShardingSphere-Command-4] ShardingSphere-SQL - SQLStatement: ShowOtherStatement(super=DALStatement(super=AbstractSQLStatement(sqlSegments=[], tables=Tables(tables=[]), logicSQL=SHOW STATUS, parametersCount=0))) [INFO ] 17:16:01.036 [ShardingSphere-Command-4] ShardingSphere-SQL - Actual SQL: cloud_0 ::: SHOW STATUS [ERROR] 17:16:01.068 [ShardingSphere-Command-5] o.a.s.s.f.c.CommandExecutorTask - Exception occur: java.lang.NullPointerException: null at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:964) at java.util.concurrent.ConcurrentHashMap$KeySetView.contains(ConcurrentHashMap.java:4558) at org.apache.shardingsphere.shardingproxy.backend.schema.LogicSchemas.schemaExists(LogicSchemas.java:138) at org.apache.shardingsphere.shardingproxy.backend.text.admin.UseDatabaseBackendHandler.execute(UseDatabaseBackendHandler.java:51) at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:72) at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:86) at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:66) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ```
---------------------------------------------------------------- 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] With regards, Apache Git Services
