net.sf.json.JSONException: null object
萌新的异常总结JSONObject customerInfoJson = JSONObject.fromObject(null);String bkTime = (String) customerInfoJson.get("BOOK_TIME");//这行导致异常因为JSNObject为空后,又用JSNObject对象调用get方法故产生 null object的异常。注:JSONObject customerInfoJson = JSONObject.fromObject(null);调用fr
原创
2020-08-11 17:00:55 ·
809 阅读 ·
0 评论