Author: rob.stryker(a)jboss.com
Date: 2012-05-04 03:57:03 -0400 (Fri, 04 May 2012)
New Revision: 40783
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerModeSectionComposite.java
Log:
JBIDE-11776 NPE for deploy only servers
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerModeSectionComposite.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerModeSectionComposite.java 2012-05-04
06:07:12 UTC (rev 40782)
+++
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/ServerModeSectionComposite.java 2012-05-04
07:57:03 UTC (rev 40783)
@@ -168,6 +168,9 @@
}
protected boolean showListenOnAllHostsCheckbox() {
IRuntime rt = callback.getRuntime();
+ if( rt == null )
+ return false;
+
JBossExtendedProperties props2 = (JBossExtendedProperties)rt
.loadAdapter(JBossExtendedProperties.class,
new NullProgressMonitor());
Show replies by date