YollinChan opened a new issue #12309:
URL: https://github.com/apache/shardingsphere/issues/12309


   sql like "SELECT id,order_no FROM table_a WHERE (order_no = ? AND is_del = 
?)"
   
   something,shardingshpere will throw a null pointer exception in 
MySQLComStmtExecutePacket.java. error meessage is:
   
   
   `message :   Exception occur: 
   java.lang.NullPointerException: null
        at 
org.apache.shardingsphere.db.protocol.mysql.packet.command.query.binary.execute.MySQLComStmtExecutePacket.getParameters(MySQLComStmtExecutePacket.java:106)
        at 
org.apache.shardingsphere.db.protocol.mysql.packet.command.query.binary.execute.MySQLComStmtExecutePacket.(MySQLComStmtExecutePacket.java:84)
        at 
org.apache.shardingsphere.db.protocol.mysql.packet.command.MySQLCommandPacketFactory.newInstance(MySQLCommandPacketFactory.java:63)
        at 
org.apache.shardingsphere.proxy.frontend.mysql.command.MySQLCommandExecuteEngine.getCommandPacket(MySQLCommandExecuteEngine.java:55)
        at 
org.apache.shardingsphere.proxy.frontend.mysql.command.MySQLCommandExecuteEngine.getCommandPacket(MySQLCommandExecuteEngine.java:46)
        at 
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:107)
        at 
org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:79)
        at com.alibaba.ttl.TtlRunnable.run(TtlRunnable.java:55)
        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)`
   
   source code is in line 106
   
![image](https://user-images.githubusercontent.com/37432978/132652673-1341c7e0-c7e8-4f04-9527-cbf773d1f885.png)
   
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to