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

NullPointerException sometimes happened when parsing a centain kind of XML under IBM JDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • odfdom-0.8.5
    • odfdom-0.8.7, 0.5-incubating
    • java
    • None
    • Operating System: All
      Platform: All
    • 202

    Description

      Created an attachment (id=303)
      testcase code

      I needed to change the creator name in some presentations that I am working on as I borrowed a slide deck from someone to get her look and feel. However I did not want her name showing up as the presentation creator. As Open Office and Symphony offer no way to edit this field I wrote the attached small program to do it.

      In my testing I found:

      1. If the creator name is not set yet (ie null) my program works

      2. If the creator name is already set, the ODF toolkit throws a NullPointerException during save().

      I am attaching a test case and a one page odp file.

      Kelvin

      Attachments

        Activity

          People

            Unassigned Unassigned
            kelvin@odftoolkit.org kelvin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: