Skip to content

Commit

Permalink
TEIIDDES-2007 added null datasource check because query on server mig…
Browse files Browse the repository at this point in the history
…ht be null.
  • Loading branch information
blafond committed Jan 6, 2014
1 parent ef0f82c commit a23457b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ public IStatus deployDynamicVdb(String vdbName, String sourceName, String transl
resultStatus = new Status(IStatus.ERROR, DqpPlugin.PLUGIN_ID, NLS.bind(Messages.ImportManagerGetDatasourceError, sourceName));
return resultStatus;
}

// data source could be null;
if( dataSource == null ) {
return new Status(IStatus.ERROR, DqpPlugin.PLUGIN_ID, NLS.bind(Messages.ImportManagerGetDatasourceError, sourceName));
}

monitor.worked(10);
workRemaining -= 10;

Expand Down

0 comments on commit a23457b

Please sign in to comment.