Carsten Ziegeler created SLING-4970: ---------------------------------------
Summary: Potential NPE with transitive models Key: SLING-4970 URL: https://issues.apache.org/jira/browse/SLING-4970 Project: Sling Issue Type: Bug Components: Maven Plugins and Archetypes, Tooling Affects Versions: Slingstart Maven Plugin 1.3.4 Reporter: Carsten Ziegeler Assignee: Carsten Ziegeler If the current model references another model and that model references another one, and those models have not been built with the latest slingstart maven plugin, then an NPE occurs: Caused by: java.lang.NullPointerException at org.apache.sling.maven.slingstart.DependencyLifecycleParticipant.searchSlingstartDependencies(DependencyLifecycleParticipant.java:335) at org.apache.sling.maven.slingstart.DependencyLifecycleParticipant.processSlingstartDependencies(DependencyLifecycleParticipant.java:351) at org.apache.sling.maven.slingstart.DependencyLifecycleParticipant.searchSlingstartDependencies(DependencyLifecycleParticipant.java:314) at org.apache.sling.maven.slingstart.DependencyLifecycleParticipant.addDependencies(DependencyLifecycleParticipant.java:169) at org.apache.sling.maven.slingstart.DependencyLifecycleParticipant.addDependencies(DependencyLifecycleParticipant.java:130) at org.apache.sling.maven.slingstart.DependencyLifecycleParticipant.afterProjectsRead(DependencyLifecycleParticipant.java:125) -- This message was sent by Atlassian JIRA (v6.3.4#6332)