incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Jisl (JIRA)" <>
Subject [jira] [Created] (ODFTOOLKIT-326) NPE when setting default background in TextCellProperties
Date Thu, 19 Jul 2012 11:12:34 GMT
Pavel Jisl created ODFTOOLKIT-326:

             Summary: NPE when setting default background in TextCellProperties
                 Key: ODFTOOLKIT-326
             Project: ODF Toolkit
          Issue Type: Bug
          Components: simple api
    Affects Versions: 0.8.8
            Reporter: Pavel Jisl

I need to set default cell background. I use method setBackgroundColor(Color aColor) in TableCellProperties.

It is said in javadoc, that " If the parameter <code>aColor</code> is null, the
background color definition will be removed.", but it throws NullPointerException, because
it removes background definition, but instead of exit method it tries to set toString() value
of null:

		if (aColor == null)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message