Hi all,

We are facing this issue rarely, We will start processing in parallel
threads using Tika.
For PDF Files, The PDDocument class failed to initialize due to NPE on
ICC_Profile class.
As far I searched, I found https://issues.apache.org/jira/browse/FOP-2745 &
https://www.mail-archive.com/users@pdfbox.apache.org/msg11178.html

Caused by: java.lang.NullPointerException
> at java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1768)
> at java.awt.color.ICC_Profile.getNumComponents(ICC_Profile.java:1460)
> at sun.java2d.cmm.lcms.LCMSTransform.<init>(LCMSTransform.java:98)
> at sun.java2d.cmm.lcms.LCMS.createTransform(LCMS.java:173)
> at java.awt.color.ICC_ColorSpace.toRGB(ICC_ColorSpace.java:178)
> at
> org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB.init(PDDeviceRGB.java:68)
> at
> org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB.toRGBImage(PDDeviceRGB.java:108)
> at org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:106)
> ... 20 more
>

We are using OpenJDK 1.8.0_252.
Is there any way to solve the issue or any pointers would be helpful.


Thanks
Aravinth

Reply via email to