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 管道是什么 ?原理
简单点就是说,一个命令的结果作为另外一个命令(结果)的输入 . 管道是linux提供的一种常见的进程通信工具,也是很多shell命令能够灵活组合产生强大用途的一个重要工具. 管道是什么? 管道,顾名思 ...
- WebRequestSugar
用法 WebRequestSugar ws = new WebRequestSugar(); //可选参数 //ws.SetAccept //ws.SetContentType //ws.SetCoo ...
- hdoj--1533--Going Home(KM)
Going Home Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Tota ...
- hdoj--2767--Proving Equivalences (scc+缩点)
Proving Equivalences Time Limit : 4000/2000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other ...
- 【POJ 2976】 Dropping Tests
[题目链接] http://poj.org/problem?id=2976 [算法] 0/1分数规划 [代码] #include <algorithm> #include <bits ...
- [.Net] Excel导入导出各种方式分析
1.引言 1.1解决哪些问题 现在很多公司用的导出基本上采用的通过gridView导出excel,此种导出存在以下几种问题 1.数据量大的时候有时导出有时会让浏览器卡死,因为导出的excel不是真 ...
- Java中利用随机数的猜拳游戏
Java中利用随机数的猜拳游戏,实现非常简单,重难点在于随机数的产生. 首先GameJude类是用于判断输赢的一个类: package testGame; public class GameJudge ...
- [Offer收割]编程练习赛33
矩阵游戏II 把每列的数字加起来当一行处理.因为每次操作两列,所以最后最多剩下一个负数.如果负数的个数是偶数,直接所有数字的绝对值加起来即可:若负数个数为奇数,把所有数的绝对值加起来减去其中最小的绝对 ...
- 重载(overload)和重写(override)的对比(笔试经常出)
Day04_SHJavaTraing_4-6-2017 1.重载(overload): ①权限修饰符(public private 默认): 无关 ②返回值类型: ...
- Functor、Applicative 和 Monad(重要)
Functor.Applicative 和 Monad Posted by 雷纯锋Nov 8th, 2015 10:53 am Functor.Applicative 和 Monad 是函数式编程语言 ...