You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ajay singh (JIRA)" <ji...@apache.org> on 2012/09/12 14:27:08 UTC
[jira] [Created] (IO-344) Exception throwns for
IOUtils.closeQuietly
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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "ajay singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454737#comment-13454737 ]
ajay singh commented on IO-344:
-------------------------------
Hi Joerg,
I am using jbehave 3.6.6 version in linux box. using SUN jdk1.6.32.
I tried to print my runtime classpaths in use.. Here is the result. I can see commons-io-2.4.jar in the classpath.
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/jbehave/jbehave-core/3.6.6/jbehave-core-3.6.6.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/junit/junit-dep/4.8.2/junit-dep-4.8.2.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/hamcrest/hamcrest-library/1.1/hamcrest-library-1.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/hamcrest/hamcrest-integration/1.1/hamcrest-integration-1.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/com/thoughtworks/paranamer/paranamer/2.4/paranamer-2.4.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
/opt/cce/AUTOMATION/eAMS/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Julien Aymé (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453967#comment-13453967 ]
Julien Aymé commented on IO-344:
--------------------------------
Do you have multiple commons-io.jar in your classpath? If not, could you check the version of commons-io you are using when launching your program?
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Joerg Schaible (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454042#comment-13454042 ]
Joerg Schaible commented on IO-344:
-----------------------------------
Actually, if org.apache.commons.io.IOUtils.closeQuietly(java.io.Closeable) is missing, it simply means that you are definitely *not* using commons-io-2.4 at runtime.
So, what is your runtime environment? Are you running in an app or web server?
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454774#comment-13454774 ]
Sebb commented on IO-344:
-------------------------
Try adding the following code to the method that starts the tailer:
{code}
(java.io.Closeable dummy = null;
IOUtils.closeQuietly(dummy);
{code}
Ditto just before calling tailer.stop().
Do these work OK?
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "ajay singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453995#comment-13453995 ]
ajay singh commented on IO-344:
-------------------------------
Julien,
I am using maven. and it has multiple version of commons-io in the repository
I can check by deleting the other version from repo.
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "ajay singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454796#comment-13454796 ]
ajay singh commented on IO-344:
-------------------------------
Hi Sebb,
I got the same exception (java.lang.NoSuchMethodError: org.apache.commons.io.IOUtils.closeQuietly(Ljava/io/Closeable;)V)
But I am now assured that this is an runtime issue. As I run the same code in standalone java class by adding commons-io-2.4 jar, I dont see the issue.
I think at run time, its loading older version of commons-io jar hence the issue
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453951#comment-13453951 ]
Gary D. Gregory commented on IO-344:
------------------------------------
This is odd. Which Java vendor?
What happens if add the following at the start:
{code:java}
System.out.println("java.version=" + System.getProperty("java.version"));
System.out.println("java.vendor=" + System.getProperty("java.vendor"));
{code}
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Joerg Schaible (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454794#comment-13454794 ]
Joerg Schaible commented on IO-344:
-----------------------------------
And how do you run jbehave?
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "ajay singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454001#comment-13454001 ]
ajay singh commented on IO-344:
-------------------------------
Hi Julien,
even after deleting other versions from maven local repository, its still throwing the same exception
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453945#comment-13453945 ]
Gary D. Gregory commented on IO-344:
------------------------------------
What version of Java are you using? Commons IO 2.4 requires Java 6. The {{java.io.Closeable}} interface was added to Java in version 1.5.
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454019#comment-13454019 ]
Gary D. Gregory commented on IO-344:
------------------------------------
What matter is what is on your classpath, not so much what is in your local repo cache.
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "ajay singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453993#comment-13453993 ]
ajay singh commented on IO-344:
-------------------------------
Gary,
I tried your option and below is the output
java.version=1.6.0_32
java.vendor=Sun Microsystems Inc
> 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
[jira] [Resolved] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved IO-344.
---------------------
Resolution: Invalid
Fix Version/s: (was: 2.4)
This is now clearly not an issue with Commons IO.
> 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
>
> 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
[jira] [Commented] (IO-344) Exception throwns for
IOUtils.closeQuietly
Posted by "ajay singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453948#comment-13453948 ]
ajay singh commented on IO-344:
-------------------------------
Hi Gary.
I am using jdk 1.6.0_32
Thanks
> 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