Author: dgolovin
Date: 2007-07-17 20:39:55 -0400 (Tue, 17 Jul 2007)
New Revision: 2486
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/RootContentProvider.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-592
null pointer exception is fixed
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/RootContentProvider.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/RootContentProvider.java 2007-07-17
18:46:48 UTC (rev 2485)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/RootContentProvider.java 2007-07-18
00:39:55 UTC (rev 2486)
@@ -159,7 +159,8 @@
public void resourceChanged(IResourceChangeEvent event) {
try {
- event.getDelta().accept(visitor);
+ if(event.getDelta()==null) refresh(null);
+ else event.getDelta().accept(visitor);
} catch (Exception e) {
SeamCorePlugin.getPluginLog().logError(e);
}