You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For IngestClientIT we managed to get a stack trace:
java.lang.NullPointerException
at org.elasticsearch.index.mapper.DocumentParser.parseDynamicValue(DocumentParser.java:819)
at org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:579)
at org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:412)
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:392)
at org.elasticsearch.index.mapper.DocumentParser.internalParseDocument(DocumentParser.java:112)
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:80)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:286)
at org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:474)
at org.elasticsearch.index.shard.IndexShard.prepareIndexOnPrimary(IndexShard.java:455)
at org.elasticsearch.action.index.TransportIndexAction.prepareIndexOperationOnPrimary(TransportIndexAction.java:188)
at org.elasticsearch.action.index.TransportIndexAction.executeIndexRequestOnPrimary(TransportIndexAction.java:196)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:339)
at org.elasticsearch.action.bulk.TransportShardBulkAction.index(TransportShardBulkAction.java:156)
at org.elasticsearch.action.bulk.TransportShardBulkAction.handleItem(TransportShardBulkAction.java:135)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:121)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:70)
The text was updated successfully, but these errors were encountered:
Boolean fields were not handled in `DocumentParser.createBuilderFromFieldType`.
This also improves the logic a bit by falling back to the default mapping of
the given type insteah of hard-coding every case and throws a better exception
than a NPE if no dynamic mappings could be created.
Closeselastic#17879
Different tests are failing in CI with an NPE recently, e.g.:
For
IngestClientIT
we managed to get a stack trace:The text was updated successfully, but these errors were encountered: