Работаем с IPTVPortal. Во время отработки задачи "Пролонгация подписок не в реальном времени" периодически появляется ошибка:
Цитата:
connection 12-16/01:36:34 ERROR [sa-p-8-t-88] JsonClient - Error parse as JSON: null
connection 12-16/01:36:34 ERROR [sa-p-8-t-88] AcknowledgeConsumer - org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
ru.bitel.bgbilling.common.BGException: org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:337)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTaskImpl(AsyncEventWorker.java:248)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.notify(AsyncEventWorker.java:238)
at ru.bitel.bgbilling.kernel.event.AcknowledgeConsumer.onMessage0(AcknowledgeConsumer.java:77)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTask(AsyncEventWorker.java:213)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.doTasks(AsyncEventWorker.java:120)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runWorker(OrderManagerDeviceWorker.java:191)
at ru.bitel.bgbilling.kernel.event.EventWorker.internalRunWorker(EventWorker.java:154)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runImpl(OrderManagerDeviceWorker.java:111)
at ru.bitel.common.worker.WorkerTask.run(WorkerTask.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at ru.bitel.common.worker.WorkerThread.run(WorkerThread.java:46)
Caused by: org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
at org.json.JSONTokener.syntaxError(Unknown Source)
at org.json.JSONObject.<init>(Unknown Source)
at org.json.JSONObject.<init>(Unknown Source)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl(JsonClient.java:389)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.invoke(JsonClient.java:474)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.invoke(IptvPortalJsonClient.java:102)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.invoke(IptvPortalJsonClient.java:84)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.select(IptvPortalJsonClient.java:241)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.productsModifySyncFull(IptvPortalOrderManager.java:579)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.productsModifySyncFull(IptvPortalOrderManager.java:569)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.productsModify(IptvPortalOrderManager.java:653)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerSet.productsModify(OrderManagerSet.java:350)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doCommand(OrderManagerDeviceWorker.java:401)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:328)
... 17 more
Хочу пообщаться с техподдержкой портала по этому поводу. А чтобы пообщаться, хочется поподробней узнать об этой ошибке с "нашей" стороны - что она значит, в каких случаях возникает.
Цитата:
Информация о версии:
Клиент: вер. 7.1.192 / 28.03.2019 21:11:55
os: Linux; java: Java HotSpot(TM) Server VM, v.1.8.0_74
Сервер: вер. 7.1.1116 / 28.03.2019 21:13:58
os: Linux; java: Java HotSpot(TM) 64-Bit Server VM, v.1.8.0_211
assist: вер. 7.1.71 / 06.02.2019 19:11:09
bill: вер. 7.1.297 / 11.03.2019 05:05:45
card: вер. 7.1.199 / 12.02.2019 19:06:33
dba: вер. 7.1.152 / 06.02.2019 19:12:00
enaza: вер. 7.1.45 / 06.02.2019 19:12:09
gorod: вер. 7.1.153 / 06.02.2019 19:12:15
inet: вер. 7.1.697 / 28.03.2019 14:38:43
mobile: вер. 7.1.43 / 19.03.2019 12:30:08
mps: вер. 7.1.186 / 25.02.2019 21:29:35
npay: вер. 7.1.177 / 06.02.2019 19:12:46
paylinks: вер. 7.1.20 / 06.02.2019 19:12:52
paymaster: вер. 7.1.37 / 28.03.2019 14:38:48
qiwi: вер. 7.1.18 / 06.02.2019 19:13:17
rentsoft: вер. 7.1.41 / 06.02.2019 19:13:23
reports: вер. 7.1.205 / 12.02.2019 19:06:39
rscm: вер. 7.1.166 / 06.02.2019 19:13:32
ru.bitel.bgbilling.plugins.cladr: вер. 7.1.106 / 06.02.2019 19:11:59
ru.bitel.bgbilling.plugins.dispatch: вер. 7.1.40 / 18.03.2019 21:32:51
trayinfo: вер. 7.1.160 / 06.02.2019 19:13:49
tv: вер. 7.1.223 / 28.03.2019 14:38:45
wellpay: вер. ?
wm: вер. 7.1.170 / 06.02.2019 19:14:03
yamoney: вер. 7.1.50 / 06.02.2019 19:14:05