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

FilteringGeneratorDelegate does not override writeStartObject(Object forValue) #359

Closed
arnaudroger opened this issue Mar 9, 2017 · 2 comments
Milestone

Comments

@arnaudroger
Copy link
Contributor

that leads to

Caused by: java.lang.NullPointerException
	at com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate.writeFieldName(FilteringGeneratorDelegate.java:278)
	at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:670)
	at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:690)
	... 43 more

when using the BeanSerializer

writeStartObject(Object forValue) should do the same as writeStartObject().

will submit a PR

arnaudroger added a commit to arnaudroger/jackson-core that referenced this issue Mar 9, 2017
arnaudroger added a commit to arnaudroger/jackson-core that referenced this issue Mar 9, 2017
@arnaudroger
Copy link
Contributor Author

see #360

arnaudroger added a commit to arnaudroger/jackson-core that referenced this issue Mar 9, 2017
cowtowncoder added a commit that referenced this issue Mar 10, 2017
 #359 override writeStartObject(Object forValue)
cowtowncoder added a commit that referenced this issue Mar 10, 2017
@cowtowncoder cowtowncoder added this to the 2.8.8 milestone Mar 10, 2017
@cowtowncoder
Copy link
Member

Merged for 2.8.8 / 2.9.0.pr2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants