81,095
社区成员
发帖
与我相关
我的任务
分享
Exception in thread "main" java.lang.RuntimeException: Can not get hosts from [http://sdk.open.api.igexin.com/apiex.htm]
at com.gexin.rp.sdk.http.GtPush.getOSPushDomainUrlList(GtPush.java:128)
at com.gexin.rp.sdk.http.GtPush.initOSDomain(GtPush.java:96)
at com.gexin.rp.sdk.http.GtPush.<init>(GtPush.java:88)
at com.gexin.rp.sdk.http.IGtPush.<init>(IGtPush.java:79)
at com.gexin.rp.sdk.http.IGtPush.<init>(IGtPush.java:71)
at com.enterprise.util.AppPush.main(AppPush.java:23)
Caused by: com.gexin.rp.sdk.exceptions.RequestException: httpPost:[http://sdk.open.api.igexin.com/apiex.htm] [{action=getOSPushDomailUrlListAction, appkey=FMGoLJmbjC6LxF1ja6qpL} ] [ null]:
at com.gexin.rp.sdk.http.HttpManager.httpPostJSON(HttpManager.java:37)
at com.gexin.rp.sdk.http.GtPush.getOSPushDomainUrlList(GtPush.java:115)
... 5 more
Caused by: com.gexin.fastjson.JSONException: syntax error, expect {, actual EOF, pos 0, json :
at com.gexin.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:219)
at com.gexin.fastjson.parser.deserializer.MapDeserializer.deserialze(MapDeserializer.java:67)
at com.gexin.fastjson.parser.deserializer.MapDeserializer.deserialze(MapDeserializer.java:48)
at com.gexin.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:614)
at com.gexin.fastjson.JSON.parseObject(JSON.java:339)
at com.gexin.fastjson.JSON.parseObject(JSON.java:307)
at com.gexin.fastjson.JSON.parseObject(JSON.java:270)
at com.gexin.fastjson.JSON.parseObject(JSON.java:370)
at com.gexin.fastjson.JSON.parseObject(JSON.java:350)
at com.gexin.rp.sdk.http.client.GtHttpClient.executePostJson(GtHttpClient.java:59)
at com.gexin.rp.sdk.http.HttpManager.httpPostJSON(HttpManager.java:34)
... 6 more