continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r376029 - /maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Wed, 08 Feb 2006 19:24:21 GMT
Author: evenisse
Date: Wed Feb  8 11:24:18 2006
New Revision: 376029

URL: http://svn.apache.org/viewcvs?rev=376029&view=rev
Log:
[CONTINUUM-577] Fix NPE

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=376029&r1=376028&r2=376029&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Wed Feb  8 11:24:18 2006
@@ -354,6 +354,12 @@
         {
             projectsMap = store.getProjectIdsAndBuildDefinitionIdsBySchedule( schedule.getId()
);
 
+            if ( projectsMap == null )
+            {
+                // We don't have projects attached to this schedule
+                return;
+            }
+
             projectsList = getProjectsInBuildOrder();
         }
         catch ( ContinuumStoreException e )



Mime
View raw message