[ https://issues.apache.org/jira/browse/FOP-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540181#comment-17540181 ]
J Frank commented on FOP-3068: ------------------------------ I tried downloading the font,disabled the cache and tried running fop still not able to reproduce; I am using JDK 11.0.5. Would you please confirm the java version? Suggestion: is to disable cache and run fop and if still doesn't work , can you please re-download font package and then execute fop to generate PDF > NPE in FontInfoFinder for .ttc fonts > ------------------------------------- > > Key: FOP-3068 > URL: https://issues.apache.org/jira/browse/FOP-3068 > Project: FOP > Issue Type: Bug > Components: font/opentype > Affects Versions: 2.7 > Reporter: Stephan Wienczny > Priority: Critical > Attachments: conf.xml > > > When running FontInfoFinder::find on NotoSansCJK-Regular.ttc or > NotoSerifCJK-Regular.ttc this causes an NPE in line 219 > {code:java} > for (String fontName : ttcNames) { {code} > because ttcNames is null. > TTFFile::getTTCnames may return null for invalid files. This case should be > handled in FontInfoFinder. -- This message was sent by Atlassian Jira (v8.20.7#820007)