Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<p> The result of invoking readLine() is dereferenced without checking to see if the result is null. If there are no more lines of text
to read, readLine() will return null and dereferencing that will generate a null pointer exception.
New to GrepCode? Check out our FAQ X