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