felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-2914) Nullpointer exception on mvn install if the pom contains organization/url but not organization/name
Date Thu, 14 Apr 2011 09:42:05 GMT

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

Christian Schneider updated FELIX-2914:
---------------------------------------

    Attachment:     (was: bundleplugin-FELIX-2914.patch)

> Nullpointer exception on mvn install if the pom contains organization/url but not organization/name
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2914
>                 URL: https://issues.apache.org/jira/browse/FELIX-2914
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.4
>            Reporter: Christian Schneider
>         Attachments: bundleplugin-FELIX-2914.patch
>
>
> pom contains:
> 	<organization>
> 		<url>http://www.liquid-reality.de</url>
> 	</organization>
> ---
> on mvn install the following exception is thrown
> [ERROR] An internal error occurred
> java.lang.NullPointerException
> 	at java.util.Hashtable.put(Hashtable.java:394)
> 	at org.apache.felix.bundleplugin.BundlePlugin.getDefaultProperties(BundlePlugin.java:942)
> 	at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:354)
> 	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:270)
> 	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:224)
> 	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:215)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
> 	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:314)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	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)
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> ----
> Workaround: Also specify organization name

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message