[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14567027#comment-14567027
 ] 

David Reepmeyer commented on ODFTOOLKIT-398:
--------------------------------------------

Sure thing

> 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
>   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)

Reply via email to