Attila Soki created FOP-2943:

             Summary: NPE when fo:block contains inline and charater tags and 
character is a white space
                 Key: FOP-2943
             Project: FOP
          Issue Type: Bug
          Components: fo/block
    Affects Versions: 2.5
         Environment: debian buster
            Reporter: Attila Soki

The above block causes NullPointerException when written as shown, without 
white spaces between the tags:

{{<fo:block><fo:inline>block1</fo:inline><fo:character character=" 

adding a space between <fo:charater.. /> and </fo:block> solves the problem 
(see testcase:

{{<fo:block><fo:inline>block2</fo:inline><fo:character character=" "/> 

{{a non white space fo:character solves the problem too}}


{{could be related to FOP-2147}}

The exception:

java.lang.Exception: Invoke failed: 
(i:Result)[o:SAXResult]). Cause: java.lang.NullPointerException VM: 
1.7.0_45@[]"; at:


With FOP version 0.94 works.


This message was sent by Atlassian Jira

Reply via email to