Skywalking: AlarmCore -78603097 [pool-2-thread-1] ERROR

Created on 17 Sep 2020  ·  6Comments  ·  Source: apache/skywalking

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ ] Question or discussion
  • [*] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Question

  • What do you want to know?
    Why will appear this error message

‘‘
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265],
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_265],
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_265],
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_265],
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_265],
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_265],
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_265],
at org.apache.skywalking.oap.server.core.alarm.provider.AlarmCore.lambda$start$3(AlarmCore.java:77) ~[server-alarm-plugin-8.2.0-SNAPSHOT.jar:8.2.0-SNAPSHOT],
at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_265],
at org.apache.skywalking.oap.server.core.alarm.provider.AlarmCore.lambda$null$2(AlarmCore.java:77) ~[server-alarm-plugin-8.2.0-SNAPSHOT.jar:8.2.0-SNAPSHOT],
at org.apache.skywalking.oap.server.core.alarm.provider.slack.SlackhookCallback.doAlarm(SlackhookCallback.java:66) ~[server-alarm-plugin-8.2.0-SNAPSHOT.jar:8.2.0-SNAPSHOT],
java.lang.NullPointerException: null,
2020-09-17 07:04:21,143 - org.apache.skywalking.oap.server.core.alarm.provider.AlarmCore -78603097 [pool-2-thread-1] ERROR [] - null
‘’


Bug

  • Which version of SkyWalking, OS and JRE?
    skywalking 8.x ,linux Centos 7

  • Which company or project?

  • What happened?
    If possible, provide a way to reproduce the error. e.g. demo application, component version.


Requirement or improvement

  • Please describe your requirements or improvement suggestions.
backend bug

Most helpful comment

let me fix this, it's easy

All 6 comments

I think this is master branch NPE. @JaredTan95 SlackhookCallback seems doesn't check the SlackSettings == null

@landonzeng Do you want to submit a pull request to fix this? SlackhookCallback#L66 should check this.alarmRulesWatcher.getSlackSettings() != null.

I think this is master branch NPE. @JaredTan95 SlackhookCallback seems doesn't check the SlackSettings == null

@landonzeng Do you want to submit a pull request to fix this? SlackhookCallback#L66 should check this.alarmRulesWatcher.getSlackSettings() != null.

I am running in docker environment, I am not very familiar with java, sorry

This is a bug of an unreleased feature. I have informed @JaredTan95

This is a bug of an unreleased feature. I have informed @JaredTan95

Ok,Thanks!

let me fix this, it's easy

Done, please reCheck

Was this page helpful?
0 / 5 - 0 ratings