funnything2014 opened a new issue #4755: sharding throws NullPointerException when sql don't have sharding key and db column type is INT and its value is null URL: https://github.com/apache/incubator-shardingsphere/issues/4755 java.lang.NullPointerException: null at org.apache.shardingsphere.core.execute.sql.execute.result.MemoryQueryResult.getRowValue(MemoryQueryResult.java:88) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.sql.execute.result.MemoryQueryResult.getRows(MemoryQueryResult.java:63) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.sql.execute.result.MemoryQueryResult.<init>(MemoryQueryResult.java:55) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.getQueryResult(PreparedStatementExecutor.java:116) ~[sharding-jdbc-core-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.access$200(PreparedStatementExecutor.java:50) ~[sharding-jdbc-core-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor$2.executeSQL(PreparedStatementExecutor.java:106) ~[sharding-jdbc-core-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor$2.executeSQL(PreparedStatementExecutor.java:102) ~[sharding-jdbc-core-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute0(SQLExecuteCallback.java:79) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteCallback.execute(SQLExecuteCallback.java:61) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.syncGroupExecute(ShardingExecuteEngine.java:125) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.parallelExecute(ShardingExecuteEngine.java:102) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.engine.ShardingExecuteEngine.groupExecute(ShardingExecuteEngine.java:83) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:73) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.core.execute.sql.execute.SQLExecuteTemplate.executeGroup(SQLExecuteTemplate.java:56) ~[sharding-core-execute-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.executor.AbstractStatementExecutor.executeCallback(AbstractStatementExecutor.java:140) ~[sharding-jdbc-core-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.executor.PreparedStatementExecutor.executeQuery(PreparedStatementExecutor.java:109) ~[sharding-jdbc-core-4.0.0.jar:4.0.0] at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.executeQuery(ShardingPreparedStatement.java:123) ~[sharding-jdbc-core-4.0.0.jar:4.0.0]
---------------------------------------------------------------- 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
