Throwable #1: ElasticsearchParseException[Error parsing document in field [source_field]]; nested: TikaException[Unexpected RuntimeException from org.apache.tika.parser.txt.TXTParser@5bdd2e62]; nested: IllegalStateException[Can't overwrite cause with org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException: Your document contained more than 19 characters, and so your requested limit has been reached. To receive the full text of the document, increase your limit. (Text up to the limit is however available).]; nested: TaggedSAXException[Your document contained more than 19 characters, and so your requested limit has been reached. To receive the full text of the document, increase your limit. (Text up to the limit is however available).]; nested: WriteLimitReachedException[Your document contained more than 19 characters, and so your requested limit has been reached. To receive the full text of the document, increase your limit. (Text up to the limit is however available).];
> at __randomizedtesting.SeedInfo.seed([F36010291A3A195A:F8D959C10745D812]:0)
> at org.elasticsearch.ingest.attachment.AttachmentProcessor.execute(AttachmentProcessor.java:106)
> at org.elasticsearch.ingest.attachment.AttachmentProcessorTests.parseDocument(AttachmentProcessorTests.java:285)
> at org.elasticsearch.ingest.attachment.AttachmentProcessorTests.parseDocument(AttachmentProcessorTests.java:275)
> at org.elasticsearch.ingest.attachment.AttachmentProcessorTests.testIndexedChars(AttachmentProcessorTests.java:296)
Output of java -version:
openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+17)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+17, mixed mode)
Reproduce with:
./gradlew :plugins:ingest-attachment:test -Dtests.class=org.elasticsearch.ingest.attachment.AttachmentProcessorTests -Dtests.method="testIndexedChars"
Note that running with JDK 11 requires some changes before one can get here. Those can be found here:
https://github.com/atorok/elasticsearch/tree/upgrade/jdk_11
Output of
java -version:Reproduce with:
Note that running with JDK 11 requires some changes before one can get here. Those can be found here:
https://github.com/atorok/elasticsearch/tree/upgrade/jdk_11