commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ajay singh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-344) Exception throwns for IOUtils.closeQuietly
Date Wed, 12 Sep 2012 12:27:08 GMT
ajay singh created IO-344:
-----------------------------

             Summary: Exception throwns for  IOUtils.closeQuietly
                 Key: IO-344
                 URL: https://issues.apache.org/jira/browse/IO-344
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.4
            Reporter: ajay singh
             Fix For: 2.4


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

	

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message