haj8888888 opened a new issue #2396: Execute the query statement,sharding-proxy 
An exception occurred in the background ,java.lang.NullPointerException: null
URL: https://github.com/apache/incubator-shardingsphere/issues/2396
 
 
   Which version of ShardingSphere did you use?
   sharding-proxy-4.0.0-RC1
   
   Which project did you use? Sharding-JDBC or Sharding-Proxy?
   sharding-proxy-4.0.0-RC1
   
   Exception description:`java.lang.NullPointerException: null
        at 
org.apache.shardingsphere.core.parse.antlr.extractor.impl.dml.select.item.FunctionSelectItemSegmentExtractor.extractFunctionSelectItemSegment(FunctionSelectItemSegmentExtractor.java:50)
        at 
org.apache.shardingsphere.core.parse.antlr.extractor.impl.dml.select.item.FunctionSelectItemSegmentExtractor.extract(FunctionSelectItemSegmentExtractor.java:46)
        at 
org.apache.shardingsphere.core.parse.antlr.extractor.impl.dml.select.item.SelectItemExtractor.extract(SelectItemExtractor.java:54)
        at 
org.apache.shardingsphere.core.parse.antlr.extractor.impl.dml.select.SelectClauseExtractor.setSelectItemSegment(SelectClauseExtractor.java:61)
        at 
org.apache.shardingsphere.core.parse.antlr.extractor.impl.dml.select.SelectClauseExtractor.extract(SelectClauseExtractor.java:48)
        at 
org.apache.shardingsphere.core.parse.antlr.extractor.SQLSegmentsExtractorEngine.extract(SQLSegmentsExtractorEngine.java:47)
        at 
org.apache.shardingsphere.core.parse.antlr.AntlrParsingEngine.parse(AntlrParsingEngine.java:71)
        at 
org.apache.shardingsphere.core.parse.SQLParsingEngine.parse(SQLParsingEngine.java:61)
        at 
org.apache.shardingsphere.core.route.router.sharding.ParsingSQLRouter.parse(ParsingSQLRouter.java:78)
        at 
org.apache.shardingsphere.core.route.StatementRoutingEngine.route(StatementRoutingEngine.java:56)
        at 
org.apache.shardingsphere.core.SimpleQueryShardingEngine.route(SimpleQueryShardingEngine.java:60)
        at 
org.apache.shardingsphere.core.BaseShardingEngine.shard(BaseShardingEngine.java:64)
        at 
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.wrapper.StatementExecutorWrapper.doShardingRoute(StatementExecutorWrapper.java:86)
        at 
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.wrapper.StatementExecutorWrapper.route(StatementExecutorWrapper.java:57)
        at 
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:79)
        at 
org.apache.shardingsphere.shardingproxy.backend.text.query.QueryBackendHandler.execute(QueryBackendHandler.java:54)
        at 
org.apache.shardingsphere.shardingproxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:71)
        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:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
   `
   Execute SQL:
   `select * from t_order t join t_order_item ti on t.order_id = ti.order_id;`

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

Reply via email to