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());

最新文章

  1. jQuery 顺便学习下CSS选择器 奇偶匹配nth-child(even)
  2. bootstarp3 支持ie8
  3. Go语言test之类方法测试
  4. Backbone Collection——数据模型集合
  5. [maven] 常用仓库地址
  6. UVA 10523 Very Easy!!!(大数据加法、乘法)
  7. 从壹开始前后端 [vue后台] 之一 || 权限后台系统 1.0 正式上线
  8. 莫烦theano学习自修第九天【过拟合问题与正规化】
  9. [离散时间信号处理学习笔记] 9. z变换性质
  10. Python【每日一问】02
  11. Linux命令:logout
  12. 基于mindwave脑电波进行疲劳检测算法的设计(3)
  13. js之DOM
  14. [Unity插件]AI行为树使用总结
  15. Feeling_2018_5_21
  16. OK335xS pwm device register hacking
  17. 【转载】不得不知道的Python字符串编码相关的知识
  18. 从 php 源码看 php 中的对象
  19. springmvc json结合
  20. json数据 提示框flash.now[:notice] flash.now[:alert]

热门文章

  1. SharePoint创建一个简单的Visio Web部件图
  2. spring属性的三种注入方法
  3. adbd cannot run as root in production builds的解决方法
  4. Linux - 理不清的权限chmod与chown区别
  5. php Aes 128位算法
  6. 微信小程序蓝牙连接小票打印机
  7. Python基础:lambda 匿名函数
  8. MYSQL5.6和5.7编译标准化安装与配置
  9. 控件——DataGridview
  10. JsonResult