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] [alert] SQL task query result sends null exception #16573

Open
3 tasks done
saowu opened this issue Sep 3, 2024 · 1 comment · May be fixed by #16595
Open
3 tasks done

[Bug] [alert] SQL task query result sends null exception #16573

saowu opened this issue Sep 3, 2024 · 1 comment · May be fixed by #16595
Assignees
Labels
bug Something isn't working

Comments

@saowu
Copy link
Contributor

saowu commented Sep 3, 2024

Search before asking

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

What happened

image
Here entry.getValue() may be null

[INFO] 2024-09-03 16:55:33.453 +0800 - row 1 : {"id":35,"created_at":"2022-10-29 11:41:52","updated_at":"2022-11-01 10:55:38","deleted_at":null,"icon":"https://www.baidu.com//favicon.ico","name":"百度","link":"https://baidu.com/","desc":"https://baidu.com/","state":true}

What you expected to happen

image

SQL task query result sends null exception

How to reproduce

SQL task queries the database and sets the null value, and sends it using Feishu

[INFO] 2024-09-03 16:55:33.453 +0800 - row 1 : {"id":35,"created_at":"2022-10-29 11:41:52","updated_at":"2022-11-01 10:55:38","deleted_at":null,"icon":"https://www.baidu.com//favicon.ico","name":"百度","link":"https://baidu.com/","desc":"https://baidu.com/","state":true}

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@saowu saowu added bug Something isn't working Waiting for reply Waiting for reply labels Sep 3, 2024
Copy link

github-actions bot commented Sep 3, 2024

Search before asking

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

What happened

image
Here entry.getValue() may be null

[INFO] 2024-09-03 16:55:33.453 +0800 - row 1 : {"id":35,"created_at":"2022-10-29 11:41:52","updated_at":"2022-11-01 10:55:38","deleted_at":null,"icon":"https://www.baidu.com//favicon.ico","name":"百度","link":"https://baidu.com/","desc":"https://baidu.com/","state":true}

What you expected to happen

image

SQL task query result sends null exception

How to reproduce

SQL task queries the database and sets the null value, and sends it using Feishu

[INFO] 2024-09-03 16:55:33.453 +0800 - row 1 : {"id":35,"created_at":"2022-10-29 11:41:52","updated_at":"2022-11-01 10:55:38","deleted_at":null,"icon":"https://www.baidu.com//favicon.ico","name":"百度","link":"https://baidu.com/","desc":"https://baidu.com/","state":true}

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@SbloodyS SbloodyS removed the Waiting for reply Waiting for reply label Sep 4, 2024
@saowu saowu linked a pull request Sep 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants