Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-344

Exception throwns for IOUtils.closeQuietly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.4
    • None
    • Utilities
    • None

    Description

      Hi I am using apache commons tailer utilities as follows
      TailerListener listener = new VFTailerListerner();
      tailer = new Tailer(new File(myfile.txt), listener, 1000L,true);
      Thread thread = new Thread(tailer);
      thread.setDaemon(true);
      thread.start();

      But on calling tailer.stop

      I am getting this error message

      "Exception in thread "Thread-0" java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V
      at org.apache.commons.io.input.Tailer.run(Tailer.java:430)
      at java.lang.Thread.run(Thread.java:662)"

      Thanks
      sirfak

      Attachments

        Activity

          People

            Unassigned Unassigned
            sirfak ajay singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: