NullPointerException is Thrown when Using addClone Method in Java

1. I copied the “C:\Windows\Fonts” folder somewhere else, and then tried to load it with

String [] dirs = {"D:\\Users\\KR45743\\Desktop\\myfonts"};
FontsLoader.loadExternalFonts(dirs);

I get the following exception:

Aspose slides version is: 21.8
Exception in thread “main” class com.aspose.slides.exceptions.ArgumentException: The specified path is empty
com.aspose.slides.internal.fx.catch.for(Unknown Source)
com.aspose.slides.internal.of.throws.int(Unknown Source)
com.aspose.slides.FontsLoader.do(Unknown Source)
com.aspose.slides.FontsLoader.loadExternalFonts(Unknown Source)
com.mycompany.app.AsposeDebugging.main(AsposeDebugging.java:763)
at com.aspose.slides.internal.fx.catch.for(Unknown Source)
at com.aspose.slides.internal.of.throws.int(Unknown Source)
at com.aspose.slides.FontsLoader.do(Unknown Source)
at com.aspose.slides.FontsLoader.loadExternalFonts(Unknown Source)
at com.mycompany.app.AsposeDebugging.main(AsposeDebugging.java:763)

I tried several names for the folder and I moved it to several locations, but the result is always the same.

2. I tried the code, and I get no errors. The output is quoted here below.

Aspose slides version is: 21.8
AdobeDevanagari-Bold
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Resource\Font\AdobeDevanagari-Bold.otf
AdobeDevanagari-BoldItalic
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Resource\Font\AdobeDevanagari-BoldItalic.otf
AdobeDevanagari-Italic
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Resource\Font\AdobeDevanagari-Italic.otf
AdobeDevanagari-Regular
C:\Program Files (x86)\Adobe\Acrobat Reader DC\Resource\Font\AdobeDevanagari-Regular.otf
AdobeMingStd-Light
C:\Program Files\CA\ERwin Data Modeler r9\Report\resource\cmap\AdobeMingStd-Light.otf
AdobeMyungjoStd-Medium
C:\Program Files\CA\ERwin Data Modeler r9\Report\resource\cmap\AdobeMyungjoStd-Medium.otf
AdobeSongStd-Light
C:\Program Files\CA\ERwin Data Modeler r9\Report\resource\cmap\AdobeSongStd-Light.otf
Agency FB
C:\windows\Fonts\AGENCYR.TTF
Agency FB Bold
C:\windows\Fonts\AGENCYB.TTF
Aharoni Bold
C:\windows\Fonts\ahronbd.ttf
Algerian
C:\windows\Fonts\ALGER.TTF
Andalus
C:\windows\Fonts\andlso.ttf
Angsana New
C:\windows\Fonts\angsa.ttf
Angsana New Bold
C:\windows\Fonts\angsab.ttf
Angsana New Bold Italic
C:\windows\Fonts\angsaz.ttf
Angsana New Italic
C:\windows\Fonts\angsai.ttf
AngsanaUPC
C:\windows\Fonts\angsau.ttf
AngsanaUPC Bold
C:\windows\Fonts\angsaub.ttf
AngsanaUPC Bold Italic
C:\windows\Fonts\angsauz.ttf
AngsanaUPC Italic
C:\windows\Fonts\angsaui.ttf
Aparajita
C:\windows\Fonts\aparaj.ttf
Aparajita Bold
C:\windows\Fonts\aparajb.ttf
Aparajita Bold Italic
C:\windows\Fonts\aparajbi.ttf
Aparajita Italic
C:\windows\Fonts\aparaji.ttf
Arabic Typesetting
C:\windows\Fonts\arabtype.ttf
Arial
C:\windows\Fonts\ARIAL.TTF
Arial Black
C:\windows\Fonts\ariblk.ttf
Arial Bold
C:\windows\Fonts\ARIALBD.TTF
Arial Bold Italic
C:\windows\Fonts\ARIALBI.TTF
Arial Italic
C:\windows\Fonts\ARIALI.TTF
Arial Narrow
C:\windows\Fonts\ARIALN.TTF
Arial Narrow Bold
C:\windows\Fonts\ARIALNB.TTF
Arial Narrow Bold Italic
C:\windows\Fonts\ARIALNBI.TTF
Arial Narrow Italic
C:\windows\Fonts\ARIALNI.TTF
Arial Rounded MT Bold
C:\windows\Fonts\ARLRDBD.TTF
Arial Unicode MS
C:\windows\Fonts\ARIALUNI.TTF
Arial monospaced for SAP
C:\windows\Fonts\arimon__.ttf
Arial monospaced for SAP Bold
C:\windows\Fonts\arimonbd.ttf
Baskerville Old Face
C:\windows\Fonts\BASKVILL.TTF
Batang
C:\windows\Fonts\batang.TTC
BatangChe
C:\windows\Fonts\batang.TTC
Bauhaus 93
C:\windows\Fonts\BAUHS93.TTF
Bell MT
C:\windows\Fonts\BELL.TTF
Bell MT Bold
C:\windows\Fonts\BELLB.TTF
Bell MT Italic
C:\windows\Fonts\BELLI.TTF
Berlin Sans FB
C:\windows\Fonts\BRLNSR.TTF
Berlin Sans FB Bold
C:\windows\Fonts\BRLNSB.TTF
Berlin Sans FB Demi Bold
C:\windows\Fonts\BRLNSDB.TTF
Bernard MT Condensed
C:\windows\Fonts\BERNHC.TTF
Blackadder ITC
C:\windows\Fonts\ITCBLKAD.TTF
Bodoni MT
C:\windows\Fonts\BOD_R.TTF
Bodoni MT Black
C:\windows\Fonts\BOD_BLAR.TTF
Bodoni MT Black Italic
C:\windows\Fonts\BOD_BLAI.TTF
Bodoni MT Bold
C:\windows\Fonts\BOD_B.TTF
Bodoni MT Bold Italic
C:\windows\Fonts\BOD_BI.TTF
Bodoni MT Condensed
C:\windows\Fonts\BOD_CR.TTF
Bodoni MT Condensed Bold
C:\windows\Fonts\BOD_CB.TTF
Bodoni MT Condensed Bold Italic
C:\windows\Fonts\BOD_CBI.TTF
Bodoni MT Condensed Italic
C:\windows\Fonts\BOD_CI.TTF
Bodoni MT Italic
C:\windows\Fonts\BOD_I.TTF
Bodoni MT Poster Compressed
C:\windows\Fonts\BOD_PSTC.TTF
Book Antiqua
C:\windows\Fonts\BKANT.TTF
Book Antiqua Bold
C:\windows\Fonts\ANTQUAB.TTF
Book Antiqua Bold Italic
C:\windows\Fonts\ANTQUABI.TTF
Book Antiqua Italic
C:\windows\Fonts\ANTQUAI.TTF
Bookman Old Style
C:\windows\Fonts\BOOKOS.TTF
Bookman Old Style Bold
C:\windows\Fonts\BOOKOSB.TTF
Bookman Old Style Bold Italic
C:\windows\Fonts\BOOKOSBI.TTF
Bookman Old Style Italic
C:\windows\Fonts\BOOKOSI.TTF
Bookshelf Symbol 7
C:\windows\Fonts\BSSYM7.TTF
Bradley Hand ITC
C:\windows\Fonts\BRADHITC.TTF
Britannic Bold
C:\windows\Fonts\BRITANIC.TTF
Broadway
C:\windows\Fonts\BROADW.TTF
Browallia New
C:\windows\Fonts\browa.ttf
Browallia New Bold
C:\windows\Fonts\browab.ttf
Browallia New Bold Italic
C:\windows\Fonts\browaz.ttf
Browallia New Italic
C:\windows\Fonts\browai.ttf
BrowalliaUPC
C:\windows\Fonts\browau.ttf
BrowalliaUPC Bold
C:\windows\Fonts\browaub.ttf
BrowalliaUPC Bold Italic
C:\windows\Fonts\browauz.ttf
BrowalliaUPC Italic
C:\windows\Fonts\browaui.ttf
Brush Script MT Italic
C:\windows\Fonts\BRUSHSCI.TTF
Calibri
C:\windows\Fonts\CALIBRI.TTF
Calibri Bold
C:\windows\Fonts\CALIBRIB.TTF
Calibri Bold Italic
C:\windows\Fonts\CALIBRIZ.TTF
Calibri Italic
C:\windows\Fonts\CALIBRII.TTF
Calibri Light
C:\windows\Fonts\CalibriL.ttf
Calibri Light Italic
C:\windows\Fonts\CalibriLI.ttf
Californian FB
C:\windows\Fonts\CALIFR.TTF
Californian FB Bold
C:\windows\Fonts\CALIFB.TTF
Californian FB Italic
C:\windows\Fonts\CALIFI.TTF
Calisto MT
C:\windows\Fonts\CALIST.TTF
Calisto MT Bold
C:\windows\Fonts\CALISTB.TTF
Calisto MT Bold Italic
C:\windows\Fonts\CALISTBI.TTF
Calisto MT Italic
C:\windows\Fonts\CALISTI.TTF
Cambria
C:\windows\Fonts\CAMBRIA.TTC
Cambria Bold
C:\windows\Fonts\CAMBRIAB.TTF
Cambria Bold Italic
C:\windows\Fonts\CAMBRIAZ.TTF
Cambria Italic
C:\windows\Fonts\CAMBRIAI.TTF
Cambria Math
C:\windows\Fonts\CAMBRIA.TTC
Candara
C:\windows\Fonts\CANDARA.TTF
Candara Bold
C:\windows\Fonts\CANDARAB.TTF
Candara Bold Italic
C:\windows\Fonts\CANDARAZ.TTF
Candara Italic
C:\windows\Fonts\CANDARAI.TTF
Castellar
C:\windows\Fonts\CASTELAR.TTF
Centaur
C:\windows\Fonts\CENTAUR.TTF
Centennial 75 Bold
C:\windows\Fonts\Cib_l__.TTF
Centennial 45 Light
C:\windows\Fonts\Cil_____.TTF
Centennial 55 Roman
C:\windows\Fonts\Cir_____.TTF
Centennial 75 Bold
C:\windows\Fonts\Cib_m__.ttf
Centennial 75 Bold
C:\windows\Fonts\Cib_____.TTF
Century
C:\windows\Fonts\CENTURY.TTF
Century Gothic
C:\windows\Fonts\GOTHIC.TTF
Century Gothic Bold
C:\windows\Fonts\GOTHICB.TTF
Century Gothic Bold Italic
C:\windows\Fonts\GOTHICBI.TTF
Century Gothic Italic
C:\windows\Fonts\GOTHICI.TTF
Century Schoolbook
C:\windows\Fonts\CENSCBK.TTF
Century Schoolbook Bold
C:\windows\Fonts\SCHLBKB.TTF
Century Schoolbook Bold Italic
C:\windows\Fonts\SCHLBKBI.TTF
Century Schoolbook Italic
C:\windows\Fonts\SCHLBKI.TTF
Chiller
C:\windows\Fonts\CHILLER.TTF
Code 128
C:\windows\Fonts\code128.ttf
Colonna MT
C:\windows\Fonts\COLONNA.TTF
Comic Sans MS
C:\windows\Fonts\comic.ttf
Comic Sans MS Bold
C:\windows\Fonts\comicbd.ttf
Comic Sans MS Bold Italic
C:\windows\Fonts\comicz.ttf
Comic Sans MS Italic
C:\windows\Fonts\comici.ttf
Consolas
C:\windows\Fonts\CONSOLA.TTF
Consolas Bold
C:\windows\Fonts\CONSOLAB.TTF
Consolas Bold Italic
C:\windows\Fonts\CONSOLAZ.TTF
Consolas Italic
C:\windows\Fonts\CONSOLAI.TTF
Constantia
C:\windows\Fonts\CONSTAN.TTF
Constantia Bold
C:\windows\Fonts\CONSTANB.TTF
Constantia Bold Italic
C:\windows\Fonts\CONSTANZ.TTF
Constantia Italic
C:\windows\Fonts\CONSTANI.TTF
Cooper Black
C:\windows\Fonts\COOPBL.TTF
Copperplate Gothic Bold
C:\windows\Fonts\COPRGTB.TTF
Copperplate Gothic Light
C:\windows\Fonts\COPRGTL.TTF
Corbel
C:\windows\Fonts\CORBEL.TTF
Corbel Bold
C:\windows\Fonts\CORBELB.TTF
Corbel Bold Italic
C:\windows\Fonts\CORBELZ.TTF
Corbel Italic
C:\windows\Fonts\CORBELI.TTF
Cordia New
C:\windows\Fonts\cordia.ttf
Cordia New Bold
C:\windows\Fonts\cordiab.ttf
Cordia New Bold Italic
C:\windows\Fonts\cordiaz.ttf
Cordia New Italic
C:\windows\Fonts\cordiai.ttf
CordiaUPC
C:\windows\Fonts\CORDIAU.TTF
CordiaUPC Bold
C:\windows\Fonts\CORDIAUB.TTF
CordiaUPC Bold Italic
C:\windows\Fonts\CORDIAUZ.TTF
CordiaUPC Italic
C:\windows\Fonts\CORDIAUI.TTF
Courier New
C:\windows\Fonts\COUR.TTF
Courier New Bold
C:\windows\Fonts\COURBD.TTF
Courier New Bold Italic
C:\windows\Fonts\COURBI.TTF
Courier New Italic
C:\windows\Fonts\COURI.TTF
Curlz MT
C:\windows\Fonts\CURLZ___.TTF
DFKai-SB
C:\windows\Fonts\kaiu.ttf
DaunPenh
C:\windows\Fonts\daunpenh.ttf
David
C:\windows\Fonts\david.ttf
David Bold
C:\windows\Fonts\davidbd.ttf
Dax-Black
C:\windows\Fonts\DXBK____.ttf
Dax-Bold
C:\windows\Fonts\DXBD____.ttf
Dax-Light
C:\windows\Fonts\DXLt____.ttf
Dax-Medium
C:\windows\Fonts\DXMd____.ttf
Dax-Regular
C:\windows\Fonts\DxRg____.ttf
DejaVu Sans
C:\Program Files (x86)\Kofax\Power PDF 40\bin\Plug-Ins\SignDoc\DejaVuSans.ttf
DejaVu Serif
C:\Program Files (x86)\Kofax\Power PDF 40\bin\Plug-Ins\SignDoc\DejaVuSerif.ttf
Dialog.bold
Dialog.bolditalic
Dialog.italic
Dialog.plain
DialogInput.bold
DialogInput.bolditalic
DialogInput.italic
DialogInput.plain
DilleniaUPC
C:\windows\Fonts\upcdl.ttf
DilleniaUPC Bold
C:\windows\Fonts\upcdb.ttf
DilleniaUPC Bold Italic
C:\windows\Fonts\upcdbi.ttf
DilleniaUPC Italic
C:\windows\Fonts\upcdi.ttf
DokChampa
C:\windows\Fonts\dokchamp.ttf
Dotum
C:\windows\Fonts\gulim.TTC
DotumChe
C:\windows\Fonts\gulim.TTC
Ebrima
C:\windows\Fonts\ebrima.ttf
Ebrima Bold
C:\windows\Fonts\ebrimabd.ttf
Edwardian Script ITC
C:\windows\Fonts\ITCEDSCR.TTF
Elephant
C:\windows\Fonts\ELEPHNT.TTF
Elephant Italic
C:\windows\Fonts\ELEPHNTI.TTF
Endorsement UCG
C:\windows\Fonts\EndorsementUCG.ttf
Engravers MT
C:\windows\Fonts\ENGR.TTF
Eras Bold ITC
C:\windows\Fonts\ERASBD.TTF
Eras Demi ITC
C:\windows\Fonts\ERASDEMI.TTF
Eras Light ITC
C:\windows\Fonts\ERASLGHT.TTF
Eras Medium ITC
C:\windows\Fonts\ERASMD.TTF
Estrangelo Edessa
C:\windows\Fonts\estre.ttf
EucrosiaUPC
C:\windows\Fonts\upcel.ttf
EucrosiaUPC Bold
C:\windows\Fonts\upceb.ttf
EucrosiaUPC Bold Italic
C:\windows\Fonts\upcebi.ttf
EucrosiaUPC Italic
C:\windows\Fonts\upcei.ttf
Euphemia
C:\windows\Fonts\euphemia.ttf
FangSong
C:\windows\Fonts\simfang.ttf
Felix Titling
C:\windows\Fonts\FELIXTI.TTF
FontAwesome
C:\ProgramData\Kofax\PDF\V1\MMSG\ENU\2\fonts\FontAwesome.otf
FontAwesome Regular
C:\ProgramData\Kofax\PDF\V1\MMSG\ENU\2\fonts\fontawesome-webfont.ttf
Footlight MT Light
C:\windows\Fonts\FTLTLT.TTF
Forte
C:\windows\Fonts\FORTE.TTF
FrankRuehl
C:\windows\Fonts\frank.ttf
Franklin Gothic Book
C:\windows\Fonts\FRABK.TTF
Franklin Gothic Book Italic
C:\windows\Fonts\FRABKIT.TTF
Franklin Gothic Demi
C:\windows\Fonts\FRADM.TTF
Franklin Gothic Demi Cond
C:\windows\Fonts\FRADMCN.TTF
Franklin Gothic Demi Italic
C:\windows\Fonts\FRADMIT.TTF
Franklin Gothic Heavy
C:\windows\Fonts\FRAHV.TTF
Franklin Gothic Heavy Italic
C:\windows\Fonts\FRAHVIT.TTF
Franklin Gothic Medium
C:\windows\Fonts\framd.ttf
Franklin Gothic Medium Cond
C:\windows\Fonts\FRAMDCN.TTF
Franklin Gothic Medium Italic
C:\windows\Fonts\framdit.ttf
FreesiaUPC
C:\windows\Fonts\upcfl.ttf
FreesiaUPC Bold
C:\windows\Fonts\upcfb.ttf
FreesiaUPC Bold Italic
C:\windows\Fonts\upcfbi.ttf
FreesiaUPC Italic
C:\windows\Fonts\upcfi.ttf
Freestyle Script
C:\windows\Fonts\FREESCPT.TTF
French Script MT
C:\windows\Fonts\FRSCRIPT.TTF
Frutiger 45 Light
C:\windows\Fonts\Ftl_____.ttf
Frutiger 55 Roman
C:\windows\Fonts\Ftr_____.ttf
Frutiger 57 Condensed
C:\windows\Fonts\ftc_____.ttf
Frutiger 65 Bold
C:\windows\Fonts\Ftb_l___.ttf
Frutiger 65 Bold
C:\windows\Fonts\Ftb_____.ttf
Frutiger 67 Bold Condensed
C:\windows\Fonts\LT_52127.TTF
Frutiger 75 Black
C:\windows\Fonts\Ftbl_l__.ttf
Frutiger 75 Black
C:\windows\Fonts\Ftbl____.ttf
Gabriola
C:\windows\Fonts\Gabriola.ttf
Gadugi
C:\windows\Fonts\GADUGI.TTF
Gadugi Bold
C:\windows\Fonts\GADUGIB.TTF
Garamond
C:\windows\Fonts\GARA.TTF
Garamond Bold
C:\windows\Fonts\GARABD.TTF
Garamond Italic
C:\windows\Fonts\GARAIT.TTF
Gautami
C:\windows\Fonts\gautami.ttf
Gautami Bold
C:\windows\Fonts\gautamib.ttf
Georgia
C:\windows\Fonts\georgia.ttf
Georgia Bold
C:\windows\Fonts\georgiab.ttf
Georgia Bold Italic
C:\windows\Fonts\georgiaz.ttf
Georgia Italic
C:\windows\Fonts\georgiai.ttf
Gigi
C:\windows\Fonts\GIGI.TTF
Gill Sans MT
C:\windows\Fonts\GIL_____.TTF
Gill Sans MT Bold
C:\windows\Fonts\GILB____.TTF
Gill Sans MT Bold Italic
C:\windows\Fonts\GILBI___.TTF
Gill Sans MT Condensed
C:\windows\Fonts\GILC____.TTF
Gill Sans MT Ext Condensed Bold
C:\windows\Fonts\GLSNECB.TTF
Gill Sans MT Italic
C:\windows\Fonts\GILI____.TTF
Gill Sans Ultra Bold
C:\windows\Fonts\GILSANUB.TTF
Gill Sans Ultra Bold Condensed
C:\windows\Fonts\GILLUBCD.TTF
Gisha
C:\windows\Fonts\gisha.ttf
Gisha Bold
C:\windows\Fonts\gishabd.ttf
Gloucester MT Extra Condensed
C:\windows\Fonts\GLECB.TTF
Goudy Old Style
C:\windows\Fonts\GOUDOSI.TTF
Goudy Old Style Bold
C:\windows\Fonts\GOUDOSB.TTF
Goudy Old Style Italic
C:\windows\Fonts\GOUDOSI.TTF
Goudy Stout
C:\windows\Fonts\GOUDYSTO.TTF
Gulim
C:\windows\Fonts\gulim.TTC
GulimChe
C:\windows\Fonts\gulim.TTC
Gungsuh
C:\windows\Fonts\batang.TTC
GungsuhChe
C:\windows\Fonts\batang.TTC
HVB IS
C:\windows\Fonts\hvb_is.ttf
HVBAkademie
C:\windows\Fonts\HVBAkad.ttf
HVBUCG
C:\windows\Fonts\HVBUCG.ttf
Haettenschweiler
C:\windows\Fonts\HATTEN.TTF
Harlow Solid Italic
C:\windows\Fonts\HARLOWSI.TTF
Harrington
C:\windows\Fonts\HARNGTON.TTF
Helvetica LT 45 Light
C:\windows\Fonts\lte50263.ttf
Helvetica LT 75 Bold
C:\windows\Fonts\LTe50261.ttf
Helvetica LT 97 Black Condensed
C:\windows\Fonts\LTe50928.ttf
High Tower Text
C:\windows\Fonts\HTOWERT.TTF
High Tower Text Italic
C:\windows\Fonts\HTOWERTI.TTF
Hplus
C:\windows\Fonts\HPLUS___.TTF
HplusZ
C:\windows\Fonts\HPLUSZ__.TTF
IMMOUCG
C:\windows\Fonts\IMMOUCG.ttf
Impact
C:\windows\Fonts\impact.ttf
Imprint MT Shadow
C:\windows\Fonts\IMPRISHA.TTF
Informal Roman
C:\windows\Fonts\INFROMAN.TTF
IrisUPC
C:\windows\Fonts\upcil.ttf
IrisUPC Bold
C:\windows\Fonts\upcib.ttf
IrisUPC Bold Italic
C:\windows\Fonts\upcibi.ttf
IrisUPC Italic
C:\windows\Fonts\upcii.ttf
Iskoola Pota
C:\windows\Fonts\iskpota.ttf
IskoolaPota-Bold
C:\windows\Fonts\iskpotab.ttf
JasmineUPC
C:\windows\Fonts\upcjl.ttf
JasmineUPC Bold
C:\windows\Fonts\upcjb.ttf
JasmineUPC Bold Italic
C:\windows\Fonts\upcjbi.ttf
JasmineUPC Italic
C:\windows\Fonts\upcji.ttf
Jokerman
C:\windows\Fonts\JOKERMAN.TTF
Juice ITC
C:\windows\Fonts\JUICE___.TTF
KaiTi
C:\windows\Fonts\simkai.ttf
Kalinga
C:\windows\Fonts\kalinga.ttf
Kalinga Bold
C:\windows\Fonts\kalingab.ttf
Kartika
C:\windows\Fonts\kartika.ttf
Kartika Bold
C:\windows\Fonts\kartikab.ttf
Khmer UI
C:\windows\Fonts\khmerui.ttf
Khmer UI Bold
C:\windows\Fonts\khmeruib.ttf
KodchiangUPC
C:\windows\Fonts\upckl.ttf
KodchiangUPC Bold
C:\windows\Fonts\upckb.ttf
KodchiangUPC Bold Italic
C:\windows\Fonts\upckbi.ttf
KodchiangUPC Italic
C:\windows\Fonts\upcki.ttf
Kokila
C:\windows\Fonts\kokila.ttf
Kokila Bold
C:\windows\Fonts\kokilab.ttf
Kokila Bold Italic
C:\windows\Fonts\kokilabi.ttf
Kokila Italic
C:\windows\Fonts\kokilai.ttf
KozGoPro-Medium
C:\Program Files\CA\ERwin Data Modeler r9\Report\resource\cmap\KozGoPro-Medium.otf
Kristen ITC
C:\windows\Fonts\ITCKRIST.TTF
Kunstler Script
C:\windows\Fonts\KUNSTLER.TTF
Lao UI
C:\windows\Fonts\Laoui.ttf
Lao UI Bold
C:\windows\Fonts\Laouib.ttf
Latha
C:\windows\Fonts\latha.ttf
Latha Bold
C:\windows\Fonts\lathab.ttf
Leelawadee
C:\windows\Fonts\LEELAWAD.TTF
Leelawadee Bold
C:\windows\Fonts\LEELAWDB.TTF
Levenim MT
C:\windows\Fonts\lvnm.ttf
Levenim MT Bold
C:\windows\Fonts\lvnmbd.ttf
LilyUPC
C:\windows\Fonts\upcll.ttf
LilyUPC Bold
C:\windows\Fonts\upclb.ttf
LilyUPC Bold Italic
C:\windows\Fonts\upclbi.ttf
LilyUPC Italic
C:\windows\Fonts\upcli.ttf
Logo C&M UCG
C:\windows\Fonts\LogCMUCG.ttf
Logo HVB CB UC
C:\windows\Fonts\LogoHVBCBUC.ttf
Logo HVB CB new
C:\windows\Fonts\LogoHVBCBnew.ttf
Logo HVB CIB UC
C:\windows\Fonts\LogoHVBCIBUC.ttf
Logo HVB Gebaeude new
C:\windows\Fonts\LogoHVBGebaeude.ttf
Logo HVB IS new
C:\windows\Fonts\LogoHVBISnew.ttf
Logo HVB Immo new
C:\windows\Fonts\LogoHVBImmonew.ttf
Logo HVB PB UC
C:\windows\Fonts\LogoHVBPBUC.ttf
Logo HVB PB new
C:\windows\Fonts\LogoHVBPBnew.ttf
Logo HVB UC
C:\windows\Fonts\LogoHVBUC.ttf
Logo HVB UCG new
C:\windows\Fonts\LogoHVBUCGnew.ttf
Logo HVB WM new
C:\windows\Fonts\LogoHVBWMnew.ttf
Logo MIB
C:\windows\Fonts\Logo_MIB.ttf
Logo UC CB new
C:\windows\Fonts\LogoUCCBnew.ttf
Logo UC CF new
C:\windows\Fonts\LogoUCCFnew.ttf
Logo UC CIB new
C:\windows\Fonts\LogoUCCIBnew.ttf
Logo UC DS new
C:\windows\Fonts\LogoUCDSnew.ttf
Logo UC FF new
C:\windows\Fonts\LogoUCFFnew.ttf
Logo UC MIB new
C:\windows\Fonts\LogoUCMIBnew.ttf
Logo UC PB new
C:\windows\Fonts\LogoUCPBnew.ttf
Logo UC new
C:\windows\Fonts\LogoUCnew.ttf
Logoplus
C:\windows\Fonts\LOGOPLUS.ttf
Lucida Bright
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaBrightRegular.ttf
Lucida Bright Demibold
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaBrightDemiBold.ttf
Lucida Bright Demibold Italic
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaBrightDemiItalic.ttf
Lucida Bright Italic
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaBrightItalic.ttf
Lucida Bright Regular
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaBrightRegular.ttf
Lucida Calligraphy Italic
C:\windows\Fonts\LCALLIG.TTF
Lucida Console
C:\windows\Fonts\lucon.TTF
Lucida Fax Demibold
C:\windows\Fonts\LFAXD.TTF
Lucida Fax Demibold Italic
C:\windows\Fonts\LFAXDI.TTF
Lucida Fax Italic
C:\windows\Fonts\LFAXI.TTF
Lucida Fax Regular
C:\windows\Fonts\LFAX.TTF
Lucida Handwriting Italic
C:\windows\Fonts\LHANDW.TTF
Lucida Sans Demibold
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaSansDemiBold.ttf
Lucida Sans Demibold Italic
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaSansDemiBold.ttf
Lucida Sans Demibold Roman
C:\windows\Fonts\LSANSD.TTF
Lucida Sans Italic
C:\windows\Fonts\LSANSI.TTF
Lucida Sans Regular
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaSansRegular.ttf
Lucida Sans Typewriter Bold
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaTypewriterBold.ttf
Lucida Sans Typewriter Bold Oblique
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaTypewriterBold.ttf
Lucida Sans Typewriter Oblique
C:\windows\Fonts\LTYPEO.TTF
Lucida Sans Typewriter Regular
D:\Users\KR45743\develop\programs\jdk1.8.0_271\jre\lib\fonts\LucidaTypewriterRegular.ttf
Lucida Sans Unicode
C:\windows\Fonts\l_10646.ttf
MS Gothic
C:\windows\Fonts\MSGOTHIC.TTC
MS Mincho
C:\windows\Fonts\MSMINCHO.TTC
MS Outlook
C:\windows\Fonts\OUTLOOK.TTF
MS PGothic
C:\windows\Fonts\MSGOTHIC.TTC
MS PMincho
C:\windows\Fonts\MSMINCHO.TTC
MS Reference Sans Serif
C:\windows\Fonts\REFSAN.TTF
MS Reference Specialty
C:\windows\Fonts\REFSPCL.TTF
MS UI Gothic
C:\windows\Fonts\MSGOTHIC.TTC
MT Extra
C:\windows\Fonts\MTEXTRA.TTF
MV Boli
C:\windows\Fonts\mvboli.ttf
Magneto Bold
C:\windows\Fonts\MAGNETOB.TTF
Maiandra GD
C:\windows\Fonts\MAIAN.TTF
Malgun Gothic
C:\windows\Fonts\malgun.ttf
Malgun Gothic Bold
C:\windows\Fonts\malgunbd.ttf
Mangal
C:\windows\Fonts\mangal.ttf
Mangal Bold
C:\windows\Fonts\mangalb.ttf
Marlett
C:\windows\Fonts\marlett.ttf
Matura MT Script Capitals
C:\windows\Fonts\MATURASC.TTF
Meiryo
C:\windows\Fonts\meiryo.ttc
Meiryo Bold
C:\windows\Fonts\meiryob.ttc
Meiryo Bold Italic
C:\windows\Fonts\meiryob.ttc
Meiryo Italic
C:\windows\Fonts\meiryo.ttc
Meiryo UI
C:\windows\Fonts\meiryo.ttc
Meiryo UI Bold
C:\windows\Fonts\meiryob.ttc
Meiryo UI Bold Italic
C:\windows\Fonts\meiryob.ttc
Meiryo UI Italic
C:\windows\Fonts\meiryo.ttc
MetricHPE-Black
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Black.ttf
MetricHPE-BlackItalic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-BlackItalic.ttf
MetricHPE-Bold
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Bold.ttf
MetricHPE-BoldItalic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-BoldItalic.ttf
MetricHPE-Italic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-RegularItalic.ttf
MetricHPE-Light
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Light.ttf
MetricHPE-LightItalic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-LightItalic.ttf
MetricHPE-Medium
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Medium.ttf
MetricHPE-MediumItalic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-MediumItalic.ttf
MetricHPE-Regular
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Regular.ttf
MetricHPE-Semibold
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Semibold.ttf
MetricHPE-SemiboldItalic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-SemiboldItalic.ttf
MetricHPE-Thin
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-Thin.ttf
MetricHPE-ThinItalic
C:\Program Files (x86)\HPE\Unified Functional Testing\dat\Fonts\MetricHPE_App\MetricHPE-App-ThinItalic.ttf
Microsoft Himalaya
C:\windows\Fonts\himalaya.ttf
Microsoft JhengHei
C:\windows\Fonts\msjh.ttf
Microsoft JhengHei Bold
C:\windows\Fonts\msjhbd.ttf
Microsoft JhengHei UI
C:\windows\Fonts\MSJH.TTC
Microsoft JhengHei UI Bold
C:\windows\Fonts\MSJHBD.TTC
Microsoft New Tai Lue
C:\windows\Fonts\ntailu.ttf
Microsoft New Tai Lue Bold
C:\windows\Fonts\ntailub.ttf
Microsoft PhagsPa
C:\windows\Fonts\phagspa.ttf
Microsoft PhagsPa Bold
C:\windows\Fonts\phagspab.ttf
Microsoft Sans Serif
C:\windows\Fonts\micross.ttf
Microsoft Tai Le
C:\windows\Fonts\taile.ttf
Microsoft Tai Le Bold
C:\windows\Fonts\taileb.ttf
Microsoft Uighur
C:\windows\Fonts\MSUIGHUR.TTF
Microsoft Uighur Bold
C:\windows\Fonts\MSUIGHUB.TTF
Microsoft YaHei
C:\windows\Fonts\msyh.ttf
Microsoft YaHei Bold
C:\windows\Fonts\msyhbd.ttf
Microsoft YaHei UI
C:\windows\Fonts\MSYH.TTC
Microsoft YaHei UI Bold
C:\windows\Fonts\MSYHBD.TTC
Microsoft Yi Baiti
C:\windows\Fonts\msyi.ttf
MingLiU
C:\windows\Fonts\MINGLIU.TTC
MingLiU-ExtB
C:\windows\Fonts\MINGLIUB.TTC
MingLiU_HKSCS
C:\windows\Fonts\MINGLIU.TTC
MingLiU_HKSCS-ExtB
C:\windows\Fonts\MINGLIUB.TTC
Miriam
C:\windows\Fonts\mriam.ttf
Miriam Fixed
C:\windows\Fonts\mriamc.ttf
Mistral
C:\windows\Fonts\MISTRAL.TTF
Modern No. 20
C:\windows\Fonts\MOD20.TTF
Mongolian Baiti
C:\windows\Fonts\monbaiti.ttf
Monospaced.bold
Monospaced.bolditalic
Monospaced.italic
Monospaced.plain
Monotype Corsiva
C:\windows\Fonts\MTCORSVA.TTF
MoolBoran
C:\windows\Fonts\moolbor.ttf
NSimSun
C:\windows\Fonts\SIMSUN.TTC
Narkisim
C:\windows\Fonts\nrkis.ttf
Niagara Engraved
C:\windows\Fonts\NIAGENG.TTF
Niagara Solid
C:\windows\Fonts\NIAGSOL.TTF
Nirmala UI
C:\windows\Fonts\NIRMALA.TTF
Nirmala UI Bold
C:\windows\Fonts\NIRMALAB.TTF
Nyala
C:\windows\Fonts\nyala.TTF
OCR A Extended
C:\windows\Fonts\OCRAEXT.TTF
Old English Text MT
C:\windows\Fonts\OLDENGL.TTF
Onyx
C:\windows\Fonts\ONYX.TTF
PMingLiU
C:\windows\Fonts\MINGLIU.TTC
PMingLiU-ExtB
C:\windows\Fonts\MINGLIUB.TTC
PT Sans
C:\windows\Fonts\PTS55F.ttf
PT Sans Bold
C:\windows\Fonts\PTS75F.ttf
PT Sans Bold Italic
C:\windows\Fonts\PTS76F.ttf
PT Sans Caption
C:\windows\Fonts\PTC55F.ttf
PT Sans Caption Bold
C:\windows\Fonts\PTC75F.ttf
PT Sans Italic
C:\windows\Fonts\PTS56F.ttf
PT Sans Narrow
C:\windows\Fonts\PTN57F.ttf
PT Sans Narrow Bold
C:\windows\Fonts\PTN77F.ttf
Palace Script MT
C:\windows\Fonts\PALSCRI.TTF
Palatino Linotype
C:\windows\Fonts\pala.ttf
Palatino Linotype Bold
C:\windows\Fonts\palab.ttf
Palatino Linotype Bold Italic
C:\windows\Fonts\palabi.ttf
Palatino Linotype Italic
C:\windows\Fonts\palai.ttf
Papyrus
C:\windows\Fonts\PAPYRUS.TTF
Parchment
C:\windows\Fonts\PARCHM.TTF
Perpetua
C:\windows\Fonts\PER_____.TTF
Perpetua Bold
C:\windows\Fonts\PERB____.TTF
Perpetua Bold Italic
C:\windows\Fonts\PERBI___.TTF
Perpetua Italic
C:\windows\Fonts\PERI____.TTF
Perpetua Titling MT Bold
C:\windows\Fonts\PERTIBD.TTF
Perpetua Titling MT Light
C:\windows\Fonts\PERTILI.TTF
Plantagenet Cherokee
C:\windows\Fonts\plantc.ttf
Playbill
C:\windows\Fonts\PLAYBILL.TTF
Poor Richard
C:\windows\Fonts\POORICH.TTF
Pristina
C:\windows\Fonts\PRISTINA.TTF
Raavi
C:\windows\Fonts\raavi.ttf
Raavi Bold
C:\windows\Fonts\raavib.ttf
Rage Italic
C:\windows\Fonts\RAGE.TTF
Ravie
C:\windows\Fonts\RAVIE.TTF
Rockwell
C:\windows\Fonts\ROCK.TTF
Rockwell Bold
C:\windows\Fonts\ROCKB.TTF
Rockwell Bold Italic
C:\windows\Fonts\ROCKBI.TTF
Rockwell Condensed
C:\windows\Fonts\ROCC____.TTF
Rockwell Condensed Bold
C:\windows\Fonts\ROCCB___.TTF
Rockwell Extra Bold
C:\windows\Fonts\ROCKEB.TTF
Rockwell Italic
C:\windows\Fonts\ROCKI.TTF
Rod
C:\windows\Fonts\rod.ttf
SAPDings Normal
C:\windows\Fonts\sapdn.ttf
SAPGUI-Belize-Icons
C:\windows\Fonts\SAPGUI-Belize-Icons.TTF
SAPGUI-Icons
C:\windows\Fonts\SAPGUI-icons.ttf
SAPIcons Normal
C:\windows\Fonts\sapin.ttf
Sakkal Majalla
C:\windows\Fonts\majalla.ttf
Sakkal Majalla Bold
C:\windows\Fonts\majallab.ttf
SansSerif.bold
SansSerif.bolditalic
SansSerif.italic
SansSerif.plain
Script MT Bold
C:\windows\Fonts\SCRIPTBL.TTF
Segoe Print
C:\windows\Fonts\segoepr.ttf
Segoe Print Bold
C:\windows\Fonts\segoeprb.ttf
Segoe Script
C:\windows\Fonts\segoesc.ttf
Segoe Script Bold
C:\windows\Fonts\segoescb.ttf
Segoe UI
C:\windows\Fonts\segoeui.ttf
Segoe UI Bold
C:\windows\Fonts\segoeuib.ttf
Segoe UI Bold Italic
C:\windows\Fonts\segoeuiz.ttf
Segoe UI Emoji
C:\windows\Fonts\SEGUIEMJ.TTF
Segoe UI Italic
C:\windows\Fonts\segoeuii.ttf
Segoe UI Light
C:\windows\Fonts\segoeuil.ttf
Segoe UI Semibold
C:\windows\Fonts\seguisb.ttf
Segoe UI Semilight
C:\windows\Fonts\SEGOEUISL.TTF
Segoe UI Symbol
C:\windows\Fonts\SEGUISYM.TTF
Serif.bold
Serif.bolditalic
Serif.italic
Serif.plain
Shonar Bangla
C:\windows\Fonts\Shonar.ttf
Shonar Bangla Bold
C:\windows\Fonts\Shonarb.ttf
Showcard Gothic
C:\windows\Fonts\SHOWG.TTF
Shruti
C:\windows\Fonts\shruti.ttf
Shruti Bold
C:\windows\Fonts\shrutib.ttf
SimHei
C:\windows\Fonts\simhei.ttf
SimSun
C:\windows\Fonts\SIMSUN.TTC
SimSun-ExtB
C:\windows\Fonts\SIMSUNB.TTF
Simplified Arabic
C:\windows\Fonts\simpo.ttf
Simplified Arabic Bold
C:\windows\Fonts\simpbdo.ttf
Simplified Arabic Fixed
C:\windows\Fonts\simpfxo.ttf
Snap ITC
C:\windows\Fonts\SNAP____.TTF
Stencil
C:\windows\Fonts\STENCIL.TTF
Sylfaen
C:\windows\Fonts\sylfaen.ttf
Symbol
C:\windows\Fonts\SYMBOL.TTF
Tahoma
C:\windows\Fonts\tahoma.ttf
Tahoma Bold
C:\windows\Fonts\tahomabd.ttf
Tempus Sans ITC
C:\windows\Fonts\TEMPSITC.TTF
Times New Roman
C:\windows\Fonts\TIMES.TTF
Times New Roman Bold
C:\windows\Fonts\TIMESBD.TTF
Times New Roman Bold Italic
C:\windows\Fonts\TIMESBI.TTF
Times New Roman Italic
C:\windows\Fonts\TIMESI.TTF
Traditional Arabic
C:\windows\Fonts\trado.ttf
Traditional Arabic Bold
C:\windows\Fonts\tradbdo.ttf
Trebuchet MS
C:\windows\Fonts\trebuc.ttf
Trebuchet MS Bold
C:\windows\Fonts\trebucbd.ttf
Trebuchet MS Bold Italic
C:\windows\Fonts\trebucbi.ttf
Trebuchet MS Italic
C:\windows\Fonts\trebucit.ttf
Tunga
C:\windows\Fonts\tunga.ttf
Tunga Bold
C:\windows\Fonts\tungab.ttf
Tw Cen MT
C:\windows\Fonts\TCM_____.TTF
Tw Cen MT Bold
C:\windows\Fonts\TCB_____.TTF
Tw Cen MT Bold Italic
C:\windows\Fonts\TCBI____.TTF
Tw Cen MT Condensed
C:\windows\Fonts\TCCM____.TTF
Tw Cen MT Condensed Bold
C:\windows\Fonts\TCCB____.TTF
Tw Cen MT Condensed Extra Bold
C:\windows\Fonts\TCCEB.TTF
Tw Cen MT Italic
C:\windows\Fonts\TCMI____.TTF
UniCredit
C:\windows\Fonts\UniCredit-Regular.ttf
UniCredit-Bold
C:\windows\Fonts\UniCredit-Bold.ttf
UniCredit-BoldItalic
C:\windows\Fonts\UniCredit-Bold Italic.ttf
UniCredit-Heavy
C:\windows\Fonts\UniCredit-Heavy.ttf
UniCredit-HeavyItalic
C:\windows\Fonts\UniCredit-Heavy Italic.ttf
UniCredit-Italic
C:\windows\Fonts\UniCredit-Italic.ttf
UniCredit-Light
C:\windows\Fonts\UniCredit-Light.ttf
UniCredit-LightItalic
C:\windows\Fonts\UniCredit-Light Italic.ttf
UniCredit-Medium
C:\windows\Fonts\UniCredit-Medium.ttf
UniCredit-MediumItalic
C:\windows\Fonts\UniCredit-Medium Italic.ttf
Untitled
C:\Program Files (x86)\Documentum\java\1.6.0_27\demo\plugin\jfc\Java2D\src\fonts\A.ttf
Utsaah
C:\windows\Fonts\utsaah.ttf
Utsaah Bold
C:\windows\Fonts\utsaahb.ttf
Utsaah Bold Italic
C:\windows\Fonts\utsaahbi.ttf
Utsaah Italic
C:\windows\Fonts\utsaahi.ttf
Vani
C:\windows\Fonts\Vani.ttf
Vani Bold
C:\windows\Fonts\Vanib.ttf
Verdana
C:\windows\Fonts\verdana.TTF
Verdana Bold
C:\windows\Fonts\verdanab.TTF
Verdana Bold Italic
C:\windows\Fonts\verdanaz.TTF
Verdana Italic
C:\windows\Fonts\verdanai.TTF
Vijaya
C:\windows\Fonts\vijaya.ttf
Vijaya Bold
C:\windows\Fonts\vijayab.ttf
Viner Hand ITC
C:\windows\Fonts\VINERITC.TTF
Vivaldi Italic
C:\windows\Fonts\VIVALDII.TTF
Vladimir Script
C:\windows\Fonts\VLADIMIR.TTF
Vrinda
C:\windows\Fonts\vrinda.ttf
Vrinda Bold
C:\windows\Fonts\vrindab.ttf
Webdings
C:\windows\Fonts\webdings.ttf
Wide Latin
C:\windows\Fonts\LATINWD.TTF
Wingdings
C:\windows\Fonts\WINGDING.TTF
Wingdings 2
C:\windows\Fonts\WINGDNG2.TTF
Wingdings 3
C:\windows\Fonts\WINGDNG3.TTF

@LorenzoL,
Thank you for the additional information. I passed it to our development team. I will inform you of any progress.

@LorenzoL,
“The specified path is empty” error is thrown in Aspose.Slides if a path to the font folder is empty. Please add a new folder to your project root folder (“fonts”, for example) and try to load fonts like this:

FontsLoader.loadExternalFonts(new String[] {"./fonts"});

If you get the same result, please share a simple standalone project with a code example reproducing the problem.

@Andrey_Potapov I can confirm that the path to the font folder is NOT empty.
This is a program which reproduces the behaviour:

package com.mycompany.app;

import com.aspose.slides.FontsLoader;
import java.io.File;

public class AsposeDebugging4 {

    public static void main(String[] args) {
        String version = com.aspose.slides.License.getVersion();
        System.out.println("Aspose slides version is: " + version);

        String myPath = "D:/Users/KR45743/Desktop/fonts";
        File folder = new File(myPath);
        File[] files = folder.listFiles();
        System.out.println("Number of files = " + files.length);
        FontsLoader.loadExternalFonts(new String[]{myPath});

        System.out.println("End of the program");
    }
}

The output it produces is:

Aspose slides version is: 21.8
Number of files = 714
Exception in thread "main" class com.aspose.slides.exceptions.ArgumentException: The specified path is empty
com.aspose.slides.internal.fx.catch.for(Unknown Source)
com.aspose.slides.internal.of.throws.int(Unknown Source)
com.aspose.slides.FontsLoader.do(Unknown Source)
com.aspose.slides.FontsLoader.loadExternalFonts(Unknown Source)
com.mycompany.app.AsposeDebugging4.main(AsposeDebugging4.java:16)
	at com.aspose.slides.internal.fx.catch.for(Unknown Source)
	at com.aspose.slides.internal.of.throws.int(Unknown Source)
	at com.aspose.slides.FontsLoader.do(Unknown Source)
	at com.aspose.slides.FontsLoader.loadExternalFonts(Unknown Source)
	at com.mycompany.app.AsposeDebugging4.main(AsposeDebugging4.java:16)

Process finished with exit code 1

@LorenzoL,
We are sure that the problem is specific to your app environment. Please check the relative path as shown above for investigating this case and share the results. This can clarify the access problem. If the issue persists, please share the simple standalone project.

I put the “fonts” directory inside the project and tried to load it with

FontsLoader.loadExternalFonts(new String[] {"./fonts"});

Nothing changes, I still get the same error “The specified path is empty”
You can find a mini project reproducing the problem here Dropbox - my-app.zip - Simplify your life

Because I am forbidden from copying fonts out of the system because of (idiotic) company rules, the ./fonts directory is empty. In any case, I get the error message “The specified path is empty” whether the directory is empty or not, so I don’t think the problem is with the font files themselves.
NB On my home system (Windows 10) the project runs flawlessly with this output:

Aspose slides version is: 21.8
Number of files = 0
End of the program

On my work system (the one I really care about) it raises com.aspose.slides.exceptions.ArgumentException as described in my previous messages.
If standard Java can access the folder without problems, why aspose can’t?

@LorenzoL,
Thank you for the project example. I was unable to reproduce the error. I passed the project to our development team to investigate further. I will inform you of any progress.

@LorenzoL,
Our development team has prepared a special build for you. This build contains an experimental fix to investigate the problem on your side. Please use it and share your results:

1 Like

@Andrey_Potapov Thanks a lot for the new library and sorry for the late reply.
Using it the Exceptions in my small test programs do go away, so that is a very good sign! Alas, the real (large) application still crashing during the production of the PowerPoint file. I’ll identify where the problem now is and I’ll report back.

@LorenzoL,
Thank you for your news. We will wait for the results.