JAL-2069 ensure threshline instantiated to avoid NPE