Microsoft included “v1.0″ in the default path to PowerShell’s installation directory originally, and now they’re sort of stuck with it. You can ignore that part.
That said, I’m not sure what’s causing the actual error here. I don’t see anything there that looks like it should be able to produce a null reference exception.