You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2022/07/19 15:29:00 UTC

[jira] [Assigned] (SLING-11465) NPE in JcrPropertyMapCacheEntry when converting from InputStream value to Number

     [ https://issues.apache.org/jira/browse/SLING-11465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Angela Schreiber reassigned SLING-11465:
----------------------------------------

    Assignee: Angela Schreiber

> 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)