[
https://issues.apache.org/jira/browse/ODFTOOLKIT-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Reepmeyer updated ODFTOOLKIT-398:
---------------------------------------
Description:
Null pointer exception when running
org.odftoolkit.simple.table.Cell.getCellBackgroundColor() method of an empty
cell. I have attached a patch that will fix the problem in the
CellStyleHandler class. A simple null check is all that is needed.
Looking for someone to review the patch, then apply the patch if acceptable to
the code base.
was:Null pointer exception when running
org.odftoolkit.simple.table.Cell.getCellBackgroundColor() method of an empty
cell. I have attached a patch that will fix the problem in the
CellStyleHandler class. A simple null check is all that is needed.
> crash when calling getCellBackgroundColor from the
> org.odftoolkit.simple.table.Cell
> -----------------------------------------------------------------------------------
>
> Key: ODFTOOLKIT-398
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-398
> Project: ODF Toolkit
> Issue Type: Bug
> Components: simple api
> Reporter: David Reepmeyer
> Labels: patch
> Attachments: odf-toolkit.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Null pointer exception when running
> org.odftoolkit.simple.table.Cell.getCellBackgroundColor() method of an empty
> cell. I have attached a patch that will fix the problem in the
> CellStyleHandler class. A simple null check is all that is needed.
> Looking for someone to review the patch, then apply the patch if acceptable
> to the code base.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)