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]: eswriter插件,当数组列值为空时,报java.lang.NullPointerException #611

Closed
imzhf opened this issue Jul 9, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@imzhf
Copy link

imzhf commented Jul 9, 2022

Contact Details(联系人)

No response

What happened?

配置文件:
{"name":"labelIds","type":"keyword","array":true}
当源表中labelIds字段值为空时,报:
企业微信截图_20220709165216

Version

4.0.9 (Default)

OS Type

Linux (Default)

Java JDK Version

Oracle JDK 1.8.0

Relevant log output

No response

@imzhf imzhf added the bug Something isn't working label Jul 9, 2022
@imzhf
Copy link
Author

imzhf commented Jul 9, 2022

跟踪了下,是ESWriter.java的如下行报错:
String[] dataList = column.asString().split(splitter);

@wgzhao
Copy link
Owner

wgzhao commented Jul 9, 2022

麻烦后续请直接贴出日志内容,而不是截图。
截图无法搜索,也无法复制,对 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

No branches or pull requests

2 participants