-
Bug
-
Resolution: Fixed
-
Major
-
2.9.17
-
None
JCREntity.getProperty()
Node nodeLanguage = getLanguageNode(language); if (nodeLanguage.hasProperty(propertyName)) { return nodeLanguage.getProperty(propertyName); }
If the content doesn't have a language node, getLanguageNode() returns null and a NPE is thrown on the next line. The nullity of nodeLanguage should be tested before calling hasProperty() on it.