luckleemon opened a new issue #8436:
URL: https://github.com/apache/shardingsphere/issues/8436


   **when i insert the data into the broadcasttable, it throws the exception.**
   
   [INFO ] 14:16:44.882 [ShardingSphere-Command-14] ShardingSphere-SQL - Logic 
SQL: SET PROFILING=1;
   [INFO ] 14:16:44.883 [ShardingSphere-Command-14] ShardingSphere-SQL - 
SQLStatement: MySQLSetStatement()
   [INFO ] 14:16:44.883 [ShardingSphere-Command-14] ShardingSphere-SQL - Actual 
SQL: ds_0 ::: SET PROFILING=1;
   [INFO ] 14:16:44.883 [ShardingSphere-Command-14] ShardingSphere-SQL - Actual 
SQL: ds_1 ::: SET PROFILING=1;
   [INFO ] 14:16:44.913 [ShardingSphere-Command-15] ShardingSphere-SQL - Logic 
SQL: SHOW STATUS
   [INFO ] 14:16:44.913 [ShardingSphere-Command-15] ShardingSphere-SQL - 
SQLStatement: MySQLShowOtherStatement()
   [INFO ] 14:16:44.913 [ShardingSphere-Command-15] ShardingSphere-SQL - Actual 
SQL: ds_0 ::: SHOW STATUS
   [INFO ] 14:16:44.954 [ShardingSphere-Command-0] ShardingSphere-SQL - Logic 
SQL: SHOW STATUS
   [INFO ] 14:16:44.955 [ShardingSphere-Command-0] ShardingSphere-SQL - 
SQLStatement: MySQLShowOtherStatement()
   [INFO ] 14:16:44.955 [ShardingSphere-Command-0] ShardingSphere-SQL - Actual 
SQL: ds_0 ::: SHOW STATUS
   [ERROR] 14:16:45.009 [ShardingSphere-Command-1] 
o.a.s.p.f.c.CommandExecutorTask - Exception occur:
   java.util.NoSuchElementException: null
           at java.util.ArrayList$Itr.next(ArrayList.java:854)
           at 
org.apache.shardingsphere.sharding.route.engine.condition.engine.impl.InsertClauseShardingConditionEngine.createShardingCondition(InsertClauseShardingConditionEngine.java:91)
           at 
org.apache.shardingsphere.sharding.route.engine.condition.engine.impl.InsertClauseShardingConditionEngine.createShardingConditionsWithInsertValues(InsertClauseShardingConditionEngine.java:72)
           at 
org.apache.shardingsphere.sharding.route.engine.condition.engine.impl.InsertClauseShardingConditionEngine.createShardingConditions(InsertClauseShardingConditionEngine.java:62)
           at 
org.apache.shardingsphere.sharding.route.engine.condition.engine.impl.InsertClauseShardingConditionEngine.createShardingConditions(InsertClauseShardingConditionEngine.java:52)
           at 
org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createShardingConditions(ShardingSQLRouter.java:80)
           at 
org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createRouteContext(ShardingSQLRouter.java:64)
           at 
org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createRouteContext(ShardingSQLRouter.java:55)
           at 
org.apache.shardingsphere.infra.route.engine.impl.PartialSQLRouteExecutor.route(PartialSQLRouteExecutor.java:59)
           at 
org.apache.shardingsphere.infra.route.engine.SQLRouteEngine.route(SQLRouteEngine.java:57)
           at 
org.apache.shardingsphere.infra.context.kernel.KernelProcessor.generateExecutionContext(KernelProcessor.java:52)
           at 
org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:77)
           at 
org.apache.shardingsphere.proxy.backend.text.query.QueryBackendHandler.execute(QueryBackendHandler.java:61)
           at 
org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:62)
           at 
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:100)
           at 
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:76)
           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)
   
   what is the problem?


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


Reply via email to