License parsing error and performance issue during DOC/DOCX to PDF conversion on Linux (Java 8)

Hi @evgen.efimov ,

We tried fetching the fonts using fc-list command and we got the below fonts as response:

/usr/share/fonts/google-droid/DroidSansHebrew-Regular.ttf: Droid Sans:style=Regular
/usr/share/fonts/msttcore/candaraz.ttf: Candara:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusMonoPS-Italic.otf: Nimbus Mono PS:style=Italic
/usr/share/fonts/urw-base35/D050000L.t1: D050000L:style=Regular
/usr/share/fonts/msttcore/corbeli.ttf: Corbel:style=Italic
/usr/share/fonts/urw-base35/NimbusSansNarrow-Regular.t1: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/msttcore/georgiaz.ttf: Georgia:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana
/usr/share/fonts/urw-base35/NimbusSansNarrow-BoldOblique.t1: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/msttcore/georgia.ttf: Georgia:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/msttcore/cour.ttf: Courier New:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.otf: Nimbus Mono PS:style=Bold
/usr/share/fonts/msttcore/tahoma.ttf: Tahoma:style=Regular
/usr/share/fonts/msttcore/corbelz.ttf: Corbel:style=Bold Italic
/usr/share/fonts/urw-base35/P052-Roman.otf: P052:style=Roman
/usr/share/fonts/msttcore/verdanai.ttf: Verdana:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana
/usr/share/fonts/msttcore/timesbi.ttf: Times New Roman:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,nghiêng đậm,Lodi etzana
/usr/share/fonts/urw-base35/P052-Italic.t1: P052:style=Italic
/usr/share/fonts/google-droid/DroidSansArabic.ttf: Droid Sans:style=Regular
/usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/fonts/google-droid/DroidSansEthiopic-Regular.ttf: Droid Sans:style=Regular
/usr/share/fonts/urw-base35/C059-BdIta.otf: C059:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/msttcore/arial.ttf: Arial:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta
/usr/share/fonts/msttcore/comic.ttf: Comic Sans MS:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/urw-base35/StandardSymbolsPS.t1: Standard Symbols PS:style=Regular
/usr/share/fonts/urw-base35/URWBookman-DemiItalic.t1: URW Bookman:style=Demi Italic
/usr/share/fonts/msttcore/corbel.ttf: Corbel:style=Regular
/usr/share/fonts/msttcore/impact.ttf: Impact:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/msttcore/constanb.ttf: Constantia:style=Bold
/usr/share/fonts/google-droid/DroidSansFallback.ttf: Droid Sans:style=Regular
/usr/share/fonts/msttcore/timesi.ttf: Times New Roman:style=Italic,cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana
/usr/share/X11/fonts/Type1/c0611bt_.pfb: Courier 10 Pitch:style=Bold Italic
/usr/share/fonts/msttcore/calibri.ttf: Calibri:style=Regular
/usr/share/fonts/urw-base35/C059-Roman.t1: C059:style=Roman
/usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-Italic.t1: Nimbus Roman:style=Italic
/usr/share/fonts/urw-base35/C059-BdIta.t1: C059:style=Bold Italic
/usr/share/fonts/abattis-cantarell/Cantarell-Bold.otf: Cantarell:style=Bold
/usr/share/fonts/urw-base35/URWBookman-LightItalic.otf: URW Bookman:style=Light Italic
/usr/share/fonts/urw-base35/URWGothic-DemiOblique.otf: URW Gothic:style=Demi Oblique
/usr/share/X11/fonts/Type1/UTBI____.pfa: Utopia:style=Bold Italic
/usr/share/fonts/msttcore/timesbd.ttf: Times New Roman:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiona,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia
/usr/share/fonts/msttcore/comicbd.ttf: Comic Sans MS:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia
/usr/share/fonts/urw-base35/NimbusSansNarrow-BoldOblique.otf: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/msttcore/consolab.ttf: Consolas:style=Bold
/usr/share/fonts/google-droid/DroidSansTamil-Regular.ttf: Droid Sans:style=Regular
/usr/share/fonts/urw-base35/NimbusSans-Bold.otf: Nimbus Sans:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-Bold.otf: Nimbus Roman:style=Bold
/usr/share/fonts/urw-base35/D050000L.otf: D050000L:style=Regular
/usr/share/X11/fonts/Type1/c0419bt_.pfb: Courier 10 Pitch:style=Regular
/usr/share/fonts/urw-base35/Z003-MediumItalic.otf: Z003:style=Medium Italic
/usr/share/fonts/msttcore/ariblk.ttf: Arial Black:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/urw-base35/NimbusSans-Italic.otf: Nimbus Sans:style=Italic
/usr/share/fonts/urw-base35/NimbusSans-Bold.t1: Nimbus Sans:style=Bold
/usr/share/fonts/urw-base35/URWGothic-Demi.t1: URW Gothic:style=Demi
/usr/share/fonts/msttcore/consola.ttf: Consolas:style=Regular
/usr/share/fonts/urw-base35/NimbusRoman-BoldItalic.otf: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusRoman-Italic.otf: Nimbus Roman:style=Italic
/usr/share/fonts/urw-base35/C059-Roman.otf: C059:style=Roman
/usr/share/fonts/msttcore/courbi.ttf: Courier New:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana
/usr/share/fonts/google-droid/DroidSansEthiopic-Bold.ttf: Droid Sans:style=Bold
/usr/share/fonts/urw-base35/C059-Italic.otf: C059:style=Italic
/usr/share/fonts/urw-base35/NimbusSansNarrow-Oblique.otf: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/urw-base35/NimbusSans-Regular.t1: Nimbus Sans:style=Regular
/usr/share/fonts/msttcore/calibrii.ttf: Calibri:style=Italic
/usr/share/fonts/msttcore/courbd.ttf: Courier New:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia
/usr/share/fonts/urw-base35/P052-Bold.otf: P052:style=Bold
/usr/share/fonts/urw-base35/NimbusSans-BoldItalic.t1: Nimbus Sans:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusSansNarrow-Bold.otf: Nimbus Sans Narrow:style=Bold
/usr/share/fonts/google-droid/DroidSansHebrew-Bold.ttf: Droid Sans:style=Bold
/usr/share/X11/fonts/Type1/c0648bt_.pfb: Bitstream Charter:style=Regular
/usr/share/fonts/msttcore/constanz.ttf: Constantia:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusMonoPS-BoldItalic.otf: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/urw-base35/URWGothic-BookOblique.otf: URW Gothic:style=Book Oblique
/usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf: Cantarell:style=Regular
/usr/share/fonts/msttcore/cambriab.ttf: Cambria:style=Bold
/usr/share/fonts/msttcore/verdanab.ttf: Verdana:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia
/usr/share/fonts/msttcore/corbelb.ttf: Corbel:style=Bold
/usr/share/fonts/urw-base35/NimbusMonoPS-Italic.t1: Nimbus Mono PS:style=Italic
/usr/share/fonts/urw-base35/URWBookman-Light.t1: URW Bookman:style=Light
/usr/share/fonts/google-droid/DroidSansThai.ttf: Droid Sans:style=Regular
/usr/share/fonts/urw-base35/NimbusMonoPS-Regular.t1: Nimbus Mono PS:style=Regular
/usr/share/fonts/urw-base35/NimbusSans-BoldItalic.otf: Nimbus Sans:style=Bold Italic
/usr/share/fonts/urw-base35/URWGothic-Book.otf: URW Gothic:style=Book
/usr/share/fonts/msttcore/constani.ttf: Constantia:style=Italic
/usr/share/fonts/urw-base35/NimbusRoman-Regular.t1: Nimbus Roman:style=Regular
/usr/share/fonts/urw-base35/URWBookman-Demi.otf: URW Bookman:style=Demi
/usr/share/fonts/urw-base35/NimbusSansNarrow-Oblique.t1: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/google-droid/DroidSans-Bold.ttf: Droid Sans:style=Bold
/usr/share/fonts/google-droid/DroidSansGeorgian.ttf: Droid Sans:style=Regular
/usr/share/fonts/msttcore/candarai.ttf: Candara:style=Italic
/usr/share/fonts/urw-base35/URWGothic-Demi.otf: URW Gothic:style=Demi
/usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/urw-base35/NimbusSans-Regular.otf: Nimbus Sans:style=Regular
/usr/share/fonts/urw-base35/NimbusRoman-BoldItalic.t1: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-base35/P052-Italic.otf: P052:style=Italic
/usr/share/fonts/abattis-cantarell/Cantarell-Oblique.otf: Cantarell:style=Oblique
/usr/share/fonts/msttcore/andalemo.ttf: Andale Mono:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/msttcore/georgiab.ttf: Georgia:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia
/usr/share/fonts/google-droid/DroidSansJapanese.ttf: Droid Sans:style=Regular
/usr/share/fonts/msttcore/consolaz.ttf: Consolas:style=Bold Italic
/usr/share/fonts/msttcore/trebucbd.ttf: Trebuchet MS:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,Lodia
/usr/share/fonts/msttcore/webdings.ttf: Webdings:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/msttcore/constan.ttf: Constantia:style=Regular
/usr/share/fonts/urw-base35/NimbusSansNarrow-Regular.otf: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/msttcore/calibriz.ttf: Calibri:style=Bold Italic
/usr/share/fonts/msttcore/calibrib.ttf: Calibri:style=Bold
/usr/share/X11/fonts/Type1/cursor.pfa: Cursor:style=Regular
/usr/share/X11/fonts/Type1/UTB_____.pfa: Utopia:style=Bold
/usr/share/fonts/abattis-cantarell/Cantarell-BoldOblique.otf: Cantarell:style=BoldOblique
/usr/share/fonts/urw-base35/C059-Bold.otf: C059:style=Bold
/usr/share/fonts/msttcore/ariali.ttf: Arial:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana
/usr/share/fonts/msttcore/arialbd.ttf: Arial:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia
/usr/share/fonts/google-droid/DroidSans.ttf: Droid Sans:style=Regular
/usr/share/X11/fonts/Type1/c0583bt_.pfb: Courier 10 Pitch:style=Bold
/usr/share/fonts/msttcore/cambriaz.ttf: Cambria:style=Bold Italic
/usr/share/fonts/urw-base35/P052-BoldItalic.otf: P052:style=Bold Italic
/usr/share/fonts/msttcore/georgiai.ttf: Georgia:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana
/usr/share/fonts/urw-base35/URWGothic-Book.t1: URW Gothic:style=Book
/usr/share/fonts/msttcore/arialbi.ttf: Arial:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,nghiêng đậm,Lodi etzana
/usr/share/fonts/urw-base35/URWBookman-Demi.t1: URW Bookman:style=Demi
/usr/share/fonts/msttcore/times.ttf: Times New Roman:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta
/usr/share/fonts/urw-base35/URWBookman-Light.otf: URW Bookman:style=Light
/usr/share/fonts/msttcore/trebucit.ttf: Trebuchet MS:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,Etzana
/usr/share/fonts/msttcore/candara.ttf: Candara:style=Regular
/usr/share/X11/fonts/Type1/UTI_____.pfa: Utopia:style=Italic
/usr/share/fonts/urw-base35/URWBookman-DemiItalic.otf: URW Bookman:style=Demi Italic
/usr/share/fonts/google-droid/DroidSansTamil-Bold.ttf: Droid Sans:style=Bold
/usr/share/fonts/urw-base35/P052-BoldItalic.t1: P052:style=Bold Italic
/usr/share/fonts/msttcore/verdanaz.ttf: Verdana:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana
/usr/share/fonts/urw-base35/C059-Bold.t1: C059:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-Bold.t1: Nimbus Roman:style=Bold
/usr/share/fonts/msttcore/verdana.ttf: Verdana:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/msttcore/trebucbi.ttf: Trebuchet MS:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,Lodi etzana
/usr/share/X11/fonts/Type1/c0582bt_.pfb: Courier 10 Pitch:style=Italic
/usr/share/fonts/msttcore/cambriai.ttf: Cambria:style=Italic
/usr/share/fonts/urw-base35/NimbusMonoPS-BoldItalic.t1: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/urw-base35/P052-Bold.t1: P052:style=Bold
/usr/share/fonts/urw-base35/NimbusMonoPS-Regular.otf: Nimbus Mono PS:style=Regular
/usr/share/fonts/urw-base35/URWGothic-BookOblique.t1: URW Gothic:style=Book Oblique
/usr/share/fonts/urw-base35/URWBookman-LightItalic.t1: URW Bookman:style=Light Italic
/usr/share/fonts/urw-base35/NimbusRoman-Regular.otf: Nimbus Roman:style=Regular
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.t1: Nimbus Mono PS:style=Bold
/usr/share/X11/fonts/Type1/c0633bt_.pfb: Bitstream Charter:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusSans-Italic.t1: Nimbus Sans:style=Italic
/usr/share/X11/fonts/Type1/c0649bt_.pfb: Bitstream Charter:style=Italic
/usr/share/fonts/msttcore/couri.ttf: Courier New:style=Italic,Cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana
/usr/share/fonts/google-droid/DroidSansArmenian.ttf: Droid Sans:style=Regular
/usr/share/fonts/msttcore/candarab.ttf: Candara:style=Bold
/usr/share/fonts/msttcore/consolai.ttf: Consolas:style=Italic
/usr/share/X11/fonts/Type1/c0632bt_.pfb: Bitstream Charter:style=Bold
/usr/share/fonts/urw-base35/Z003-MediumItalic.t1: Z003:style=Medium Italic
/usr/share/fonts/urw-base35/C059-Italic.t1: C059:style=Italic
/usr/share/fonts/urw-base35/URWGothic-DemiOblique.t1: URW Gothic:style=Demi Oblique
/usr/share/fonts/msttcore/trebuc.ttf: Trebuchet MS:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,Arrunta
/usr/share/fonts/urw-base35/P052-Roman.t1: P052:style=Roman
/usr/share/fonts/google-droid/DroidSansDevanagari-Regular.ttf: Droid Sans:style=Regular
/usr/share/X11/fonts/Type1/UTRG____.pfa: Utopia:style=Regular
/usr/share/fonts/urw-base35/NimbusSansNarrow-Bold.t1: Nimbus Sans Narrow:style=Bold

And we tried a .docx to .pdf conversion again, but still its getting stuck with this log:
2026-01-07 08:07:37.120 INFO 448381 — [cTaskExecutor-1] o.m.c.a.util.AttachmentExportUtil : convertToPdfIfRequired :: Converting /C:/Users/suchitra.pv/attachments/AC_1767773256191/1_Service Request KDB.docx to PDF at C:/Users/suchitra.pv/attachments/AC_1767773256191/1_converted.pdf

The document I tried for conversion contained text in Arial font.

Could you please take look into these fonts and can we know if its enough?

Hello @suchithrapv ,

Yes, all fonts are installed correctly.

Does the hang you are describing occur with all documents you are trying to convert, or only with the specific file 1_Service Request KDB.docx?

Also, after installing the fonts, which version of our library are you using? Have you tried our latest version 25.12?

Hi @evgen.efimov

No, when we try conversion with any file, it gets hang and yes with installed fonts we’re using 25.12 version of groupdocs.

@suchithrapv ,

If you confirm that the hang occurs when converting all types of documents, then it can be safely assumed that this is not an issue with the library itself. Most likely, it is related to the environment or file paths.

I noticed in your logs that you are trying to convert a file using the following path:
/C:/Users/suchitra.pv/attachments/AC_1767773256191/1_Service Request KDB.docx

Please try adding a check in your code before starting the conversion to ensure that the path actually exists inside the container:

Path p = Paths.get(inputPath);
if (!Files.exists(p)) {
    throw new IllegalStateException("Input file does not exist: " + p);
}

Additionally, to verify that GroupDocs.Conversion can perform conversions without hanging, please try running our GitHub demo examples on a Linux system. If the hang does not reproduce there, it would indicate that the issue is not related to the conversion process itself.

Hi,

After our last conversation, we tried running a sample Java program of docx to pdf conversion in our Dev Environment with below spec:
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.9 (Maipo)”
ID=“rhel”
ID_LIKE=“fedora”
VARIANT=“Server”
VARIANT_ID=“server”
VERSION_ID=“7.9”
PRETTY_NAME=“Red Hat Enterprise Linux”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:redhat:enterprise_linux:7.9:GA:server”
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT=“Red Hat Enterprise Linux 7”
REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
REDHAT_SUPPORT_PRODUCT=“Red Hat Enterprise Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“7.9”

and the conversion got successful, and we deployed our application too in Dev, there too the conversion got successful.

We deployed the same to QA environment with below spec:
NAME=“Red Hat Enterprise Linux Server”
VERSION=“7.9 (Maipo)”
ID=“rhel”
ID_LIKE=“fedora”
VARIANT=“Server”
VARIANT_ID=“server”
VERSION_ID=“7.9”
PRETTY_NAME=“Red Hat Enterprise Linux”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:redhat:enterprise_linux:7.9:GA:server”
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT=“Red Hat Enterprise Linux 7”
REDHAT_BUGZILLA_PRODUCT_VERSION=7.9
REDHAT_SUPPORT_PRODUCT=“Red Hat Enterprise Linux”
REDHAT_SUPPORT_PRODUCT_VERSION=“7.9”

but, here we got that conversion stuck issue with a basic .docx file (attached)
Document (1).docx (11.3 KB)

to .pdf conversion, and while checking the fonts in QA, we got the below data:
/usr/share/fonts/urw-base35/NimbusMonoPS-Italic.otf: Nimbus Mono PS:style=Italic
/usr/share/fonts/urw-base35/D050000L.t1: D050000L:style=Regular
/usr/share/fonts/urw-base35/NimbusSansNarrow-Regular.t1: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/urw-base35/NimbusSansNarrow-BoldOblique.t1: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.otf: Nimbus Mono PS:style=Bold
/usr/share/fonts/urw-base35/P052-Roman.otf: P052:style=Roman
/usr/share/fonts/urw-base35/P052-Italic.t1: P052:style=Italic
/usr/share/fonts/stix/STIX-Regular.otf: STIX:style=Regular
/usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/fonts/dejavu/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
/usr/share/fonts/urw-base35/C059-BdIta.otf: C059:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSansCondensed-Bold.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold
/usr/share/fonts/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/urw-base35/StandardSymbolsPS.t1: Standard Symbols PS:style=Regular
/usr/share/fonts/urw-base35/URWBookman-DemiItalic.t1: URW Bookman:style=Demi Italic
/usr/share/X11/fonts/Type1/c0611bt_.pfb: Courier 10 Pitch:style=Bold Italic
/usr/share/fonts/urw-base35/C059-Roman.t1: C059:style=Roman
/usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-Italic.t1: Nimbus Roman:style=Italic
/usr/share/fonts/urw-base35/C059-BdIta.t1: C059:style=Bold Italic
/usr/share/fonts/urw-base35/URWBookman-LightItalic.otf: URW Bookman:style=Light Italic
/usr/share/fonts/urw-base35/URWGothic-DemiOblique.otf: URW Gothic:style=Demi Oblique
/usr/share/X11/fonts/Type1/UTBI____.pfa: Utopia:style=Bold Italic
/usr/share/fonts/default/ghostscript/putbi.pfa: Utopia:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusSansNarrow-BoldOblique.otf: Nimbus Sans Narrow:style=Bold Oblique
/usr/share/fonts/urw-base35/NimbusSans-Bold.otf: Nimbus Sans:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-Bold.otf: Nimbus Roman:style=Bold
/usr/share/fonts/urw-base35/D050000L.otf: D050000L:style=Regular
/usr/share/fonts/default/ghostscript/putri.pfa: Utopia:style=Italic
/usr/share/X11/fonts/Type1/c0419bt_.pfb: Courier 10 Pitch:style=Regular
/usr/share/fonts/dejavu/DejaVuSans.ttf: DejaVu Sans:style=Book
/usr/share/fonts/urw-base35/Z003-MediumItalic.otf: Z003:style=Medium Italic
/usr/share/fonts/stix/STIX-Italic.otf: STIX:style=Italic
/usr/share/fonts/urw-base35/NimbusSans-Italic.otf: Nimbus Sans:style=Italic
/usr/share/fonts/urw-base35/NimbusSans-Bold.t1: Nimbus Sans:style=Bold
/usr/share/fonts/urw-base35/URWGothic-Demi.t1: URW Gothic:style=Demi
/usr/share/fonts/stix/STIX-Bold.otf: STIX:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-BoldItalic.otf: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusRoman-Italic.otf: Nimbus Roman:style=Italic
/usr/share/fonts/urw-base35/C059-Roman.otf: C059:style=Roman
/usr/share/fonts/urw-base35/C059-Italic.otf: C059:style=Italic
/usr/share/fonts/urw-base35/NimbusSansNarrow-Oblique.otf: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/urw-base35/NimbusSans-Regular.t1: Nimbus Sans:style=Regular
/usr/share/fonts/urw-base35/P052-Bold.otf: P052:style=Bold
/usr/share/fonts/urw-base35/NimbusSans-BoldItalic.t1: Nimbus Sans:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusSansNarrow-Bold.otf: Nimbus Sans Narrow:style=Bold
/usr/share/X11/fonts/Type1/c0648bt_.pfb: Bitstream Charter:style=Regular
/usr/share/fonts/urw-base35/NimbusMonoPS-BoldItalic.otf: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/urw-base35/URWGothic-BookOblique.otf: URW Gothic:style=Book Oblique
/usr/share/fonts/urw-base35/NimbusMonoPS-Italic.t1: Nimbus Mono PS:style=Italic
/usr/share/fonts/urw-base35/URWBookman-Light.t1: URW Bookman:style=Light
/usr/share/fonts/urw-base35/NimbusMonoPS-Regular.t1: Nimbus Mono PS:style=Regular
/usr/share/fonts/urw-base35/NimbusSans-BoldItalic.otf: Nimbus Sans:style=Bold Italic
/usr/share/fonts/urw-base35/URWGothic-Book.otf: URW Gothic:style=Book
/usr/share/fonts/urw-base35/NimbusRoman-Regular.t1: Nimbus Roman:style=Regular
/usr/share/fonts/urw-base35/URWBookman-Demi.otf: URW Bookman:style=Demi
/usr/share/fonts/urw-base35/NimbusSansNarrow-Oblique.t1: Nimbus Sans Narrow:style=Oblique
/usr/share/fonts/stix/STIX-BoldItalic.otf: STIX:style=Bold Italic
/usr/share/fonts/urw-base35/URWGothic-Demi.otf: URW Gothic:style=Demi
/usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/urw-base35/NimbusSans-Regular.otf: Nimbus Sans:style=Regular
/usr/share/fonts/urw-base35/NimbusRoman-BoldItalic.t1: Nimbus Roman:style=Bold Italic
/usr/share/fonts/urw-base35/P052-Italic.otf: P052:style=Italic
/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/urw-base35/NimbusSansNarrow-Regular.otf: Nimbus Sans Narrow:style=Regular
/usr/share/fonts/default/ghostscript/putb.pfa: Utopia:style=Bold
/usr/share/X11/fonts/Type1/cursor.pfa: Cursor:style=Regular
/usr/share/X11/fonts/Type1/UTB_____.pfa: Utopia:style=Bold
/usr/share/fonts/urw-base35/C059-Bold.otf: C059:style=Bold
/usr/share/X11/fonts/Type1/c0583bt_.pfb: Courier 10 Pitch:style=Bold
/usr/share/fonts/urw-base35/P052-BoldItalic.otf: P052:style=Bold Italic
/usr/share/fonts/urw-base35/URWGothic-Book.t1: URW Gothic:style=Book
/usr/share/fonts/urw-base35/URWBookman-Demi.t1: URW Bookman:style=Demi
/usr/share/fonts/default/ghostscript/putr.pfa: Utopia:style=Regular
/usr/share/fonts/urw-base35/URWBookman-Light.otf: URW Bookman:style=Light
/usr/share/X11/fonts/Type1/UTI_____.pfa: Utopia:style=Italic
/usr/share/fonts/urw-base35/URWBookman-DemiItalic.otf: URW Bookman:style=Demi Italic
/usr/share/fonts/urw-base35/P052-BoldItalic.t1: P052:style=Bold Italic
/usr/share/fonts/urw-base35/C059-Bold.t1: C059:style=Bold
/usr/share/fonts/urw-base35/NimbusRoman-Bold.t1: Nimbus Roman:style=Bold
/usr/share/X11/fonts/Type1/c0582bt_.pfb: Courier 10 Pitch:style=Italic
/usr/share/fonts/urw-base35/NimbusMonoPS-BoldItalic.t1: Nimbus Mono PS:style=Bold Italic
/usr/share/fonts/dejavu/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book
/usr/share/fonts/urw-base35/P052-Bold.t1: P052:style=Bold
/usr/share/fonts/dejavu/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans Light:style=ExtraLight
/usr/share/fonts/urw-base35/NimbusMonoPS-Regular.otf: Nimbus Mono PS:style=Regular
/usr/share/fonts/urw-base35/URWGothic-BookOblique.t1: URW Gothic:style=Book Oblique
/usr/share/fonts/urw-base35/URWBookman-LightItalic.t1: URW Bookman:style=Light Italic
/usr/share/fonts/urw-base35/NimbusRoman-Regular.otf: Nimbus Roman:style=Regular
/usr/share/fonts/dejavu/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.t1: Nimbus Mono PS:style=Bold
/usr/share/X11/fonts/Type1/c0633bt_.pfb: Bitstream Charter:style=Bold Italic
/usr/share/fonts/urw-base35/NimbusSans-Italic.t1: Nimbus Sans:style=Italic
/usr/share/X11/fonts/Type1/c0649bt_.pfb: Bitstream Charter:style=Italic
/usr/share/fonts/dejavu/DejaVuSans-Oblique.ttf: DejaVu Sans:style=Oblique
/usr/share/X11/fonts/Type1/c0632bt_.pfb: Bitstream Charter:style=Bold
/usr/share/fonts/urw-base35/Z003-MediumItalic.t1: Z003:style=Medium Italic
/usr/share/fonts/urw-base35/C059-Italic.t1: C059:style=Italic
/usr/share/fonts/urw-base35/URWGothic-DemiOblique.t1: URW Gothic:style=Demi Oblique
/usr/share/fonts/urw-base35/P052-Roman.t1: P052:style=Roman
/usr/share/fonts/dejavu/DejaVuSans-BoldOblique.ttf: DejaVu Sans:style=Bold Oblique
/usr/share/X11/fonts/Type1/UTRG____.pfa: Utopia:style=Regular
/usr/share/fonts/urw-base35/NimbusSansNarrow-Bold.t1: Nimbus Sans Narrow:style=Bold

but, here earlier when we checked, we were not having /usr/share/X11/fonts/, which was existing in Dev, and we tried installing the same to QA, but still the issue exists.

Can we have a check on this issue asap, as we’re nearing to our release and we’re getting this issue in multiple envs.

Hello @suchithrapv ,

If I understood correctly, when you run your application in two development environments, the conversion works without issues, and the hanging occurs only when the application is deployed to the QA environment.

From the environment specifications you provided, both Dev and QA appear to be identical. However, could you please confirm whether the Java version and heap space settings in the Dev environment are exactly the same as in the QA environment?

Also, in the list of fonts you shared, I did not see the Microsoft fonts directory (/usr/share/fonts/msttcore/...), which was present in your previous response.

Please double-check on the QA environment whether fontconfig can detect Microsoft fonts by running the following commands:

fc-match "Arial"
fc-match "Times New Roman"
fc-match "Calibri"

I’ll be waiting for your feedback.