当前位置:网站首页>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

边栏推荐
猜你喜欢
随机推荐
测试薪资这么高?刚毕业20K,仅需3.5个月
基于事实的结果
Webmine Webpage Mining Trojan Analysis and Disposal
Develop your own text recognition application with Tesseract
《剑指offer》刷题分类
Flutter 实现背景图片毛玻璃效果
"Jianzhi offer" brush title classification
2022精选最新金融银行面试真题——附带答案
基于声卡实现的音频存储示波器,可作为电磁学实验的测量仪表
[Linear Algebra 02] 2 interpretations of AX=b and 5 perspectives of matrix multiplication
MQTT[一]基础知识介绍
rk3399-9.0一级二级休眠
强网杯2022——WEB
Excel商业智能-Power BI电商数据分析实战
puzzle(022.1)黑白迭代
【社媒营销】WhatsApp Business API:您需要知道的一切
Ts——项目实战应用enum枚举
UDP communication
七夕特制:《牛郎会织女》
openresty lua-resty-template页面静态化
https://www.cnblogs.com/yjd_hycf_space/p/7765748.html







