diff --git a/plugins/TestingList.java b/plugins/TestingList.java index ef59c7c..002c4fb 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -344,6 +344,7 @@ public class TestingList extends Panel { public String[] getTestInProgress() { String[] dsTestProperties = null; //search for device name in table + try{ for (int row = 0; row <= jTable1.getRowCount() - 1; row++) { if (jTable1.getValueAt(row, COL_STATUS).toString().equals("Running")) { dsTestProperties[0] = jTable1.getValueAt(row, COL_DEVICENAME).toString(); @@ -351,7 +352,13 @@ public class TestingList extends Panel { break; } } - return dsTestProperties; + } + catch (Exception ex) { + SwingUtils.showMessage(this, "", ex.toString()); + } + finally{ + return dsTestProperties; + } } //returns the status of the specified test name for specified device name