continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r678536 - in /continuum/trunk: continuum-notifiers/continuum-notifier-api/src/main/java/org/apache/maven/continuum/notification/AbstractContinuumNotifier.java continuum-webapp/pom.xml
Date Mon, 21 Jul 2008 19:24:23 GMT
Author: olamy
Date: Mon Jul 21 12:24:23 2008
New Revision: 678536

URL: http://svn.apache.org/viewvc?rev=678536&view=rev
Log:
[CONTINUUM-1825] NPE when checkout project with trunk (rev 678311) 

fix NPE


Modified:
    continuum/trunk/continuum-notifiers/continuum-notifier-api/src/main/java/org/apache/maven/continuum/notification/AbstractContinuumNotifier.java
    continuum/trunk/continuum-webapp/pom.xml

Modified: continuum/trunk/continuum-notifiers/continuum-notifier-api/src/main/java/org/apache/maven/continuum/notification/AbstractContinuumNotifier.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-notifiers/continuum-notifier-api/src/main/java/org/apache/maven/continuum/notification/AbstractContinuumNotifier.java?rev=678536&r1=678535&r2=678536&view=diff
==============================================================================
--- continuum/trunk/continuum-notifiers/continuum-notifier-api/src/main/java/org/apache/maven/continuum/notification/AbstractContinuumNotifier.java
(original)
+++ continuum/trunk/continuum-notifiers/continuum-notifier-api/src/main/java/org/apache/maven/continuum/notification/AbstractContinuumNotifier.java
Mon Jul 21 12:24:23 2008
@@ -61,6 +61,10 @@
 
     protected String getBuildOutput( Project project, BuildResult buildResult )
     {
+        if ( buildResult == null )
+        {
+            return "";
+        }
         try
         {
             if ( buildResult.getEndTime() != 0 )

Modified: continuum/trunk/continuum-webapp/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/pom.xml?rev=678536&r1=678535&r2=678536&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/pom.xml (original)
+++ continuum/trunk/continuum-webapp/pom.xml Mon Jul 21 12:24:23 2008
@@ -561,7 +561,7 @@
       <scope>provided</scope>
     </dependency>
   </dependencies>
-      <profiles>
+  <profiles>
     <profile>
       <id>postgres</id>
       <dependencies>



Mime
View raw message