Issue #2744421 by andypost, Wim Leers: QueryArgsCacheContext::getContext() may return NULL, violates the interface