Author: rob.stryker(a)jboss.com
Date: 2008-08-27 20:32:22 -0400 (Wed, 27 Aug 2008)
New Revision: 9928
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java
Log:
JBIDE-2699 - tracked npe down to its core
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java 2008-08-28
00:26:46 UTC (rev 9927)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveFileSetImpl.java 2008-08-28
00:32:22 UTC (rev 9928)
@@ -146,6 +146,8 @@
}
} catch( IllegalStateException ise ) {
ArchivesCore.getInstance().getLogger().log(IStatus.WARNING, "Could not create
directory scanner", ise);
+ matchingPaths = new FileWrapper[0];
+ matchingMap = new HashMap<String, ArrayList<FileWrapper>>();
}
}
return scanner;