Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3618

maven 2.0.9 return NPE on Linux with IBM JVM 1.6.0 SR1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.9
    • None
    • Command Line
    • None
    • IBM JVM 1.6.0 SR1 (manually installed)
      Linux (Ubuntu Hardy 8.04)

    Description

      If you try to run any goal on any POM maven will return a error like the that

      + Error stacktraces are turned on.
      Maven version: 2.0.9
      Java version: 1.6.0
      OS name: "linux" version: "2.6.24-19-386" arch: "x86" Family: "unix"
      [DEBUG] Building Maven user-level plugin registry from: '/home/kismet-sl/.m2/plugin-registry.xml'
      [DEBUG] Building Maven global-level plugin registry from: '/home/kismet-sl/i686/maven/conf/plugin-registry.xml'
      [INFO] Scanning for projects...
      [DEBUG] Searching for parent-POM: it.cnr.isti.wnlab.proximity:proximity::1.0.0 of project: it.cnr.isti.wnlab.proximity:proximity.workflow.api:jar:1.1.2-SNAPSHOT in relative path: ../pom.xml
      [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: it.cnr.isti.wnlab.proximity:proximity.workflow.api:jar:1.1.2-SNAPSHOT
      [DEBUG] Searching for parent-POM: it.cnr.isti.wnlab:wnlab::1.0.0 of project: it.cnr.isti.wnlab.proximity:proximity:pom:1.0.0 in relative path: ../pom.xml
      [DEBUG] Parent-POM: it.cnr.isti.wnlab:wnlab::1.0.0 not found in relative path: ../pom.xml
      [DEBUG] Retrieving parent-POM: it.cnr.isti.wnlab:wnlab::1.0.0 for project: it.cnr.isti.wnlab.proximity:proximity:pom:1.0.0 from the repository.
      [INFO] Searching repository for plugin with prefix: 'help'.
      [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
      [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
      [DEBUG] maven-help-plugin: resolved to version 2.0.2 from repository central
      [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::10 for project: null:maven-help-plugin:maven-plugin:2.0.2 from the repository.
      [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::7 for project: org.apache.maven.plugins:maven-plugins:pom:10 from the repository.
      [DEBUG] Retrieving parent-POM: org.apache:apache::4 for project: org.apache.maven:maven-parent:pom:7 from the repository.
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [DEBUG] Trace
      java.lang.NullPointerException
      at org.apache.maven.project.ModelUtils.mergePluginLists(ModelUtils.java:164)
      at org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler.assembleBuildInheritance(DefaultModelInheritanceAssembler.java:366)
      at org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler.assembleModelInheritance(DefaultModelInheritanceAssembler.java:168)
      at org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler.assembleModelInheritance(DefaultModelInheritanceAssembler.java:61)
      at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:852)
      at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:253)
      at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenMetadataSource.java:106)
      at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMetaVersion(DefaultPluginVersionManager.java:673)
      at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:187)
      at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91)
      at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:171)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1542)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:405)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:59)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:39)
      at java.lang.reflect.Method.invoke(Method.java:612)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: < 1 second
      [INFO] Finished at: Mon Jun 09 14:34:28 GMT+01:00 2008
      [INFO] Final Memory: 2M/7M
      [INFO] ------------------------------------------------------------------------

      If I use Sun JVM it works, also works with IBM JVM 1.6.0 SR1 and maven 2.0.7

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              kismet.sl Stefano Lenzi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: