[ERROR][o.a.p.p.f.FileSystemFontProvider] Error accessing the file system


(Jewl) #1

version[5.2.2], pid[1472], build[f9d9b74/2017-02-24T17:26:45.835Z], OS[Windows Server 2012 R2/6.3/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_66/25.66-b17]

I noticed that ES is spamming errors in our production Environment and I am not sure what causes it, nor what problems (if any) our end users experience because of it. I searched the forum for topics similar to mine but could not find any solution or clues. Help is much appreciated. Posting the error message below.

[2018-10-30T08:24:01,155][ERROR][o.a.p.p.f.FileSystemFontProvider] Error accessing the file system
java.security.AccessControlException: access denied ("java.io.FilePermission" "<<ALL FILES>>" "execute")
	at java.security.AccessControlContext.checkPermission(Unknown Source) ~[?:1.8.0_66]
	at java.security.AccessController.checkPermission(Unknown Source) ~[?:1.8.0_66]
	at java.lang.SecurityManager.checkPermission(Unknown Source) ~[?:1.8.0_66]
	at java.lang.SecurityManager.checkExec(Unknown Source) ~[?:1.8.0_66]
	at java.lang.ProcessBuilder.start(Unknown Source) ~[?:1.8.0_66]
	at java.lang.Runtime.exec(Unknown Source) ~[?:1.8.0_66]
	at java.lang.Runtime.exec(Unknown Source) ~[?:1.8.0_66]
	at java.lang.Runtime.exec(Unknown Source) ~[?:1.8.0_66]
	at org.apache.fontbox.util.autodetect.WindowsFontDirFinder.getWinDir(WindowsFontDirFinder.java:47) ~[?:2.0.3]
	at org.apache.fontbox.util.autodetect.WindowsFontDirFinder.find(WindowsFontDirFinder.java:79) ~[?:2.0.3]
	at org.apache.fontbox.util.autodetect.FontFileFinder.find(FontFileFinder.java:74) ~[?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.<init>(FileSystemFontProvider.java:205) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.FontMapperImpl$DefaultFontProvider.<clinit>(FontMapperImpl.java:130) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.FontMapperImpl.getProvider(FontMapperImpl.java:149) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFont(FontMapperImpl.java:413) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.FontMapperImpl.getTrueTypeFont(FontMapperImpl.java:321) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.<init>(PDTrueTypeFont.java:198) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:75) [?:2.0.3]
	at org.apache.pdfbox.pdmodel.PDResources.getFont(PDResources.java:143) [?:2.0.3]
	at org.apache.pdfbox.contentstream.operator.text.SetFontAndSize.process(SetFontAndSize.java:60) [?:2.0.3]
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815) [?:2.0.3]
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472) [?:2.0.3]
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446) [?:2.0.3]
	at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149) [?:2.0.3]
	at org.apache.pdfbox.text.LegacyPDFStreamEngine.processPage(LegacyPDFStreamEngine.java:139) [?:2.0.3]
	at org.apache.pdfbox.text.PDFTextStripper.processPage(PDFTextStripper.java:391) [?:2.0.3]
	at org.apache.tika.parser.pdf.PDF2XHTML.processPage(PDF2XHTML.java:141) [?:1.14]
	at org.apache.pdfbox.text.PDFTextStripper.processPages(PDFTextStripper.java:319) [?:2.0.3]
	at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:266) [?:2.0.3]
	at org.apache.tika.parser.pdf.PDF2XHTML.process(PDF2XHTML.java:111) [?:1.14]
	at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:150) [?:1.14]
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) [?:1.14]
	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) [?:1.14]
	at org.apache.tika.Tika.parseToString(Tika.java:568) [?:1.14]
	at org.elasticsearch.ingest.attachment.TikaImpl$1.run(TikaImpl.java:101) [?:5.2.2]
	at org.elasticsearch.ingest.attachment.TikaImpl$1.run(TikaImpl.java:98) [?:5.2.2]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_66]
	at org.elasticsearch.ingest.attachment.TikaImpl.parse(TikaImpl.java:98) [?:5.2.2]
	at org.elasticsearch.ingest.attachment.AttachmentProcessor.execute(AttachmentProcessor.java:86) [?:5.2.2]
	at org.elasticsearch.ingest.common.ForEachProcessor.execute(ForEachProcessor.java:64) [?:5.2.2]
	at org.elasticsearch.ingest.CompoundProcessor.execute(CompoundProcessor.java:100) [?:5.2.2]
	at org.elasticsearch.ingest.Pipeline.execute(Pipeline.java:58) [?:5.2.2]
	at org.elasticsearch.ingest.PipelineExecutionService.innerExecute(PipelineExecutionService.java:166) [?:5.2.2]
	at org.elasticsearch.ingest.PipelineExecutionService.access$000(PipelineExecutionService.java:41) [?:5.2.2]
	at org.elasticsearch.ingest.PipelineExecutionService$1.doRun(PipelineExecutionService.java:65) [?:5.2.2]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:596) [?:5.2.2]
	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [?:5.2.2]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_66]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_66]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_66]
[2018-10-30T08:24:01,170][WARN ][o.a.p.p.f.PDTrueTypeFont ] Using fallback font 'LiberationSans' for 'Arial-BoldMT'

(David Pilato) #2

Could you upgrade your elasticsearch version to at least the latest 5.6 version or better 6.4?
IIRC this has been fixed.

May be more details on

Although it can be something else. In which case, it would be good if you can reproduce the problem on 6.4.2 and share within a new issue the file which is causing that.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.