Cause
This error occurs if the contents of the handle pointer in the current call are invalid. The contents of a handle are loaded at context initialization time and are made invalid at context finalization time.
Action
Ensure that a context has been initialized properly and that it is still current.