Paul Clapham wrote:Look at line 50: you assign null to the "env" variable. Then in line 52 (where the error occurred) you tried to call a method on that variable. You can't call a method of a null value.
The fix is to assign something other than null to "env" in line 50.
Jesus, I deserve to be shot! Thanks a lot man, for pointing out what kind of prize numbskull i am.