当前位置:网站首页>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
边栏推荐
猜你喜欢
七夕特制:《牛郎会织女》
视频gif如何制作?试试这个视频制作gif神器
七夕特制:《牛郎会织女》
How to solve the problem that the alarm information cannot be transmitted after EasyGBS is connected to the latest version of Hikvision camera?
祝福一路顺风
今天是七夕,来看看程序员的土味情话。
y87.第五章 分布式链路追踪系统 -- 分布式链路追踪系统起源(一)
【线性代数03】消元法展示以及AX=b的4种解情况
MQTT[一]基础知识介绍
Rt-thread [二] 系统初始化流程
随机推荐
得不到你的心,就用“分布式锁”锁住你的人
七夕,当爱神丘比特遇上牛郎和织女
# #ifndef/#define/#endif使用详解
老叶的三束玫瑰
Webmine Webpage Mining Trojan Analysis and Disposal
后排乘客不系安全带?事故瞬间被甩出
【论文笔记KDD2021】MixGCF: An Improved Training Method for Graph Neural Network-based Recommender Systems
Is the International Project Manager PMP certificate worth taking?
Operations on std::vector
Lecture 2 Software Life Cycle
2022强网杯web(部分)
Flutter 实现背景图片毛玻璃效果
今天是七夕,来看看程序员的土味情话。
【模拟面试-10年工作】项目多一定是优势吗?
Develop your own text recognition application with Tesseract
docker 搭建mysql 主从复制
关于std::vector<std::string>的操作
PowerBI scripture series
LeetCode143:重排链表
如何在项目中正确使用WebSocket