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

Konrad Windszus resolved SLING-9885.
------------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/sling-feature-converter-maven-plugin/commit/5e505d8340af78fa28d81a14609fe8d3d642743c.

> Prevent potential NPE in ConvertCPMojo
> --------------------------------------
>
>                 Key: SLING-9885
>                 URL: https://issues.apache.org/jira/browse/SLING-9885
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>    Affects Versions: Feature Model Converter Plugin 1.0.6
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: Feature Model Converter Plugin 1.0.8
>
>
> As {{Artifact.getFile()}} 
> (https://maven.apache.org/ref/3.6.0/maven-artifact/apidocs/org/apache/maven/artifact/Artifact.html#getFile())
>  might return {{null}} a null check should be added in  
> https://github.com/apache/sling-feature-converter-maven-plugin/blob/f626fda29e879f32026092e3f7cf80ec918455f4/src/main/java/org/apache/sling/cpconverter/maven/mojos/ConvertCPMojo.java#L271



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to