com.atlassian.bonnie.search.extractor.ExtractorException: Error reading content of Word document: The document appears to be corrupted and cannot be loaded.

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 Septa Cahyadiputra [Atlassian], 1 year ago
Error reading content of Word document: The document appears to be corrupted and cannot be loaded.
via Atlassian JIRA by Septa Cahyadiputra [Atlassian], 1 year ago
Error reading content of Word document: The document appears to be corrupted and cannot be loaded.
via Atlassian JIRA by Don Willis [Atlassian], 1 year ago
Error reading content of Word document: The document appears to be corrupted and cannot be loaded.
via Atlassian JIRA by Don Willis [Atlassian], 1 year ago
Error reading content of Word document: The document appears to be corrupted and cannot be loaded.
via Atlassian JIRA by Septa Cahyadiputra [Atlassian], 1 year ago
Error reading content of Word document: The document appears to be corrupted and cannot be loaded.
via Atlassian JIRA by Septa Cahyadiputra [Atlassian], 1 year ago
Error reading content of Word document: The document appears to be corrupted and cannot be loaded.
java.lang.NullPointerException: style
at asposewobfuscated.am.c(Unknown Source)
at com.aspose.words.aav.a(Unknown Source)
at com.aspose.words.wp.a(Unknown Source)
at com.aspose.words.wp.d(Unknown Source)
at com.aspose.words.fq.gg(Unknown Source)
at com.aspose.words.fq.d(Unknown Source)
at com.aspose.words.fq.read(Unknown Source)
at com.aspose.words.Document.b(Unknown Source)
at com.aspose.words.Document.a(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.atlassian.confluence.extra.officeconnector.index.word.WordTextExtractor.extractText(WordTextExtractor.java:37)
at com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor.addFields(BaseAttachmentContentExtractor.java:40)
at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:45)
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:43)
at com.atlassian.bonnie.index.TempIndexWriter.perform(TempIndexWriter.java:73)
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:78)
at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker$1.doInTransactionWithoutResult(DefaultObjectQueueWorker.java:62)
at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.run(DefaultObjectQueueWorker.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.