Skip to content

Commit

Permalink
0003635: If a trigger is deleted after it has been queue'd for a reload,
Browse files Browse the repository at this point in the history
but before it has had batches created a null pointer can occur
  • Loading branch information
chenson42 committed Jul 18, 2018
1 parent 590f0c7 commit 0b3e946
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1825,7 +1825,7 @@ protected void updateExtractRequestStatus(ISqlTransaction transaction, long extr

protected boolean canProcessExtractRequest(ExtractRequest request, CommunicationType communicationType) {
Trigger trigger = this.triggerRouterService.getTriggerById(request.getTriggerId());
if (trigger != null && !trigger.getSourceTableName().equalsIgnoreCase(TableConstants.getTableName(tablePrefix,
if (trigger == null || !trigger.getSourceTableName().equalsIgnoreCase(TableConstants.getTableName(tablePrefix,
TableConstants.SYM_FILE_SNAPSHOT))) {
return true;
} else {
Expand Down

0 comments on commit 0b3e946

Please sign in to comment.