karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3783) NPE in karaf-maven-plugin features-export-meta-data
Date Fri, 12 Jun 2015 11:35:00 GMT

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

Christian Schneider resolved KARAF-3783.
----------------------------------------
    Resolution: Fixed

> NPE in karaf-maven-plugin features-export-meta-data
> ---------------------------------------------------
>
>                 Key: KARAF-3783
>                 URL: https://issues.apache.org/jira/browse/KARAF-3783
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.0.M3
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.0.0
>
>         Attachments: pom.xml
>
>
> Safe attached pom.xml to a firectory and execute:
> mvn install -e
> ----
> project npe: Execution features-add-to-repository of goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0-SNAPSHOT:features-export-meta-data
failed.
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> 	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:116)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution features-add-to-repository
of goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0-SNAPSHOT:features-export-meta-data
failed.
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 	... 19 more
> Caused by: java.lang.NullPointerException
> 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
> 	at org.apache.karaf.tooling.features.ExportFeatureMetaDataMojo.getManifest(ExportFeatureMetaDataMojo.java:143)
> 	at org.apache.karaf.tooling.features.ExportFeatureMetaDataMojo.getBundleSymbolicName(ExportFeatureMetaDataMojo.java:136)
> 	at org.apache.karaf.tooling.features.ExportFeatureMetaDataMojo.mergeFeature(ExportFeatureMetaDataMojo.java:96)
> 	at org.apache.karaf.tooling.features.ExportFeatureMetaDataMojo.execute(ExportFeatureMetaDataMojo.java:75)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
> 	... 20 more



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

Mime
View raw message