Skip to content

Commit

Permalink
0000752: Null pointer during trigger inactivation of deleted table ca…
Browse files Browse the repository at this point in the history
…n cause SymmetricDS engine not to start
  • Loading branch information
chenson42 committed Aug 7, 2012
1 parent 3fca14b commit 959a1f1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -802,7 +802,7 @@ protected void inactivateTriggers(List<Trigger> triggersThatShouldBeActive,
boolean removeTrigger = false;
Set<Table> tables = tablesByTriggerId.get(history.getTriggerId());
Trigger trigger = getTriggerById(history.getTriggerId(), false);
if (tables == null) {
if (tables == null && trigger != null) {
tables = getTablesForTrigger(trigger, triggersThatShouldBeActive);
tablesByTriggerId.put(trigger.getTriggerId(), tables);
}
Expand Down

0 comments on commit 959a1f1

Please sign in to comment.