您的位置:首页 > 其它

遇到的BUG集合

2016-01-11 14:19 239 查看
1、net.sf.json.JSONException: java.lang.reflect.InvocationTargetException

这个BUG通常发生在用户查询语句时,字段中有date字段.这个问题最简单的解决方式是将数据库中的date类型修改成datetime类型.

是否有其它的解决方式,待....

2、信息: Character decoding failed. Parameter [msg_content] with value [???é???????????è?????è?F%AD%E4%BF%A1%E4%B8%8B%E8%A1%8C%E6%B5%8B%E8%AF%] has been ignored. Note that the name and value quoted here may be corrupted due to the failed decoding. Use debug
level logging to see the original, non-corrupted values.

Note: further occurrences of Parameter errors will be logged at DEBUG level.

今天刚碰见的BUG,具体是出现在传参的时候,参数格式问题.后台在接受参数时无法识别。

具体编码有:escape、encodeURI、encodeURIComponent

有个别人的文档:http://bioubiou.iteye.com/blog/1507593
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: