Author: rob.stryker(a)jboss.com
Date: 2008-08-25 18:25:08 -0400 (Mon, 25 Aug 2008)
New Revision: 9884
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/ArchivesModelModuleContributor.java
Log:
NPE
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/ArchivesModelModuleContributor.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/ArchivesModelModuleContributor.java 2008-08-25
18:06:25 UTC (rev 9883)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/ArchivesModelModuleContributor.java 2008-08-25
22:25:08 UTC (rev 9884)
@@ -93,6 +93,8 @@
}
protected void createModules(IProject project) throws ArchivesModelException {
+ if( project == null )
+ return;
IArchive[] packages = ModelUtil.getProjectArchives(project.getLocation());
if( packages != null && packages.length > 0 ) {
IModule module;
Show replies by date