Exceptions of accessing a null pointer in environment.