Issue #4608: TextureCache throw error.