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 2019/11/05 06:25:48 UTC

[GitHub] [incubator-shardingsphere] RaigorJiang opened a new issue #3449: Proxy occurs NullPointerException when the SQL is empty String

RaigorJiang opened a new issue #3449: Proxy occurs NullPointerException when the SQL is empty String
URL: https://github.com/apache/incubator-shardingsphere/issues/3449
 
 
   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   Sharding-Proxy 4.0.0-RC3-SNAPSHOT
   
   ### Expected behavior
   When we use IDE, such as Navicat, we can execute the selected SQL by clicking 'Run Selected', but if nothing is selected at the time, the proxy will occur NullPointerException.
   
   As Expected, it should not go wrong
   
   ### Reason analyze (If you can)
   In SQLParserEngine.parse() method, when the SQL is empty, the ParseTree will be null, and then 
   occurs the exception.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services