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

Stefan Seifert closed SLING-6869.
---------------------------------

> fsresource: Avoid NPE when content fragment file contains invalid JSON
> ----------------------------------------------------------------------
>
>                 Key: SLING-6869
>                 URL: https://issues.apache.org/jira/browse/SLING-6869
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: File System Resource Provider 1.4.0, File System 
> Resource Provider 2.1.0
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: File System Resource Provider 1.4.2, File System 
> Resource Provider 2.1.2
>
>
> a NPE in 
> {{org.apache.sling.fsprovider.internal.mapper.ContentFile#getContent()}} my 
> be thrown when the underlying JSON content fragment file contains invalid 
> JSON that leads to a parsing error.
> this should be handled gently (an warning to the log is already written).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to