test environment bug
pxj::EsgServiceImpl.kmsProcess->Get:ESG JAR return data is:{"code":10000,"data":{"data":{"limit":10,"list":[{"createTime":1486661177000,"id":"201702100102363441","status":"0","title":"提问测试标题test001"},{"createTime":1486661174000,"id":"201702100102363428","status":"0","title":"获取用户本月排名TOP10"},{"createTime":1486616060000,"id":"201702091202363367","status":"0","title":"test101"},{"createTime":1486574615000,"id":"201702090102363263","status":"0","title":"获取用户本月排名TOP10"},{"createTime":1486488211000,"id":"201702080102362940","status":"0","title":"获取用户本月排名TOP10"},{"createTime":1486460352000,"id":"201702071702362910","status":"0","title":"第3个问题第3个问题"},{"createTime":1486460336000,"id":"201702071702362904","status":"0","title":"第2个问题第2个问题"},{"createTime":1486460314000,"id":"201702071702362898","status":"0","title":"第一个问题第一个问题"},{"createTime":1486460261000,"id":"201702071702362888","status":"0","title":"第一个问题第一个问题"},{"createTime":1486432502000,"id":"201702070902361581","status":"0","title":"财产险测试财产险测试财产险测试财产险测试财产险测试财产险测试"}],"offset":0,"total":22343}},"message":"请求成功"}
2017-02-11 18:09:15.736 [INFO ] [KnowledgeServiceByEsgImpl] <T=Q0LeifUQTGFftz2x> pxj::resuString string is->"data":{"limit":10,"list":[{"createTime":1486661177000,"id":"201702100102363441","status":"0","title":"提问测试标题test001"},{"createTime":1486661174000,"id":"201702100102363428","status":"0","title":"获取用户本月排名TOP10"},{"createTime":1486616060000,"id":"201702091202363367","status":"0","title":"test101"},{"createTime":1486574615000,"id":"201702090102363263","status":"0","title":"获取用户本月排名TOP10"},{"createTime":1486488211000,"id":"201702080102362940","status":"0","title":"获取用户本月排名TOP10"},{"createTime":1486460352000,"id":"201702071702362910","status":"0","title":"第3个问题第3个问题"},{"createTime":1486460336000,"id":"201702071702362904","status":"0","title":"第2个问题第2个问题"},{"createTime":1486460314000,"id":"201702071702362898","status":"0","title":"第一个问题第一个问题"},{"createTime":1486460261000,"id":"201702071702362888","status":"0","title":"第一个问题第一个问题"},{"createTime":1486432502000,"id":"201702070902361581","status":"0","title":"财产险测试财产险测试财产险测试财产险测试财产险测试财产险测试"}],"offset":0,"total":22343}},"message":"请求成功
2017-02-11 18:09:15.739 [ERROR] [BeanMethodDispatcher] <T=Q0LeifUQTGFftz2x> #960ms# Invoked Method<knowledgeServiceByESG.queryQuestion>error,params=params=<{}>.
2017-02-11 18:09:15.739 [ERROR] [BeanMethodDispatcher] <T=Q0LeifUQTGFftz2x> not close json text, token : :
com.alibaba.fastjson.JSONException: not close json text, token : :
at com.alibaba.fastjson.parser.DefaultJSONParser.close(DefaultJSONParser.java:1117)
at com.alibaba.fastjson.JSON.parse(JSON.java:98)
at com.alibaba.fastjson.JSON.parse(JSON.java:85)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:157)
at com.paic.mobile.direct.biz.knowledge.service.impl.KnowledgeServiceByEsgImpl.queryQuestion(KnowledgeServiceByEsgImpl.java:154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.paic.pafa.ac.BeanMethodDispatcher.dispatch(Unknown Source)
at com.paic.pafa.ac.BeanMethodDispatcher.handleRequest(Unknown Source)
at com.paic.pafa.ac.DefaultAppDispatcher.handleRequest(Unknown Source)
at com.paic.pafa.biz.AppContext.handleRequest(Unknown Source)
at com.paic.pafa.ac.EJBApplicationController.handleRequest(Unknown Source)
at com.paic.pafa.ac.pafaAC_phb737_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at com.paic.pafa.ac.pafaAC_phb737_EOImpl.handleRequest(Unknown Source)
at com.paic.pafa.ac.pafaAC_phb737_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
String resuString = StringManager.correctWrongJson2Right(esgService.kmsProcess(sBuilder.toString()));
// String resuString = StringManager.correctWrongJson2Right(httpClientConnect(sBuilder));
logger.info("pxj::resuString string is->"+resuString);
JSONObject jsonObject = JSONObject.parseObject(resuString);
JSONObject json1 = (JSONObject) jsonObject.get("data");
logger.info("pxj::json1 string is->"+json1.toString());
JSONObject json2 = (JSONObject) json1.get("data");
logger.info("pxj::json2 string is->"+json2.toString());
com.alibaba.fastjson.JSONArray jsonArray = (com.alibaba.fastjson.JSONArray)json2.get("list");
logger.info(jsonArray.toString());
test environment bug的更多相关文章
- Percona Server 5.6.13-61.0 首个 GA 版本发布
Percona Server 5.6 的首个 GA 版本发布了,版本号是 5.6.13-61.0 ,该版本基于 MySQL 5.6.13 改进内容包括: New Features: Percona S ...
- A fatal error has been detected by the Java Runtime Environment(jdk 1.6的一个BUG)
几天做项目,生成一堆注解的实体,当实体数超过86个时,jvm报错: # # A fatal error has been detected by the Java Runtime Environmen ...
- Bug搬运工-CSCvm33229:Environment summary not available on COS APs
还是关于温度的问题, Environment summary not available on COS APs CSCvm33229 Description Symptom:From WLC CL ...
- eclipse bug之No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
解决办法: 1.eclipse菜单 - Window - Preferences- Java - Installed JREs 将配置的JRE定位到JDK,例如JRE home:D:\Program ...
- Mono下的WCF的Bug?
最近一段时间,一直在折腾Mono,折腾Linux.让我无比痛苦的是Mono下的WCF的坑真的是太多了,这不又遇到了一个莫名其妙的问题. 环境:mono 3.2.1,Jexus 5.4.3,OS Cen ...
- JDK小Bug汇总
Java官方的Logger.getGlobal().info无效 无效代码 Logger.getGlobal().info("start"); 解决方案(三选一): Logger. ...
- Elasticsearch升级1.5版本暴露jdk的bug
把测试环境的Elasticsearch升级到1.5.1版本,启动的时候报错: [root@node2 elasticsearch-1.5.1]# bin/service/elasticsearch s ...
- The Google Test and Development Environment (持续更新)
最近Google Testing Blog上开始连载The Google Test and Development Environment(Google的测试和开发环境),因为blogspot被墙,我 ...
- django formset bug?
碰到了一个郁闷的问题,修改inlineformset时,全部删掉子表,再新增一行时,报错. 背景: 用django配合jq做动态表格,实现用js动态添加/删除行,并通过inlineformset更新到 ...
随机推荐
- Linux Oracle服务启动&停止脚本与开机自启动
在CentOS 6.3下安装完Oracle 10g R2,重开机之后,你会发现Oracle没有自行启动,这是正常的,因为在Linux下安装Oracle的确不会自行启动,必须要自行设定相关参数,首先先介 ...
- 在树莓派下对多个串口转USB设备进行设备名称绑定操作
在开发过程中,需要用一个树莓派链接多个串口转USB设备(GPS模块,数传模块等),在树莓派linux系统环境下,USB串口设备的命名规则是 /dev/ttyUSB0 ,/dev/ttyUSB1,/de ...
- python-sqlite3事务
sqlite3事务总结: 在connect()中不传入 isolation_level 事务处理: 使用connection.commit() #!/usr/bin/env python # -*- ...
- Python中断言与异常的区别
异常,在程序运行时出现非正常情况时会被抛出,比如常见的名称错误.键错误等. 异常: >>> s Traceback (most recent call last): File &qu ...
- C++批量加载动态库函数方法
1.枚举定义enum { // 0 - GigE DLL (implicitly called) Func_isVersionCompliantDLL, Func_isDriver ...
- mysql的递归(使用函数)
getChildList: BEGIN #声明两个局部变量 ); ); #初始化局部变量 SET sTemp = ''; #调用cast函数将int转换为char SET sTempChd = roo ...
- css中max-width和min-width的应用
max-width:从字面意思可以看出,是规定元素本身最大宽度,元素本身宽度应小于等于最大宽度值. min-width:从字面意思可以看出,是规定元素本身最小宽度,元素本身宽度应大于等于最小宽度值. ...
- cropper+pillow处理上传图片剪裁(二)
上次说到处理上传头像的方法是临时保存在本地,其实这样做并不妥,而且修改后的头像重新上传到model中也很麻烦,差了很多资料,解决了这个问题 大致思路:用户上传原图和修改数据—PIL修改后将图片保存为内 ...
- 《剑指offer 第二版》题解
剑指Offer 按题号排序 面试题 3:数组中重复的数字 面试题 4:二维数组中的查找 面试题 5:替换空格 面试题 6:从头到尾打印链表 面试题 7:重建二叉树 面试题 8:二叉树的下一个节点 面试 ...
- Array.of()和Array()区别
Array.of方法用于将一组值,转换为数组. Array.of(3, 11, 8) // [3,11,8] Array.of(3) // [3] Array.of(3).length // 1 这个 ...