Markus Holländer created FOP-2685:

             Summary: Exception in AbstractBreaker if 
linefeed-treatment=preserve, page break and different layouts for odd/even pages
                 Key: FOP-2685
             Project: FOP
          Issue Type: Bug
          Components: fo/unqualified
    Affects Versions: 2.1, 1.1
         Environment: VM with SUSE Linux Enterprise Server 12 (64 bit); 
jdk1.8.0_60 on production server (FOP 1.1), jdk1.8.0_121 on test server (FOP 
            Reporter: Markus Holländer
         Attachments:, fop11_exception.log, fop12_exception.log

If there are different page masters for  odd and even pages (with different 
left/right margins), AND there is an fo:block with 
{{linefeed-treatment="preserve"}}, AND a linefeed coincides with a page break 
(i.e. in "line 1 \n line 2", line 2 doesn't fit on the same page), I get an 
exception and no PDF is produced.

Attached is the smallest .fo file with which I could reproduce the exception, 
as well as command line outputs for FOP 1.1 and 2.1.

This message was sent by Atlassian JIRA

Reply via email to