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

边栏推荐
- Ramnit感染型病毒分析与处置
- docker 部署redis集群
- 软件测试外包公司怎么样?有什么好处和坏处?为什么没人去?
- VSCode - common shortcut keys (continuous recording
- AXI interface application of Zynq Fpga image processing - the use of axi_lite interface
- synchronized和ReentrantLock都很丝滑,因为他们都是可重入锁,一个线程多次拿锁也不会死锁,我们需要可重入
- 移动web开发03
- 1319_STM32F103串口BootLoader移植
- numpy关于两个array叠加操作
- Qiangwang Cup 2022 - WEB
猜你喜欢

第二讲 软件生命周期

rk3399 驱动屏参的几种方式

Driving point cloud format changes bring efficiency improvement

Charles & TCPDump & Fiddler 抓包三兄弟七夕联手,还抓不到你的心?

rk3399-9.0 first-level and second-level dormancy

PMP证书在哪些行业有用?

Domestic PMP certificate of gold content how

视频gif如何制作?试试这个视频制作gif神器

打卡第 1 天:正则表达式学习总结

中大型商业银行堡垒机升级改造方案!必看!
随机推荐
湖仓一体电商项目(五):内网穿透工具-网云穿
MQTT[一]基础知识介绍
信创是什么意思?涉及哪些行业?为什么要发展信创?
遍历await方法的区别:以for和forEach为例
[QT] Implementation of callback function
力扣19-删除链表的倒数第 N 个结点——链表
rk3399-9.0 first-level and second-level dormancy
y87.第五章 分布式链路追踪系统 -- 分布式链路追踪系统起源(一)
promise详解
Numpy on the superposition of two arrays
Is the International Project Manager PMP certificate worth taking?
Operations on std::vector
重新配置chrome中ffmpeg插件
立方度量(Cubic Metric)
input事件中文触发多次问题研究php DEBUG
Ramnit感染型病毒分析与处置
强网杯2022——WEB
"Jianzhi offer" brush title classification
【论文笔记KDD2021】MixGCF: An Improved Training Method for Graph Neural Network-based Recommender Systems
QT 子窗口—>主窗口 信号和槽的交互
https://www.cnblogs.com/yjd_hycf_space/p/7765748.html