Jackson throws exception when deserializing Page [DATAES-274] #849
Comments
Simon Schneider commented Did you find a solution or workaround for this? I have the same issue but with newer versions Spring Boot 1.5.1.RELEASE and elasticsearch 2.4.4 |
liushaofei commented spring-boot 1.4.1.RELEASE is ok |
Philipp Kräutli commented PR #175 |
sreekanth commented Due to this issue, we could not upgrade spring data stack, may i know when this is expected to be fixed ? |
sreekanth commented Is it possible for a patch release for the same issue in any 2.1.x branch ? |
Oliver Drotbohm commented As a general comment, |
Nikola Matkovic opened DATAES-274 and commented
When retrieving data from elasticsearch using elasticsearch repository I get the following exception:
exception:org.springframework.http.converter.HttpMessageNotWritableException - Could not write content: (was java.lang.NullPointerException) (through reference chain: org.springframework.data.elasticsearch.core.aggregation.impl.AggregatedPageImpl["facets"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.springframework.data.elasticsearch.core.aggregation.impl.AggregatedPageImpl["facets"])"
Using this method in repository that extends ElasticsearchRepository
Page<EventLog> findBySeverity(String severity, Pageable pageable);
using:
Referenced from: commits a085c06
3 votes, 10 watchers
The text was updated successfully, but these errors were encountered: