Angela Schreiber created SLING-11465:
----------------------------------------
Summary: NPE in JcrPropertyMapCacheEntry when converting from
InputStream value to Number
Key: SLING-11465
URL: https://issues.apache.org/jira/browse/SLING-11465
Project: Sling
Issue Type: Bug
Components: JCR
Reporter: Angela Schreiber
while working on SLING-11461 trying to reduce complexity in
{{JcrPropertyMapCacheEntry}}. i spotted that this class is prone to multiple
NPEs.
in case of value being of type {{InputStream}} conversion to a number will try
to retrieve the length of the {{property}} fields, which however is null if
{{JcrPropertyMapCacheEntry}} has been created with a value and a node.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)