It's valid for the value to be NULL as long as you don't ask to use it. Calling machine() means you're going to use it, so it's normal you get a runtime error. The real question is why whatever method you're using to get at the names calls machine(), and whether it's really necessary.
OG.
|