Author: rob.stryker(a)jboss.com
Date: 2009-12-15 18:23:19 -0500 (Tue, 15 Dec 2009)
New Revision: 19291
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java
Log:
JBIDE-4931 - added null check
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java 2009-12-15
23:02:56 UTC (rev 19290)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/dialogs/XPathDialogs.java 2009-12-15
23:23:19 UTC (rev 19291)
@@ -402,7 +402,8 @@
previewTreeViewer.getTree().setEnabled(true);
checkErrors();
}
- main.layout();
+ if( main != null )
+ main.layout();
}
});
}
Show replies by date