Author: rareddy
Date: 2009-03-30 13:54:19 -0400 (Mon, 30 Mar 2009)
New Revision: 661
Modified:
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedProcessPanel.java
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedPscPanel.java
Log:
TEIID-323: with products gone from config, there were NPE and ArrayIndexing issues with
Console code.
Modified:
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedProcessPanel.java
===================================================================
---
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedProcessPanel.java 2009-03-30
17:40:54 UTC (rev 660)
+++
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedProcessPanel.java 2009-03-30
17:54:19 UTC (rev 661)
@@ -699,9 +699,8 @@
Iterator pscItr = pscs.iterator();
while (pscItr.hasNext()) {
ProductServiceConfig psc = (ProductServiceConfig)pscItr.next();
- ProductType product =
- getConfigurationManager().getProduct(psc);
- tblModel.setValueAt(psc, findProductRow(product), PSC_COL);
+ ProductType product = getConfigurationManager().getProduct(psc);
+ //tblModel.setValueAt(psc, findProductRow(product), PSC_COL);
prodRowMap.put(product, psc);
}
}
Modified:
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedPscPanel.java
===================================================================
---
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedPscPanel.java 2009-03-30
17:40:54 UTC (rev 660)
+++
trunk/console/src/main/java/com/metamatrix/console/ui/views/deploy/DeployedPscPanel.java 2009-03-30
17:54:19 UTC (rev 661)
@@ -266,8 +266,8 @@
Host host = (Host)theAncestors[1];
txfHost.setText(host.getName());
- ProductType product = getConfigurationManager().getProduct(psc);
- txfProduct.setText(product.getName());
+// ProductType product = getConfigurationManager().getProduct(psc);
+// txfProduct.setText(product.getName());
// populate table
tblModel.setNumRows(0);
Show replies by date