-
Notifications
You must be signed in to change notification settings - Fork 1.5k
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
CSV export over REST API leads to NPE #231
Comments
Will there be a fix soon? |
Which version? Can you tell me more information? |
Hello version 2.3.1. |
There is no problem if I use the web UI, but I want to have a csv export over REST api via statement format=csv it leads to nullpointerexecption. |
I try es 2.3.1: Can you give me es error logs? |
[2016-07-25 13:00:53,282][WARN ][rest.suppressed ] /_sql Params: {format=csv, sql=select * from esh;event;event_0.4;2016-06-20_00-00-00-000;2016-06-26_23-59-59-999 where source.sourceType='VEHICLE'} |
I Have fixed this bug, it occurrs if the value of the header is null, I have changed the line doc.get(header).toString() to String.valueOf(doc.get(header)). Do I have to make a pull request now? |
Thanks! If you want, you can make a pull request! |
issue still exists in 2.3.5
you see, ipo_year is null, it outputs: |
Sorry!I will fix it! |
Thanks! |
The CSV export functionality over REST API leads to NullPointerException:
{
}
The text was updated successfully, but these errors were encountered: