The method lacks a comment block.

I also suggest testing if file and line are also non-null and the line is non-zero.
Don't want to combine all those (Unknown line 0) errors together.