Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Rep Power

    Default Getting FileNotFoundException in my java program after running for some time


    I have written a java program which opens BufferedReader to a file . Actually the program has to run for 30 days continuously once it has started. But the program has stopped after running for 30 hours. After 30 hours it is giving FileNotFoundException and making the program to stop.

    Anybody please help me out , why I am getting this exception.

    Thanks in Advance.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Colombo, Sri Lanka
    Blog Entries
    Rep Power


    Your application cause to unallocated the file you are going to read and found that FileNotFoundException. Since your application running on a long time, better to have a log to find what the file is reading at each time.

Similar Threads

  1. Replies: 22
    Last Post: 04-09-2011, 04:59 AM
  2. [SOLVED] opening/running a program from java
    By xcallmejudasx in forum New To Java
    Replies: 3
    Last Post: 11-25-2008, 09:12 AM
    By thevoice in forum New To Java
    Replies: 5
    Last Post: 06-13-2008, 08:38 AM
  4. Replies: 0
    Last Post: 04-04-2008, 02:49 PM
  5. Running java program with arguments in Unix"
    By gvi in forum Advanced Java
    Replies: 2
    Last Post: 11-08-2007, 08:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts