Author: rob.stryker(a)jboss.com
Date: 2007-11-15 16:08:05 -0500 (Thu, 15 Nov 2007)
New Revision: 4926
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java
Log:
JBIDE-1325
Couldn't duplicate the bug but I've wrapped the method in try-catch.
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java 2007-11-15
17:15:39 UTC (rev 4925)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/ArchivesModelCore.java 2007-11-15
21:08:05 UTC (rev 4926)
@@ -102,6 +102,8 @@
} catch( IllegalStateException ise ) {
ArchivesCoreLog.log(IStatus.WARNING, "Error creating directory scanner",
ise);
return new IPath[]{};
+ } catch( NullPointerException npe ) {
+ return new IPath[]{};
}
}
Show replies by date