This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes FileReader querry Code not working properly or what? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "FileReader querry Code not working properly or what?" Watch "FileReader querry Code not working properly or what?" New topic
Author

FileReader querry Code not working properly or what?

Sadaqatullah Noonari
Greenhorn

Joined: Mar 22, 2011
Posts: 13


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

Joined: Aug 05, 2005
Posts: 3742
    
  16
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.


Joanne
 
Have you checked out Aspose?
 
subject: FileReader querry Code not working properly or what?
 
It's not a secret anymore!