<h3 dir="auto">Which version of Sharding-Sphere do you using?</h3>
<p dir="auto">3.0.0.M1</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">When I use 'REPLACE INTO' sql statement, the expected error log is io.shardingsphere.core.parsing.parser.exception.SQLParsingUnsupportedException.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">The actual error log is java.lang.NullPointerException.</p>
<h3 dir="auto">Reason analyze</h3>
<p dir="auto">Here is something wrong with the exception handler.</p>
<h3 dir="auto">Steps to reproduce the behavior</h3>
<p dir="auto">Just execute 'REPLACE INTO' sql statement when use sharding-sphere.</p>
<h3 dir="auto">Please provide the reproduce example codes (such as a github link).</h3>
<p dir="auto">Just execute 'REPLACE INTO' sql statement.<br>
Line 43 at io.shardingsphere.core.parsing.parser.exception.SQLParsingUnsupportedException.java.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/89122494/195273832-8e8e62a1-e7a1-4dad-a889-8d74a3914a60.png"><img src="https://user-images.githubusercontent.com/89122494/195273832-8e8e62a1-e7a1-4dad-a889-8d74a3914a60.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">ShardingSphere-SQL - Actual SQL: ds_0 ::: SHOW STATUS<br>
[ERROR] 2022-10-12 14:06:53.546 [ShardingSphere-Command-0] o.a.s.p.f.c.CommandExecutorTask - Exception occur:<br>
java.lang.NullPointerException: null<br>
at org.apache.shardingsphere.infra.federation.executor.original.OriginalFederationExecutor.createConnection(OriginalFederationExecutor.java:92)<br>
at org.apache.shardingsphere.infra.federation.executor.original.OriginalFederationExecutor.executeQuery(OriginalFederationExecutor.java:83)<br>
at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.doExecuteFederation(JDBCDatabaseCommunicationEngine.java:165)<br>
at org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:123)<br>
at org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:94)<br>
at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:110)<br>
at org.apache.shardingsphere.proxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:77)<br>
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)<br>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)<br>
at java.lang.Thread.run(Unknown Source)</p>