Break this statement into two steps and test what is returned by the findInLine() method to make sure it is not null before calling the charAt() method.
Type: Posts; User: Norm
Break this statement into two steps and test what is returned by the findInLine() method to make sure it is not null before calling the charAt() method.
The error message says you are trying to use a variable with a null value on line 28.
You need to look at line 28 and see what variable is null and then backtrack to see why that variable does not...