sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SLING-9567) NullPointerException in info mojo
Date Fri, 03 Jul 2020 14:27:00 GMT

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

Carsten Ziegeler resolved SLING-9567.
-------------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/sling-slingfeature-maven-plugin/commit/a68b122bf8913865fa4142d8ce9e2d5448f4a7d6

> NullPointerException in info mojo
> ---------------------------------
>
>                 Key: SLING-9567
>                 URL: https://issues.apache.org/jira/browse/SLING-9567
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>    Affects Versions: slingfeature-maven-plugin 1.3.8
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 1.3.10
>
>
> When the info mojo is used in standalone mode, the following NullPointerException occurs:
> Caused by: java.lang.NullPointerException
>     at org.apache.sling.feature.maven.mojos.InfoMojo.readFeature (InfoMojo.java:299)
>     at org.apache.sling.feature.maven.mojos.InfoMojo.selectFeatures (InfoMojo.java:258)
>     at org.apache.sling.feature.maven.mojos.InfoMojo.execute (InfoMojo.java:156)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
(SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)



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

Mime
View raw message