Uploaded image for project: 'ODF Toolkit'
  1. ODF Toolkit
  2. ODFTOOLKIT-379

NullPointerException in Paragraph.getTextContent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.1-incubating
    • 0.6.2-incubating
    • simple api
    • None

    Description

      The method Paragraph.getTextContent() throws a NullPointerException when a paragraph contains newlines.

      See line 239 in http://svn.apache.org/viewvc/incubator/odf/tags/odftoolkit-0.6.1-incubating-RC3/simple/src/main/java/org/odftoolkit/simple/text/Paragraph.java?view=markup

      I have a fix for it and I wrote a test for it. How can I provide it to the project?

      Attachments

        1. Bell.odt
          9 kB
          Marc Schreiber
        2. ODFToolkit-379.patch
          3 kB
          Marc Schreiber

        Activity

          People

            svanteschubert Svante Schubert
            m.schreiber Marc Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: