Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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
Attachments
Issue Links
- blocks
-
SLING-11468 Simplify JcrPropertyMapCacheEntry.convertToType
- Closed
- is related to
-
SLING-11466 JcrPropertyMapCacheEntry: ValueFormatException when converting value InputStream to number-array
- Closed