continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r441755 - /maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Sat, 09 Sep 2006 07:48:02 GMT
Author: carlos
Date: Sat Sep  9 00:48:01 2006
New Revision: 441755

URL: http://svn.apache.org/viewvc?view=rev&rev=441755
Log:
[CONTINUUM-855] NullPointerException in DefaultContinuum.buildProjects

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

Modified: maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?view=diff&rev=441755&r1=441754&r2=441755
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Sat Sep  9 00:48:01 2006
@@ -598,9 +598,11 @@
                 buildFromDefinitionIds( buildDefinitionIds, project );
 
                 // iterate through the project build definitions and build
-                List buildDefIds = (List) projectsMap.get( new Integer( project.getId() )
);
-
-                buildFromDefinitionIds( buildDefIds, project );
+                if ( projectsMap != null )
+                {
+                    List buildDefIds = (List) projectsMap.get( new Integer( project.getId()
) );
+                    buildFromDefinitionIds( buildDefIds, project );
+                }
             }
         }
     }



Mime
View raw message