Problem was a null pointer Fixed by passing correct database name to slave filtering mechanism Added test.