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. 【翻译自mos文章】Oracle GoldenGate 怎么在源头的传输进程和目的端的server/collector进程之间分配 port?

    Oracle GoldenGate 怎么在源头的传输进程和目的端的server/collector进程之间分配 port? 来源于: How Does GoldenGate Allocates Por ...

  2. 关于PHP浮点数之 intval((0.1+0.7)*10) 为什么是7

    PHP是一种弱类型语言, 这样的特性, 必然要求有无缝透明的隐式类型转换, PHP内部使用zval来保存任意类型的数值, zval的结构如下(5.2为例): struct _zval_struct { ...

  3. session 的工作原理

    session.cookie_domain session.cookie_path session.name session.save_path session.use_cokies session_ ...

  4. 安装visual studio 2013【转】

    本文转载自:http://blog.csdn.net/tina_ttl/article/details/51544733#1下载-visual-studio-ultimate-2013安装包 微软已经 ...

  5. Additive equations--zoj

    Additive equations Time Limit: 10 Seconds      Memory Limit: 32768 KB We all understand that an inte ...

  6. JavaScript:目录

    ylbtech-JavaScript:目录 1. https://www.javascript.com/ 2. 1.返回顶部 1. http://www.runoob.com/js/js-functi ...

  7. 【docker】python: can't open file 'helloworld.py': [Errno 13] Permission denied

    运行容器提示权限问题 docker run  -v $PWD/myapp:/usr/src/myapp  -w /usr/src/myapp python:3.5 python helloworld. ...

  8. How to solve a login problem of SQL Server?

    Sometimes when we attempting to login the SQL Server 20xx Management Studio, when we type in the cor ...

  9. 找不到dll原因

    1.没有生成成功: A.代码有错误 B.引用dll有问题(dll生成失败|dll版本不对) C.源文件损坏 2.dll生成路径不对 3.对dll的引用丢失

  10. 第5章分布式系统模式 使用服务器激活对象通过 .NET Remoting 实现 Broker

    正在使用 Microsoft? .NET Framework 构建一个需要使用分布式对象的应用程序.您的要求包括能够按值或按引用来传递对象,无论这些对象驻留在同一台计算机上,还是驻留在同一个局域网 ( ...