Author: rob.stryker(a)jboss.com
Date: 2007-09-20 18:29:14 -0400 (Thu, 20 Sep 2007)
New Revision: 3738
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/build/ArchiveBuildDelegate.java
Log:
null check
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/build/ArchiveBuildDelegate.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/build/ArchiveBuildDelegate.java 2007-09-20
19:44:42 UTC (rev 3737)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/build/ArchiveBuildDelegate.java 2007-09-20
22:29:14 UTC (rev 3738)
@@ -61,6 +61,7 @@
EventManager.startedBuild(project);
IArchiveModelNode root = ArchivesModel.instance().getRoot(project);
+ if( root == null ) return;
IArchiveNode[] nodes = root.getChildren(IArchiveNode.TYPE_ARCHIVE);
for( int i = 0; i < nodes.length; i++ ) {
fullArchiveBuild(((IArchive)nodes[i]));