Home  >  Q&A  >  body text

objective-c - 做post请求时,服务端可以检测到接收到两个非空的字段,但是返回了错误

做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

高洛峰高洛峰2700 days ago535

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-02 09:29:51

    Null pointer, it means there is something wrong with your server-side writing. Test the server carefully and you should see an error when accepting empty fields.

    reply
    0
  • Cancelreply