Issue #2245039 by klausi: Implemented exception handling for required contexts that are missing.
Issue #2245055 by klausi: Added data processing for conditions.