Confluence crashed every day
Asked by Heiko Grund:

Hi,

Confluence crashed every day and we don't know why.

Log:

2014-03-27 08:27:42,122 WARN \[scheduler_Worker-6\] \[apache.pdfbox.util.PDFStreamEngine\] processEncodedText java.lang.NoSuchMethodError: org.apache.fontbox.cmap.CMap.getSpaceMapping()I  
java.lang.NoSuchMethodError: org.apache.fontbox.cmap.CMap.getSpaceMapping()I  
at org.apache.pdfbox.pdmodel.font.PDSimpleFont.getSpaceWidth(PDSimpleFont.java:540)  
at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEngine.java:355)  
at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.java:62)  
at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:554)  
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268)  
at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)  
at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)  
at org.apache.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:456)  
at org.apache.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:381)  
at org.apache.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:340)  
at com.atlassian.bonnie.search.extractor.PdfContentExtractor.extractText(PdfContentExtractor.java:71)  
at com.atlassian.bonnie.search.extractor.BaseAttachmentContentExtractor.addFields(BaseAttachmentContentExtractor.java:41)  
at com.atlassian.confluence.plugin.descriptor.ExtractorModuleDescriptor$BackwardsCompatibleExtractor.addFields(ExtractorModuleDescriptor.java:42)  
at dk.translucent.atlassian.confluence.infinidex.search.CustomDocumentBuilder.getDocument(CustomDocumentBuilder.java:29)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.getDocument(Indexer.java:134)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.access$000(Indexer.java:22)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer$1.apply(Indexer.java:67)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:160)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.visitFiles(Indexer.java:156)  
at dk.translucent.atlassian.confluence.infinidex.search.Indexer.add(Indexer.java:63)  
at dk.translucent.atlassian.confluence.infinidex.search.ReIndexService.reindex(ReIndexService.java:108)  
at dk.translucent.atlassian.confluence.infinidex.search.ReIndexService.doExecute(ReIndexService.java:133)  
at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:88)  
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)  
at com.atlassian.confluence.plugin.descriptor.JobModuleDescriptor$DelegatingPluginJob.execute(JobModuleDescriptor.java:143)  
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)  
at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20)  
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

I hope someone can help me to solve the problem.


Answers:
author: Adrien Ragot 2
body: The best is often to contact support, such as [](https://support.atlassian.com/)<https://support.atlassian.com/>.


author: Fabio Racobaldo _Herzum_
body: Hello Heiko,

Did you tried to increase JVM parameters? Btw, as Jeremy said, the log that you provided doesn't contain the real problem.

I suggest to install this plugin [](https://marketplace.atlassian.com/plugins/net.bull.javamelody)<https://marketplace.atlassian.com/plugins/net.bull.javamelody>that allows you to monitor all the main aspects so you can investigate your issue.

Regards,

Fabio


author: Jeremy Largman
body: Adrien is right, in this case. Confluence crashing cases are hard to solve. The log you posted is likely unrelated to the issue.

If you want to troubleshoot yourself, check the knowledgebase articles:

<https://confluence.atlassian.com/display/CONFKB/Troubleshooting+Confluence+Hanging+or+Crashing>


Tags: community