Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-232

NullPointerException in o.a.m.shared.release.phase.AbstractBackupPomsPhase.getPomBackup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-5
    • 2.0-beta-6
    • None
    • None
    • Windows 2000 SP4, Sun JDK 1.4.2_18

    Description

      Got the following stack trace after an apparent successful deploy to a previously empty staging repository:

      C:\...>mvn release:perform -DconnectionUrl=scm:svn:http://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_15_rc2
      ...
      ...
      ...
      1044/1047K
      1047/1047K
      1047K uploaded
      [INFO] ---------------------------------------------------------------------

      [INFO] BUILD SUCCESSFUL
      [INFO] ---------------------------------------------------------------------

      [INFO] Total time: 3 minutes 51 seconds
      [INFO] Finished at: Wed May 16 17:18:02 CDT 2007
      [INFO] Final Memory: 14M/29M
      [INFO] ---------------------------------------------------------------------

      [INFO] Cleaning up after release...
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NullPointerException
      at org.apache.maven.shared.release.phase.AbstractBackupPomsPhase.getPomB
      ackup(AbstractBackupPomsPhase.java:38)
      at org.apache.maven.shared.release.phase.AbstractBackupPomsPhase.deleteP
      omBackup(AbstractBackupPomsPhase.java:43)
      at org.apache.maven.shared.release.phase.CreateBackupPomsPhase.clean(Cre
      ateBackupPomsPhase.java:69)
      at org.apache.maven.shared.release.DefaultReleaseManager.clean(DefaultRe
      leaseManager.java:506)
      at org.apache.maven.shared.release.DefaultReleaseManager.perform(Default
      ReleaseManager.java:447)
      at org.apache.maven.shared.release.DefaultReleaseManager.perform(Default
      ReleaseManager.java:281)
      at org.apache.maven.shared.release.DefaultReleaseManager.perform(Default
      ReleaseManager.java:273)
      at org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformRe
      leaseMojo.java:96)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
      nManager.java:443)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
      ultLifecycleExecutor.java:539)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
      Goal(DefaultLifecycleExecutor.java:493)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
      ltLifecycleExecutor.java:463)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
      dleFailures(DefaultLifecycleExecutor.java:311)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
      ts(DefaultLifecycleExecutor.java:224)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
      fecycleExecutor.java:143)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      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: 4 minutes 33 seconds
      [INFO] Finished at: Wed May 16 17:18:02 CDT 2007
      [INFO] Final Memory: 4M/9M
      [INFO] ------------------------------------------------------------------------

      C:\prep>

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            carnold@apache.org Curt Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: