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

Exception throwns for IOUtils.closeQuietly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: