Throw NPE from Interval and Timeout if null is passed.