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的更多相关文章

  1. 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 ...

  2. 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 ...

  3. Bug搬运工-CSCvm33229:Environment summary not available on COS APs

    还是关于温度的问题, Environment summary not available on COS APs CSCvm33229   Description Symptom:From WLC CL ...

  4. 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 ...

  5. Mono下的WCF的Bug?

    最近一段时间,一直在折腾Mono,折腾Linux.让我无比痛苦的是Mono下的WCF的坑真的是太多了,这不又遇到了一个莫名其妙的问题. 环境:mono 3.2.1,Jexus 5.4.3,OS Cen ...

  6. JDK小Bug汇总

    Java官方的Logger.getGlobal().info无效 无效代码 Logger.getGlobal().info("start"); 解决方案(三选一): Logger. ...

  7. Elasticsearch升级1.5版本暴露jdk的bug

    把测试环境的Elasticsearch升级到1.5.1版本,启动的时候报错: [root@node2 elasticsearch-1.5.1]# bin/service/elasticsearch s ...

  8. The Google Test and Development Environment (持续更新)

    最近Google Testing Blog上开始连载The Google Test and Development Environment(Google的测试和开发环境),因为blogspot被墙,我 ...

  9. django formset bug?

    碰到了一个郁闷的问题,修改inlineformset时,全部删掉子表,再新增一行时,报错. 背景: 用django配合jq做动态表格,实现用js动态添加/删除行,并通过inlineformset更新到 ...

随机推荐

  1. POJ2576 Tug of War 二维背包

    题目大意 一群人拔河,给出每个人的重量,要求两队人数之差不超过1人,且每队总重量之差最小. 思路 选出严格总人数一半(或+1)的人为一队,在该队重量不超过所有人总重量一半的情况下,使其重量最大. 人数 ...

  2. yolo源码解析(3):进行简单跳帧

    视频检测命令  ./darknet detector demo cfg/coco.data cfg/yolov3-tiny.cfg yolov3-tiny.weights ../../dataset/ ...

  3. 2017-3-10 leetcode 229 238 268

    今天登陆leetcode突然发现531被锁了,有种占了便宜的感觉哈哈哈! ================================================ leetcode229 Ma ...

  4. php获取uniqid

    md5(uniqid(microtime(true),true))

  5. 线上出bug了?别怕,这么定位!

    摘要: Source Map还是很神奇的. 原文:线上出bug了?别怕,这么定位! 公众号:前端小苑 Fundebug经授权转载并修改,版权归原作者所有. 工作中,生产环境代码是编译后代码,搜集到报错 ...

  6. LVS十种调度算法介绍

    1.轮叫调度(Round Robin)(简称rr) 轮叫调度(Round Robin Scheduling)算法就是以轮叫的方式依次将请求调度不同的服务器,即每次调度执行i = (i + 1) mod ...

  7. Chrome 行情抓取插件

    Chrome 行情抓取插件 上班想偷偷摸摸看行情?自己动手写插件啊,尝试写了一个,新建文件夹,命名为StockMonitor,放入文件如下: 3个.png图标文件,19X19.48X48.128X12 ...

  8. B - Ultra-Fast Mathematician

    Problem description Shapur was an extremely gifted student. He was great at everything including Com ...

  9. Sybase 动态改变存储过程里查询的数据库

    declare @sql varchar(500) select @sql='select * from '+@dbName+'..tableName' --此句用于执行拼接好的SQL语句 exec( ...

  10. 08.十分钟学会JSP传统标签编程

    一.认识标签 1,说明:传统标签编程在开发中基本用不到,学习标签编程主要还是为了完善知识体系. 2,标签的主要作用:移除或减少jsp中的java代码 3,标签的主要组成部分及运行原理 4,简单标签示例 ...