Re: NPE while generating multi language pdf with FOP 1.1
No. But you are welcome to patch and build a local copy yourself. On Thu, Jul 23, 2015 at 1:39 PM, jeya venkatesh M m.jeyavenkat...@gmail.com wrote: Hello, We are migrating from FOP 1.0 to 1.1. I get NPE while generating a multi language PDF. It usually worked in 1.0. I verified that this is associated with issue FOP 2415 is fixed as part 2.0. As of now, we are not in position to upgrade to 2.0. Is there any option to get it fixed in patch? Below is the stack trace. Regards, Venkatesh - Jul 22, 2015 3:15:17 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern for lang=en. Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Microsoft JhengHei,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Microsoft JhengHei,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Microsoft JhengHei,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Gulim,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Gulim,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Gulim,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Shonar Bangla,normal,400 Exception running transformationjava.lang.NullPointerException at org.apache.fop.complexscripts.scripts.IndicScriptProcessor$Syllabizer.makeSyllabizer(IndicScriptProcessor.java:430) at org.apache.fop.complexscripts.scripts.IndicScriptProcessor$Syllabizer.getSyllabizer(IndicScriptProcessor.java:417) at org.apache.fop.complexscripts.scripts.IndicScriptProcessor.syllabize(IndicScriptProcessor.java:226) at org.apache.fop.complexscripts.scripts.IndicScriptProcessor.substitute(IndicScriptProcessor.java:186) at org.apache.fop.complexscripts.scripts.ScriptProcessor.substitute(ScriptProcessor.java:96) at org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.substitute(GlyphSubstitutionTable.java:102) at org.apache.fop.fonts.MultiByteFont.performSubstitution(MultiByteFont.java:412) at org.apache.fop.fonts.LazyFont.performSubstitution(LazyFont.java:414) at org.apache.fop.fonts.Font.performSubstitution(Font.java:410) at org.apache.fop.layoutmgr.inline.TextLayoutManager.processWordMapping(TextLayoutManager.java:1006) at org.apache.fop.layoutmgr.inline.TextLayoutManager.processWord(TextLayoutManager.java:1177) at org.apache.fop.layoutmgr.inline.TextLayoutManager.getNextKnuthElements(TextLayoutManager.java:910) at org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:329) at org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:689) at org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:622) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextChildElements(BlockStackingLayoutManager.java:497) at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:256) at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:186) at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:153) at
NPE while generating multi language pdf with FOP 1.1
Hello, We are migrating from FOP 1.0 to 1.1. I get NPE while generating a multi language PDF. It usually worked in 1.0. I verified that this is associated with issue FOP 2415 is fixed as part 2.0. As of now, we are not in position to upgrade to 2.0. Is there any option to get it fixed in patch? Below is the stack trace. Regards, Venkatesh - Jul 22, 2015 3:15:17 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern for lang=en. Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Microsoft JhengHei,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Microsoft JhengHei,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Microsoft JhengHei,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Gulim,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Gulim,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Gulim,normal,400 Jul 22, 2015 3:15:18 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: Shonar Bangla,normal,400 Exception running transformationjava.lang.NullPointerException at org.apache.fop.complexscripts.scripts.IndicScriptProcessor$Syllabizer.makeSyllabizer(IndicScriptProcessor.java:430) at org.apache.fop.complexscripts.scripts.IndicScriptProcessor$Syllabizer.getSyllabizer(IndicScriptProcessor.java:417) at org.apache.fop.complexscripts.scripts.IndicScriptProcessor.syllabize(IndicScriptProcessor.java:226) at org.apache.fop.complexscripts.scripts.IndicScriptProcessor.substitute(IndicScriptProcessor.java:186) at org.apache.fop.complexscripts.scripts.ScriptProcessor.substitute(ScriptProcessor.java:96) at org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.substitute(GlyphSubstitutionTable.java:102) at org.apache.fop.fonts.MultiByteFont.performSubstitution(MultiByteFont.java:412) at org.apache.fop.fonts.LazyFont.performSubstitution(LazyFont.java:414) at org.apache.fop.fonts.Font.performSubstitution(Font.java:410) at org.apache.fop.layoutmgr.inline.TextLayoutManager.processWordMapping(TextLayoutManager.java:1006) at org.apache.fop.layoutmgr.inline.TextLayoutManager.processWord(TextLayoutManager.java:1177) at org.apache.fop.layoutmgr.inline.TextLayoutManager.getNextKnuthElements(TextLayoutManager.java:910) at org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:329) at org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:689) at org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:622) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113) at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105) at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextChildElements(BlockStackingLayoutManager.java:497) at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:256) at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:186) at org.apache.fop.layoutmgr.table.TableCellLayoutManager.getNextKnuthElements(TableCellLayoutManager.java:153) at org.apache.fop.layoutmgr.table.RowGroupLayoutManager.createElementsForRowGroup(RowGroupLayoutManager.java:120) at org.apache.fop.layoutmgr.table.RowGroupLayoutManager.getNextKnuthElements(RowGroupLayoutManager.java:63) at