当前位置:网站首页>BUG | The interface returns abnormal data
BUG | The interface returns abnormal data
2022-08-04 22:19:00 【Lonely Wild Crane】
Problem description:
The abnormal data is returned when testing the interface. This return format is not the return format defined by me.
Solution:
First break the point and find that the targetException is thrown, and the returned exception data should be derived from the exception, and then analyze the source code (comment code method) to locate the problem
The problem lies in this line of code. In the figure, the getSortOrder function is used to obtain the sort_order for comparison and sorting. When checking the database, it is found that the sort_order items are all null, so an exception is thrown
边栏推荐
猜你喜欢
随机推荐
重新配置chrome中ffmpeg插件
# #ifndef/#define/#endif使用详解
得不到你的心,就用“分布式锁”锁住你的人
基于事实的讨论
"Jianzhi offer" brush title classification
Oracle使用expdp和impdp导出导入数据
强网杯2022——WEB
Develop your own text recognition application with Tesseract
ROS packages visualization
EasyGBS接入最新版海康摄像头后无法传递告警信息该如何解决?
The upgrade and transformation plan of the fortress machine for medium and large commercial banks!Must see!
VSCode—常用快捷键(持续记录
看看XDOC如何做Word文档预览
Rt-thread [三] link.lds链接脚本详解
备战9月,美团50道软件测试经典面试题及答案汇总
QT[一] 信号与槽
中大型商业银行堡垒机升级改造方案!必看!
论文解读(PPNP)《Predict then Propagate: Graph Neural Networks meet Personalized PageRank》
Lecture 2 Software Life Cycle
软件测试外包公司怎么样?有什么好处和坏处?为什么没人去?