Thread: Easy question
View Single Post
  #5 (permalink)  
Old 08-04-2007, 12:10 AM
JavaNoob JavaNoob is offline
Member
 
Join Date: Aug 2007
Posts: 10
JavaNoob is on a distinguished road
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?
Reply With Quote