Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Module Name] Null pointer exception occurs when dinky configures DingTalk alarm #3793

Closed
2 of 3 tasks
sprybee opened this issue Sep 9, 2024 · 3 comments · Fixed by #3797
Closed
2 of 3 tasks
Labels
Bug Something isn't working Waiting for reply Waiting for reply

Comments

@sprybee
Copy link

sprybee commented Sep 9, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

我配置钉钉告警后台出现NPE

image
image
image
image

What you expected to happen

[dinky] 2024-09-09 21:34:02 CST ERROR org.jeasy.rules.core.DefaultRulesEngine 120 doFire - Rule '作业运行异常' performed with error java.lang.NullPointerException: null
at org.dinky.job.handler.JobAlertHandler.executeAlertAction(JobAlertHandler.java:255) ~[dinky-admin-1.1.0.jar:?]
at org.dinky.job.handler.JobAlertHandler.lambda$buildRule$5(JobAlertHandler.java:214) ~[dinky-admin-1.1.0.jar:?]
at org.jeasy.rules.core.DefaultRule.execute(DefaultRule.java:51) ~[easy-rules-core-4.1.0.jar:?]
at org.jeasy.rules.core.DefaultRulesEngine.doFire(DefaultRulesEngine.java:112) ~[easy-rules-core-4.1.0.jar:?]
at org.jeasy.rules.core.DefaultRulesEngine.fire(DefaultRulesEngine.java:70) ~[easy-rules-core-4.1.0.jar:?]
at org.dinky.job.handler.JobAlertHandler.check(JobAlertHandler.java:173) ~[dinky-admin-1.1.0.jar:?]
at org.dinky.job.FlinkJobTask.dealTask(FlinkJobTask.java:106) ~[dinky-admin-1.1.0.jar:?]
at org.dinky.daemon.entity.TaskWorker.run(TaskWorker.java:57) ~[dinky-daemon-1.1.0.jar:?]
at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_352]

How to reproduce

无需复现

Anything else

No response

Version

1.1.0

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@sprybee sprybee added Bug Something isn't working Waiting for reply Waiting for reply labels Sep 9, 2024
@github-actions github-actions bot changed the title [Bug] [Module Name] dinky配置钉钉告警出现空指针异常 [Bug] [Module Name] Null pointer exception occurs when dinky configures DingTalk alarm Sep 9, 2024
@Zzm0809
Copy link
Contributor

Zzm0809 commented Sep 9, 2024

请给出完整日志, 给出完整复现流程

@sprybee
Copy link
Author

sprybee commented Sep 10, 2024

重装系统,配置如上图告警逻辑,开启任务无告警发出。

@gaoyan1998
Copy link
Contributor

重装系统,配置如上图告警逻辑,开启任务无告警发出。

这是一个BUG,临时解决方案把责任人和维护人都填写一个就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Waiting for reply Waiting for reply
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants