[jira] [Commented] (FOP-2262) fop-1.1 from the binary distribution crashes (NullPointerException) on a .fo file on x86-64

2013-06-24 Thread Luis Bernardo (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692492#comment-13692492
 ] 

Luis Bernardo commented on FOP-2262:


an option is to disable complex scripts. you do that by passing -nocs to fop, 
or having the element  in the fop.xconf. the 
NPE only happens in some situations (otherwise we would have caught it before 
the release) so I don't think disabling complex scripts outright for the 
package (which you can do in the fop script) is necessary.

> fop-1.1 from the binary distribution crashes (NullPointerException) on a .fo 
> file on x86-64
> ---
>
> Key: FOP-2262
> URL: https://issues.apache.org/jira/browse/FOP-2262
> Project: Fop
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Mageia Linux Cauldron x86-64
>Reporter: Shlomi Fish
> Fix For: trunk
>
> Attachments: case-for-drug-legalisation--hebrew-v3.fo
>
>
> When I run fop-1.1 from the binary distribution on the .fo file that I will 
> attach I'm getting this result:
> [SHELL]
> shlomif@telaviv1:~$ which fop
> /home/shlomif/Download/unpack/graphics/fop/bin/fop-1.1/fop
> shlomif@telaviv1:~$ fop -fo ./case-for-drug-legalisation--hebrew-v3.fo -pdf 
> foo.pdf
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Font "Symbol,normal,700" not found. Substituting with 
> "Symbol,normal,400".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with 
> "ZapfDingbats,normal,400".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ב" (0x5d1, afii57665) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ע" (0x5e2, afii57682) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ד" (0x5d3, afii57667) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ה" (0x5d4, afii57668) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ל" (0x5dc, afii57676) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ג" (0x5d2, afii57666) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57673) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ז" (0x5d6, afii57670) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.hyphenation.Hyphenator 
> getHyphenationTree
> SEVERE: Couldn't find hyphenation pattern for lang="he".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ה" (0x5d4, afii57668) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ק" (0x5e7, afii57687) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ד" (0x5d3, afii57667) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "מ" (0x5de, afii57678) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ו" (0x5d5, afii57669) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ס" (0x5e1, afii57681) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ר" (0x5e8, afii57688) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57673) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ש" (0x5e9, afii57689) not available in font "Times-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ח" (0x5d7, afii57671) not available in font "Times-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListe

[jira] [Commented] (FOP-2262) fop-1.1 from the binary distribution crashes (NullPointerException) on a .fo file on x86-64

2013-06-21 Thread Shlomi Fish (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690171#comment-13690171
 ] 

Shlomi Fish commented on FOP-2262:
--

Hi Luis,

sorry for the very late response. While it is good that it no longer happens on 
the trunk, it's not perfect, because people are expected to use the 1.1 
release, and are going to run into this bug as long as it is the latest 
version. I finished packaging fop-1.1 for Mageia Cauldron and was dismayed to 
find out that it no longer handles the documents on my homepage properly. 
People may report this issue again as long as it is not fixed in a release.

Regards,

-- Shlomi Fish

> fop-1.1 from the binary distribution crashes (NullPointerException) on a .fo 
> file on x86-64
> ---
>
> Key: FOP-2262
> URL: https://issues.apache.org/jira/browse/FOP-2262
> Project: Fop
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Mageia Linux Cauldron x86-64
>Reporter: Shlomi Fish
> Fix For: trunk
>
> Attachments: case-for-drug-legalisation--hebrew-v3.fo
>
>
> When I run fop-1.1 from the binary distribution on the .fo file that I will 
> attach I'm getting this result:
> [SHELL]
> shlomif@telaviv1:~$ which fop
> /home/shlomif/Download/unpack/graphics/fop/bin/fop-1.1/fop
> shlomif@telaviv1:~$ fop -fo ./case-for-drug-legalisation--hebrew-v3.fo -pdf 
> foo.pdf
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Font "Symbol,normal,700" not found. Substituting with 
> "Symbol,normal,400".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with 
> "ZapfDingbats,normal,400".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ב" (0x5d1, afii57665) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ע" (0x5e2, afii57682) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ד" (0x5d3, afii57667) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ה" (0x5d4, afii57668) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ל" (0x5dc, afii57676) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ג" (0x5d2, afii57666) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57673) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ז" (0x5d6, afii57670) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.hyphenation.Hyphenator 
> getHyphenationTree
> SEVERE: Couldn't find hyphenation pattern for lang="he".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ה" (0x5d4, afii57668) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ק" (0x5e7, afii57687) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ד" (0x5d3, afii57667) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "מ" (0x5de, afii57678) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ו" (0x5d5, afii57669) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ס" (0x5e1, afii57681) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ר" (0x5e8, afii57688) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57673) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ש" (0x5e9, afii57689) not available in font "Times-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> pro

[jira] [Commented] (FOP-2262) fop-1.1 from the binary distribution crashes (NullPointerException) on a .fo file on x86-64

2013-06-06 Thread Luis Bernardo (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676898#comment-13676898
 ] 

Luis Bernardo commented on FOP-2262:


btw, if you pass -nocs to fop 1.1 then you get no NPE, and the behavior of 1.0; 
but since you are using hebrew you will want to use complex scripts. also, in 
principle you need to use the fop.xconf (which is not apparent from your 
command line) with the hebrew fonts configured.

> fop-1.1 from the binary distribution crashes (NullPointerException) on a .fo 
> file on x86-64
> ---
>
> Key: FOP-2262
> URL: https://issues.apache.org/jira/browse/FOP-2262
> Project: Fop
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Mageia Linux Cauldron x86-64
>Reporter: Shlomi Fish
> Fix For: trunk
>
> Attachments: case-for-drug-legalisation--hebrew-v3.fo
>
>
> When I run fop-1.1 from the binary distribution on the .fo file that I will 
> attach I'm getting this result:
> [SHELL]
> shlomif@telaviv1:~$ which fop
> /home/shlomif/Download/unpack/graphics/fop/bin/fop-1.1/fop
> shlomif@telaviv1:~$ fop -fo ./case-for-drug-legalisation--hebrew-v3.fo -pdf 
> foo.pdf
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Font "Symbol,normal,700" not found. Substituting with 
> "Symbol,normal,400".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with 
> "ZapfDingbats,normal,400".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ב" (0x5d1, afii57665) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ע" (0x5e2, afii57682) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ד" (0x5d3, afii57667) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ה" (0x5d4, afii57668) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ל" (0x5dc, afii57676) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ג" (0x5d2, afii57666) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57673) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ז" (0x5d6, afii57670) not available in font "Helvetica-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.hyphenation.Hyphenator 
> getHyphenationTree
> SEVERE: Couldn't find hyphenation pattern for lang="he".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ה" (0x5d4, afii57668) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ק" (0x5e7, afii57687) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ד" (0x5d3, afii57667) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "מ" (0x5de, afii57678) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ו" (0x5d5, afii57669) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ס" (0x5e1, afii57681) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ר" (0x5e8, afii57688) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57673) not available in font "Times-Roman".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ש" (0x5e9, afii57689) not available in font "Times-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "ח" (0x5d7, afii57671) not available in font "Times-Bold".
> Jun 06, 2013 12:58:34 PM org.apache.fop.events.LoggingEventListener 
> processEvent
> WARNING: Glyph "י" (0x5d9, afii57