You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/09/24 12:44:00 UTC

[jira] [Resolved] (FELIX-5940) NPE when project artifact has not been built

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

Carsten Ziegeler resolved FELIX-5940.
-------------------------------------
    Resolution: Fixed

Added extra check in rev 1841833

> NPE when project artifact has not been built
> --------------------------------------------
>
>                 Key: FELIX-5940
>                 URL: https://issues.apache.org/jira/browse/FELIX-5940
>             Project: Felix
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: osgicheck-maven-plugin 0.1.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: osgicheck-maven-plugin 0.2.0
>
>
> Caused by: java.lang.NullPointerException
> at java.util.zip.ZipFile.<init> (ZipFile.java:213)
> at java.util.zip.ZipFile.<init> (ZipFile.java:155)
> at java.util.jar.JarFile.<init> (JarFile.java:166)
> at java.util.jar.JarFile.<init> (JarFile.java:130)
> at org.apache.felix.maven.osgicheck.impl.featureutil.ManifestUtil.getManifest (ManifestUtil.java:42)
> at org.apache.felix.maven.osgicheck.impl.CheckMojo.doExecute (CheckMojo.java:149)
> at org.apache.felix.maven.osgicheck.impl.CheckMojo.execute (CheckMojo.java:126)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)