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

Override jackson's TextBuffer to avoid NPE in SmileParser #10124

Closed
wants to merge 1 commit into from
Closed

Override jackson's TextBuffer to avoid NPE in SmileParser #10124

wants to merge 1 commit into from

Conversation

v1ctor
Copy link

@v1ctor v1ctor commented Mar 17, 2015

If you send a smile request with an empty value in the term query in ES 1.4.4, NPE may occur.
There is a bug in jackson FasterXML/jackson-core#182.
But they haven't released it yet.
That's why I proposed you to use a fixed version of this file until they release it.

Anyway you'd better know about this problem.

@masaruh
Copy link
Contributor

masaruh commented Mar 17, 2015

FYI, there's an issue for this, #8629.

@s1monw
Copy link
Contributor

s1monw commented Mar 18, 2015

I am kind of hesitating to do this. Not sure if it's worth adding a fork of this file or if we should just wait for a 2.6.0 release? @kimchy opinions?

@s1monw s1monw self-assigned this Mar 18, 2015
@s1monw s1monw added the discuss label Mar 20, 2015
@masaruh
Copy link
Contributor

masaruh commented Mar 31, 2015

@s1monw Not mean to hijack this PR but I created a PR(#10333) to fix the issue in a different way in case overriding TextBuffer isn't feasible.

@kimchy
Copy link
Member

kimchy commented Apr 2, 2015

agreed its tricky, and I think this should be solved in Jackson and for now we can do #10333

@masaruh
Copy link
Contributor

masaruh commented Apr 6, 2015

Closing in favor of #10333.

@masaruh masaruh closed this Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants