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

NPE in DefaultPluginRealmCache.pluginHashCode()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0-beta-1
    • None
    • None
    • None
    • Apache Maven 3.0-beta-1 (r935667; 2010-04-19 10:00:39-0700)
      Java version: 1.6.0_19
      Windows 7

    Description

      mvn tomcat:run-war in https://test.kuali.org/svn/student/ks-web/branches/ks-web-dev
      Works with mvn 2.2.1

      George

      [ERROR] NullPointerException
      java.lang.NullPointerException
      at org.apache.maven.plugin.DefaultPluginRealmCache.pluginHashCode(DefaultPluginRealmCache.java:161)
      at org.apache.maven.plugin.DefaultPluginRealmCache$CacheKey.<init>(DefaultPluginRealmCache.java:73)
      at org.apache.maven.plugin.DefaultPluginRealmCache.get(DefaultPluginRealmCache.java:114)
      at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:261)
      at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:184)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:80)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
      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)
      [ERROR]

      Attachments

        1. mvn.log
          465 kB
          lindholm

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              lindholm lindholm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: