Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Andrew Moise, 1 year ago
Error reading content of Word document: String index out of range: -675845
via Atlassian JIRA by Andrew Moise, 1 year ago
Error reading content of Word document: String index out of range: -675845
java.lang.StringIndexOutOfBoundsException: String index out of range: -675845	at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:882)	at java.lang.StringBuffer.substring(StringBuffer.java:417)	at org.apache.poi.hwpf.model.TextPiece.substring(TextPiece.java:88)	at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:157)	at com.atlassian.bonnie.search.extractor.MsWordContentExtractor.extractText(MsWordContentExtractor.java:33)	at com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor.addFields(BaseAttachmentContentExtractor.java:39)	at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:43)	at com.atlassian.bonnie.search.BaseDocumentBuilder.getDocument(BaseDocumentBuilder.java:104)	at com.atlassian.confluence.search.lucene.ConfluenceDocumentBuilder.getDocument(ConfluenceDocumentBuilder.java:102)	at com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask.perform(AddDocumentIndexTask.java:41)	at com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:72)	at com.atlassian.confluence.search.lucene.TempIndexWriterStrategy.perform(TempIndexWriterStrategy.java:43)	at com.atlassian.confluence.search.lucene.tasks.TempIndexBackedIndexTaskPerformer.perform(TempIndexBackedIndexTaskPerformer.java:21)	at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.indexCollection(DefaultObjectQueueWorker.java:73)	at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker$1.doInTransactionWithoutResult(DefaultObjectQueueWorker.java:61)	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)	at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.run(DefaultObjectQueueWorker.java:50)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)	at java.lang.Thread.run(Thread.java:595)