问题描述
做post请求时,服务端可以检测到接收到两个非空的字段,但是返回了错误 分类: JAVA HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException type Exception report message Request processing failed; nested exception is java.lang.NullPointerException description The server encountered an internal error that prevented it from fulfilling this request. exception o
问题解答
回答1:空指针了,说明你服务端写的有问题了。好好测测服务端,接受空字段报错了应该。