[
https://issues.apache.org/jira/browse/ODFTOOLKIT-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Hopf resolved ODFTOOLKIT-398.
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.6.2-incubating
Assignee: Florian Hopf
Thank you very much for reporting the issue and sending the patch. I committed
it (after changing spaces to tabs) to trunk in revision 1684559.
> 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
> Assignee: Florian Hopf
> Labels: patch
> Fix For: 0.6.2-incubating
>
> Attachments: TestCellWithoutTableCellProperties.ods,
> odf-toolkit_with_test.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)