告警入库报错.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. 2022-07-26 09:17:00.156 ERROR 179932 --- [lerThreadPool-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task
  2. com.alibaba.fastjson.JSONException: illegal character <
  3. at com.alibaba.fastjson.JSON.parseObject(JSON.java:193) ~[fastjson-2.0.7.graal.jar!/:na]
  4. at com.nokia.alarm.service.AlarmSaveToFileService.getHttpSave(AlarmSaveToFileService.java:43) ~[classes!/:1.2]
  5. at com.nokia.alarm.config.SchedulingConfig.lambda$null$0(SchedulingConfig.java:53) ~[classes!/:1.2]
  6. at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.3.21.jar!/:5.3.21]
  7. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_301]
  8. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_301]
  9. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_301]
  10. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_301]
  11. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_301]
  12. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_301]
  13. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_301]
  14. Caused by: com.alibaba.fastjson2.JSONException: illegal character <
  15. at com.alibaba.fastjson2.JSONReaderUTF16.readFieldNameHashCode(JSONReaderUTF16.java:633) ~[fastjson2-2.0.7.graal.jar!/:na]
  16. at com.alibaba.fastjson2.reader.ObjectReader4.readObject(ObjectReader4.java:253) ~[fastjson2-2.0.7.graal.jar!/:na]
  17. at com.alibaba.fastjson.JSON.parseObject(JSON.java:183) ~[fastjson-2.0.7.graal.jar!/:na]
  18. ... 10 common frames omitted
  19. com.alibaba.fastjson.JSONException: illegal character C
  20. at com.alibaba.fastjson.JSON.parseObject(JSON.java:193)
  21. at com.nokia.alarm.service.AlarmSaveToFileService.getHttpUpdate(AlarmSaveToFileService.java:82)
  22. at com.nokia.alarm.config.SchedulingConfig.lambda$configureTasks$1(SchedulingConfig.java:47)
  23. at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
  24. at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:95)
  25. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  26. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  27. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  28. at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  29. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  30. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  31. at java.lang.Thread.run(Thread.java:748)
  32. Caused by: com.alibaba.fastjson2.JSONException: illegal character C
  33. at com.alibaba.fastjson2.JSONReaderUTF16.readFieldNameHashCode(JSONReaderUTF16.java:633)
  34. at com.alibaba.fastjson2.reader.ObjectReader4.readObject(ObjectReader4.java:253)
  35. at com.alibaba.fastjson.JSON.parseObject(JSON.java:183)
  36. 2022-08-10 09:05:19.424 INFO 179932 --- [lerThreadPool-1] c.n.a.service.AlarmSaveToFileService : 查询消除告警开始=====================================================
  37. java.lang.NullPointerException
  38. 2022-08-10 08:40:00.000 INFO 179932 --- [lerThreadPool-1] c.n.a.service.AlarmSaveToFileService : 查询新增告警开始=====================================================
  39. java.lang.NullPointerException