Skip to content

Commit

Permalink
Teiid Server Editor - avoid possible null exception
Browse files Browse the repository at this point in the history
* The admin ssl checkbox is not used or displayed if not editing a teiid 7
  server. Thus, eventuality shold be handled.
  • Loading branch information
Paul Richardson committed Jan 4, 2013
1 parent 902865d commit e21ef3e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ public void run() {
} else if (adminPort instanceof Label) {
((Label) adminPort).setText(teiidAdminInfo.getPort());
}
adminSSLCheckbox.setSelection(teiidAdminInfo.isSecure());

if (adminSSLCheckbox != null) {
adminSSLCheckbox.setSelection(teiidAdminInfo.isSecure());
}

jdbcUserNameText.setText(teiidJdbcInfo.getUsername());
jdbcPasswdText.setText(teiidJdbcInfo.getPassword());
Expand Down

0 comments on commit e21ef3e

Please sign in to comment.