Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2828

NoSuchElementException when having table headers in lists and the page size changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1, 2.2, 2.3
    • None
    • None
    • None

    Description

      When trying to render:
      NoSuchElementException_sample.fo
      It fails with the exception seen in fop_2.3.log.

      I've found out that the problem occurs when all of the following requirements are met:

      1. having a page master set which defines different page margins between pages (like for odd and even pages)
      2. having a list defined
      3. in the list having a table specifying a table header
      4. the table spreads over 2 or more pages (which define different page margins)

      This stack trace seems very simlar to FOP-2776.

       

      Seems to occur at least since version 2.1, worked in FOP 1.0 (I didn't check the versions in between 1.0, 2.1, and 2.3).

      Attachments

        1. fop_2.3.log
          8 kB
          Matthias Reischenbacher
        2. NoSuchElementException_sample.fo
          67 kB
          Matthias Reischenbacher

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matthias Matthias Reischenbacher
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: