Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 31368 invoked from network); 28 Apr 2009 21:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Apr 2009 21:48:15 -0000 Received: (qmail 61248 invoked by uid 500); 28 Apr 2009 21:48:14 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 61168 invoked by uid 500); 28 Apr 2009 21:48:14 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 61158 invoked by uid 99); 28 Apr 2009 21:48:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 21:48:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2009 21:48:05 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 1377D14A81AA for ; Tue, 28 Apr 2009 16:47:45 -0500 (CDT) Message-ID: <30822115.82391240955265077.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 28 Apr 2009 16:47:45 -0500 (CDT) From: "John Casey (JIRA)" To: issues@maven.apache.org Subject: [jira] Closed: (MNG-4137) NPE in DefaultLIfecycleExecutor when run from within Hudson builds In-Reply-To: <24683985.1240000677278.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MNG-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Casey closed MNG-4137. --------------------------- Resolution: Fixed > NPE in DefaultLIfecycleExecutor when run from within Hudson builds > ------------------------------------------------------------------ > > Key: MNG-4137 > URL: http://jira.codehaus.org/browse/MNG-4137 > Project: Maven 2 > Issue Type: Bug > Components: Plugins and Lifecycle > Affects Versions: 2.1.0 > Environment: Hudson ver. 1.299 > Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) > Java version: 1.6.0_12 > Java home: /usr/java/jdk1.6.0_12/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.18-92.1.18.el5" arch: "i386" Family: "unix" > Reporter: Jonathan Johnson > Assignee: John Casey > Fix For: 2.1.1 > > > Since upgrading from Maven 2.0.10 to 2.1.0 my Hudson midnight job that runs "clean site" fails with a NullPointerException at DefaultLifecycleExecutor.java:747 exception. See below. > This is related, if not the same bug that was claimed fixed in 2.1.0 M1 - http://jira.codehaus.org/browse/MNG-3704 > I though its was an issue with the Cobertura plugin - See https://hudson.dev.java.net/issues/show_bug.cgi?id=3468 but once I remove Cobertura I now get the same stack trace after "[INFO] Preparing surefire-report:report": > [INFO] Preparing surefire-report:report > [HUDSON] Archiving [...omittted for this posting...] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > [INFO] ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NullPointerException > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateConcreteConfiguration(DefaultLifecycleExecutor.java:747) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:578) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1168) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1009) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:647) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) > at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) > 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at hudson.maven.agent.Main.launch(Main.java:158) > at hudson.maven.MavenBuilder.call(MavenBuilder.java:162) > at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:578) > at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:524) > at hudson.remoting.UserRequest.perform(UserRequest.java:97) > at hudson.remoting.UserRequest.perform(UserRequest.java:46) > at hudson.remoting.Request$2.run(Request.java:236) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 6 minutes 45 seconds > [INFO] Finished at: Fri Apr 17 14:58:47 EDT 2009 > [INFO] Final Memory: 76M/271M > [INFO] ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira