[ 
https://issues.apache.org/jira/browse/FELIX-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551941#comment-14551941
 ] 

David Bosschaert commented on FELIX-4892:
-----------------------------------------

[~kwin] you are correct. I have updated the version info. Thanks for pointing 
this out.

> NPE in maven-bundle-plugin
> --------------------------
>
>                 Key: FELIX-4892
>                 URL: https://issues.apache.org/jira/browse/FELIX-4892
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.5.4
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: maven-bundle-plugin-2.5.5
>
>
> I am getting an NPE with the (as yet unreleased version of) the 
> maven-bundle-plugin:
> {code}[ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:2.5.5-SNAPSHOT:baseline (baseline) on 
> project myproject: Execution baseline of goal 
> org.apache.felix:maven-bundle-plugin:2.5.5-SNAPSHOT:baseline failed. 
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:2.5.5-SNAPSHOT:baseline (baseline) 
> on project myproject: Execution baseline of goal 
> org.apache.felix:maven-bundle-plugin:2.5.5-SNAPSHOT:baseline failed.
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>       at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:483)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
> baseline of goal org.apache.felix:maven-bundle-plugin:2.5.5-SNAPSHOT:baseline 
> failed.
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>       ... 19 more
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.felix.bundleplugin.baseline.AbstractBaselinePlugin.execute(AbstractBaselinePlugin.java:164)
>       at 
> org.apache.felix.bundleplugin.baseline.AbstractBaselinePlugin.execute(AbstractBaselinePlugin.java:136)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>       ... 20 more{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to