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

getCellBackColor throws an exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • simple-odfdom-0.8
    • odfdom-0.8.7
    • java
    • None
    • Operating System: All
      Platform: All
    • 183

    Description

      Calling getCellbackColor() always seems to throw an exception.

      I have sent a testcase to Daisy.

      The API takes no parametets but throws this exception (also note the spelling error in the error message)

      Exception during processing.
      java.lang.IllegalArgumentException: parameter is invalidate for datatype Color
      at org.odftoolkit.odfdom.type.Color.<init>(Color.java:39)
      at org.odftoolkit.odfdom.doc.table.OdfTableCell.getCellBackColor(OdfTabl
      eCell.java:880)
      at CreateSheetFromExternalData.runTests(CreateSheetFromExternalData.java
      :194)
      at CreateSheetFromExternalData.main(CreateSheetFromExternalData.java:312
      )

      Attachments

        Issue Links

          Activity

            People

              svanteschubert@odftoolkit.org Svante Schubert
              kelvin@odftoolkit.org kelvin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: