|
I tried the "textline.equals("william") and it still ran through the txt file without println-ing the "xxxxx" . At the end, it did say:
Exception in thread "main" java.lang.NullPointerException
at ReadFile.main(ReadFile.java:13)
line 13 is where it if command is.
any more ideas?
|