代理对的第二部分(0xdf2d)无与伦比

时间:2016-05-30 12:45:58

标签: java elasticsearch jackson

当我通过Java cleint搜索Elasticsearch时,我很少看到以下异常:

Caused by: java.lang.IllegalArgumentException: Unmatched second part of surrogate pair (0xdf2d)
    at com.fasterxml.jackson.dataformat.smile.SmileGenerator._throwIllegalSurrogate(SmileGenerator.java:1842)
    at com.fasterxml.jackson.dataformat.smile.SmileGenerator._shortUTF8Encode2(SmileGenerator.java:1663)
    at com.fasterxml.jackson.dataformat.smile.SmileGenerator._shortUTF8Encode(SmileGenerator.java:1629)
    at com.fasterxml.jackson.dataformat.smile.SmileGenerator.writeString(SmileGenerator.java:855)
    at org.elasticsearch.common.xcontent.json.JsonXContentGenerator.writeString(JsonXContentGenerator.java:156)
    at org.elasticsearch.common.xcontent.XContentBuilder.writeValue(XContentBuilder.java:1240)
    at org.elasticsearch.common.xcontent.XContentBuilder.writeValue(XContentBuilder.java:1274)
    at org.elasticsearch.common.xcontent.XContentBuilder.field(XContentBuilder.java:810)
    at org.elasticsearch.index.query.TermsQueryBuilder.doXContent(TermsQueryBuilder.java:156)
    at org.elasticsearch.index.query.QueryBuilder.toXContent(QueryBuilder.java:37)
    at org.elasticsearch.action.support.QuerySourceBuilder.innerToXContent(QuerySourceBuilder.java:56)
    at org.elasticsearch.search.builder.SearchSourceBuilder.innerToXContent(SearchSourceBuilder.java:681)
    at org.elasticsearch.search.builder.SearchSourceBuilder.toXContent(SearchSourceBuilder.java:659)
    at org.elasticsearch.action.support.ToXContentToBytes.buildAsBytes(ToXContentToBytes.java:63)
    ... 81 more

我无法使用相同的请求重现它。

我可以通过查看堆栈跟踪看到Jackson Smile,但我不知道问题是什么。

有人看到异常吗?

0 个答案:

没有答案