Fix: using getLineNumber() method, instead of directly parsing the line
and column values of the warning.