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

Jeremias Maerki commented on FOP-3098:
--------------------------------------

[^Post-FOP-3098-NPE-Bugfix.diff]
Hey Chris, it's been some time. I've got a quick fix for an NPE that this patch 
introduces when there's an empty block inside a list-item. I've seen you 
committed the patch to the Git repo but not the SVN one, so I'm unsure how 
you're going to handle it. You can also tell me to commit the fix myself when 
you get confirmation on Dave's ICLA.

> [PATCH] Nullpointer Exception in LMiter.next depending on text
> --------------------------------------------------------------
>
>                 Key: FOP-3098
>                 URL: https://issues.apache.org/jira/browse/FOP-3098
>             Project: FOP
>          Issue Type: Bug
>          Components: fo/unqualified
>    Affects Versions: 2.7
>         Environment: Windows 10
>            Reporter: Michael Heitkamp
>            Assignee: Chris Bowditch
>            Priority: Major
>         Attachments: Post-FOP-3098-NPE-Bugfix.diff, patch.txt, 
> patch_cached.txt, stacktrace.txt, x-fop-error.xml, x-fop-error.xsl
>
>
> Doing a FOP translation with the given XSL and XML input files lead to a 
> Nullpointer Exception.
> If the text block is shortened by one character ("dataX" -> "data") then the 
> translation succeeds.
> If the text block is replaced by "lore ipsum" of the same length then the 
> translation succeeds also.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to