Author: rob.stryker(a)jboss.com
Date: 2011-01-31 16:30:06 -0500 (Mon, 31 Jan 2011)
New Revision: 28792
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java
Log:
JBIDE-8203 to branch
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java 2011-01-31
21:28:14 UTC (rev 28791)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java 2011-01-31
21:30:06 UTC (rev 28792)
@@ -210,6 +210,8 @@
IRuntime[] rts = ServerCore.getRuntimes();
ArrayList<String> names = new ArrayList<String>();
for( int i = 0; i < rts.length; i++ ) {
+ if( rts[i].getRuntimeType() == null )
+ continue;
if( rts[i].getRuntimeType().getId().startsWith("org.jboss.")
&&
!rts[i].getRuntimeType().getId().equals(IJBossToolingConstants.DEPLOY_ONLY_RUNTIME)) {
localRuntimes.add(rts[i]);
Show replies by date