[ https://issues.apache.org/jira/browse/SLING-11465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joerg Hoh closed SLING-11465. ----------------------------- > 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 > Assignee: Angela Schreiber > Priority: Major > Fix For: JCR Resource 3.2.2 > > Time Spent: 40m > Remaining Estimate: 0h > > 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. > [~cziegeler] fyi -- This message was sent by Atlassian Jira (v8.20.10#820010)