I get a null pointer error on line 17 of the following fragment. I suspect it has to do with the way I am reading the file, but I'm unsure. I can provide more information or code if necessary. Thanks in Advanced.
Jeanne Boyarsky
,
author & internet detective
staff
You are reading from both the Scanner and the BufferedReader directly. That's going to confuse Java as to what you are up to. Can you try changing br.readLine() to get the next line from the scanner?
Post by:autobot
bacon. tiny ad:
a bit of art, as a gift, the permaculture playing cards