Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2914

Nullpointer exception on mvn install if the pom contains organization/url but not organization/name

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mcculls Stuart McCulloch
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment