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

Seifeddine Dridi commented on FOP-2292:
---------------------------------------

The cause of this bug is still unknown to me. But after a couple of tests, the 
NullPointerException seems to be also related to having different margins 
across pages, which triggers an IPD-change. Setting the left/right margins 
equally in all fo:simple-page-master fixes the error...Any suggestions?
                
> [PATCH] NullPointerException after page IPD change
> --------------------------------------------------
>
>                 Key: FOP-2292
>                 URL: https://issues.apache.org/jira/browse/FOP-2292
>             Project: Fop
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.0
>         Environment: Windows 7 64 bit
>            Reporter: Seifeddine Dridi
>             Fix For: 1.1
>
>         Attachments: expected.pdf, fop.pdf, idea.patch, test.fo
>
>
> The error occurs when FOP detects an IPD change and redoes phase 1 of the 
> layout process. A NullPointerException is fired in 
> getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
> returning null.
> Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to