• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileReader querry Code not working properly or what?

 
Sadaqatullah Noonari
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


The given code is supposed to read the file and return it in the form of an object. in the beginning it shows no error but when i try to print data it shows nothing and loops me back to where I started. need help in resolving this problem.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you're getting an exception, but as you totally ignore any exceptions that are thrown, you'll never know. As a minimum, print the stack trace.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic