catch NullPointerException in FilterManager