zoukankan      html  css  js  c++  java
  • 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());

  • 相关阅读:
    vue的工作机制
    koa中的执行顺序
    vue项目中的keep-alive缓存
    vue项目中组件的重新初始化
    常用的JS代码块收集
    每个程序员都必须遵守的编程原则--转了
    自己写操作系统 2
    自己写操作系统 1
    【转】Hadoop安装教程_单机/伪分布式配置_Hadoop2.6.0/Ubuntu14.04
    ubuntu14.04LTS openssh-server 手动安装配置步骤
  • 原文地址:https://www.cnblogs.com/panxuejun/p/6389531.html
Copyright © 2011-2022 走看看