968 Star 2.1K Fork 1.1K

TinyFramework / tiny

 / 详情

dbrouter中min函数在其中一个分片数据为空时报空指针

已完成
成员
创建于  
2015-11-17 10:18

RT。
异常信息:

  • -31370 [main] DEBUG - dbrouter - Memory cache hit
    Exception in thread "main" java.lang.NullPointerException
    at org.tinygroup.dbrouterjdbc4.sqlprocessor.SqlProcessorFunction$RowData.getMax(SqlProcessorFunction.java:404)
    at org.tinygroup.dbrouterjdbc4.sqlprocessor.SqlProcessorFunction$RowDatas.processRowDataWithMin(SqlProcessorFunction.java:527)
    at org.tinygroup.dbrouterjdbc4.sqlprocessor.SqlProcessorFunction$RowDatas.createRowValues(SqlProcessorFunction.java:488)
    at org.tinygroup.dbrouterjdbc4.sqlprocessor.SqlProcessorFunction$RowDatas.addRowDatas(SqlProcessorFunction.java:456)
    at org.tinygroup.dbrouterjdbc4.sqlprocessor.SqlProcessorFunction.combineResult(SqlProcessorFunction.java:163)
    at org.tinygroup.dbrouterjdbc4.jdbc.TinyStatement.createMultiResultSet(TinyStatement.java:193)
    at org.tinygroup.dbrouterjdbc4.jdbc.TinyStatement.createResultByContext(TinyStatement.java:145)
    at org.tinygroup.dbrouterjdbc4.jdbc.TinyStatement.executeQuery(TinyStatement.java:133)
    at org.tinygroup.dbrouterjdbc4.jdbc.TinyPreparedStatement.executeQuery(TinyPreparedStatement.java:105)

评论 (2)

状态更改为 已关闭

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
77930 ballackhui 1578916548 127485 wwyu8901 1578918776
Java
1
https://gitee.com/tinyframework/tiny.git
git@gitee.com:tinyframework/tiny.git
tinyframework
tiny
tiny

搜索帮助