incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Rau (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ODFTOOLKIT-315) TextProperties throws NPE in case styles aren't (yet) set.
Date Sun, 15 Apr 2012 15:35:18 GMT
TextProperties throws NPE in case styles aren't (yet) set.
----------------------------------------------------------

                 Key: ODFTOOLKIT-315
                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-315
             Project: ODF Toolkit
          Issue Type: Bug
          Components: simple api
            Reporter: Oliver Rau
            Assignee: Oliver Rau


If TextProperties aren't set yet on an element, e.g. a Span element that just got created,
the TextProperties getter methods don't check for null on the various attributes, which leads
to an NPE.

e.g. org.odftoolkit.simple.style.TextProperties.getFontSizeInPoint()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message