Exception - Timer already cancelled

View: New views
17 Messages — Rating Filter:   Alert me  

Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

A customer of us gets the Exception below. Any ideas for a workaround?

Zsolt


2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     - Timer
already cancelled. [TP-Processor10]
java.lang.IllegalStateException: Timer already cancelled.
        at java.util.Timer.sched(Timer.java:354)
        at java.util.Timer.schedule(Timer.java:170)
        at
org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposito
ryPool.java:132)
        at
org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposito
ryPool.java:110)
        at
org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:141)
        at
org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.java
:183)
        at
cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaScm
ProviderRepository.java:131)
        at
cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
        at cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
        at
cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevisio
n.java:159)
        at
cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
        at
cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

Zsolt



Parent Message unknown RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any news on this issue?

Zsolt

> -----Original Message-----
> From: Zsolt Koppany [mailto:zkoppanylist@...]
> Sent: Thursday, September 27, 2007 6:20 AM
> To: javasvn-users@...
> Subject: Exception - Timer already cancelled
>
> Hi,
>
> A customer of us gets the Exception below. Any ideas for a workaround?
>
> Zsolt
>
>
> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     - Timer
> already cancelled. [TP-Processor10]
> java.lang.IllegalStateException: Timer already cancelled.
>         at java.util.Timer.sched(Timer.java:354)
>         at java.util.Timer.schedule(Timer.java:170)
>         at
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> to
> ryPool.java:132)
>         at
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> to
> ryPool.java:110)
>         at
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> 1)
>         at
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> va
> :183)
>         at
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> cm
> ProviderRepository.java:131)
>         at
> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>         at cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>         at
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> io
> n.java:159)
>         at
> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>         at
> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> on
> FilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> Ch
> ain.java:173)
>         at cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> on
> FilterChain.java:202)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> Ch
> ain.java:173)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> ja
> va:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> ja
> va:178)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> 26
> )
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> 05
> )
>
> Zsolt



Parent Message unknown Re: Exception - Timer already cancelled

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Zsolt,

Sorry, I've missed original email. Exception looks pretty strange -
DefaultSVNRepositoryPool uses single Timer instance (static) and never
calls "cancel" on it.

What I found in the source code is that Timer object could be considered
canceled in case there was an exception thrown during task execution. I
think this is the reason of the problem and we've fixed it in branch
1.1.x revision 3473.

Could you please ask customer to try latest version of SVNKit from 1.1.x
branch? Thanks!

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Any news on this issue?
>
> Zsolt
>> -----Original Message-----
>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>> Sent: Thursday, September 27, 2007 6:20 AM
>> To: javasvn-users@...
>> Subject: Exception - Timer already cancelled
>>
>> Hi,
>>
>> A customer of us gets the Exception below. Any ideas for a workaround?
>>
>> Zsolt
>>
>>
>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     - Timer
>> already cancelled. [TP-Processor10]
>> java.lang.IllegalStateException: Timer already cancelled.
>>         at java.util.Timer.sched(Timer.java:354)
>>         at java.util.Timer.schedule(Timer.java:170)
>>         at
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>> to
>> ryPool.java:132)
>>         at
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>> to
>> ryPool.java:110)
>>         at
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>> 1)
>>         at
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>> va
>> :183)
>>         at
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>> cm
>> ProviderRepository.java:131)
>>         at
>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>         at cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>         at
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>> io
>> n.java:159)
>>         at
>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>         at
>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>> on
>> FilterChain.java:252)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>> Ch
>> ain.java:173)
>>         at cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>> on
>> FilterChain.java:202)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>> Ch
>> ain.java:173)
>>         at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>> ja
>> va:213)
>>         at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>> ja
>> va:178)
>>         at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>> 26
>> )
>>         at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>> 05
>> )
>>
>> Zsolt
>
>
>

RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

can you give me a jar file? Do all your tests work on this branch? We want
to use this version on a production server.

Zsolt

> -----Original Message-----
> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> Sent: Wednesday, October 03, 2007 8:19 PM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello Zsolt,
>
> Sorry, I've missed original email. Exception looks pretty strange -
> DefaultSVNRepositoryPool uses single Timer instance (static) and never
> calls "cancel" on it.
>
> What I found in the source code is that Timer object could be considered
> canceled in case there was an exception thrown during task execution. I
> think this is the reason of the problem and we've fixed it in branch
> 1.1.x revision 3473.
>
> Could you please ask customer to try latest version of SVNKit from 1.1.x
> branch? Thanks!
>
> Alexander Kitaev,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Any news on this issue?
> >
> > Zsolt
> >> -----Original Message-----
> >> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >> Sent: Thursday, September 27, 2007 6:20 AM
> >> To: javasvn-users@...
> >> Subject: Exception - Timer already cancelled
> >>
> >> Hi,
> >>
> >> A customer of us gets the Exception below. Any ideas for a workaround?
> >>
> >> Zsolt
> >>
> >>
> >> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     -
> Timer
> >> already cancelled. [TP-Processor10]
> >> java.lang.IllegalStateException: Timer already cancelled.
> >>         at java.util.Timer.sched(Timer.java:354)
> >>         at java.util.Timer.schedule(Timer.java:170)
> >>         at
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >> to
> >> ryPool.java:132)
> >>         at
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >> to
> >> ryPool.java:110)
> >>         at
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >> 1)
> >>         at
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >> va
> >> :183)
> >>         at
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >> cm
> >> ProviderRepository.java:131)
> >>         at
> >> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>         at cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>         at
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >> io
> >> n.java:159)
> >>         at
> >> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>         at
> >> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>         at
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >> on
> >> FilterChain.java:252)
> >>         at
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >> Ch
> >> ain.java:173)
> >>         at cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>         at
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >> on
> >> FilterChain.java:202)
> >>         at
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >> Ch
> >> ain.java:173)
> >>         at
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >> ja
> >> va:213)
> >>         at
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >> ja
> >> va:178)
> >>         at
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >> 26
> >> )
> >>         at
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >> 05
> >> )
> >>
> >> Zsolt
> >
> >
> >


Parent Message unknown Re: Exception - Timer already cancelled

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Zsolt,

 > can you give me a jar file? Do all your tests work on this branch? We
want
 > to use this version on a production server.
I would recommend you to use build #3484 from 1.1.x branch. All tests
pass for it. Later versions includes JNI libraries that are not well
tested yet and anyway we'd like to replace them with JNA.

You may download build #3484 at
https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&buildId=998


Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> can you give me a jar file? Do all your tests work on this branch? We want
> to use this version on a production server.
>
> Zsolt
>
>> -----Original Message-----
>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>> Sent: Wednesday, October 03, 2007 8:19 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello Zsolt,
>>
>> Sorry, I've missed original email. Exception looks pretty strange -
>> DefaultSVNRepositoryPool uses single Timer instance (static) and never
>> calls "cancel" on it.
>>
>> What I found in the source code is that Timer object could be considered
>> canceled in case there was an exception thrown during task execution. I
>> think this is the reason of the problem and we've fixed it in branch
>> 1.1.x revision 3473.
>>
>> Could you please ask customer to try latest version of SVNKit from 1.1.x
>> branch? Thanks!
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Any news on this issue?
>>>
>>> Zsolt
>>>> -----Original Message-----
>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>> To: javasvn-users@...
>>>> Subject: Exception - Timer already cancelled
>>>>
>>>> Hi,
>>>>
>>>> A customer of us gets the Exception below. Any ideas for a workaround?
>>>>
>>>> Zsolt
>>>>
>>>>
>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     -
>> Timer
>>>> already cancelled. [TP-Processor10]
>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>         at
>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>> to
>>>> ryPool.java:132)
>>>>         at
>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>> to
>>>> ryPool.java:110)
>>>>         at
>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>> 1)
>>>>         at
>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>> va
>>>> :183)
>>>>         at
>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>> cm
>>>> ProviderRepository.java:131)
>>>>         at
>>>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>         at cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>         at
>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>> io
>>>> n.java:159)
>>>>         at
>>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>         at
>>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>         at
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>> on
>>>> FilterChain.java:252)
>>>>         at
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>> Ch
>>>> ain.java:173)
>>>>         at cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>         at
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>> on
>>>> FilterChain.java:202)
>>>>         at
>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>> Ch
>>>> ain.java:173)
>>>>         at
>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>> ja
>>>> va:213)
>>>>         at
>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>> ja
>>>> va:178)
>>>>         at
>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>> 26
>>>> )
>>>>         at
>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>> 05
>>>> )
>>>>
>>>> Zsolt
>>>
>>>
>
>

RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

this mornig I got the exeception below (using svnkit-1.1.4.3484):

Any ideas?

Zsolt

2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
java.lang.IllegalStateException [TP-Processor506]
java.lang.IllegalStateException: Timer already cancelled.
    at java.util.Timer.sched(Timer.java:369)
    at java.util.Timer.schedule(Timer.java:185)
    at
org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposito
ryPool.java:133)
    at
org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposito
ryPool.java:111)
    at
org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:141)
    at
org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.java
:183)
    at
cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaScm
ProviderRepository.java:131)
    at
cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
    at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)


> -----Original Message-----
> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> Sent: Thursday, October 04, 2007 6:26 PM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello Zsolt,
>
>  > can you give me a jar file? Do all your tests work on this branch? We
> want
>  > to use this version on a production server.
> I would recommend you to use build #3484 from 1.1.x branch. All tests
> pass for it. Later versions includes JNI libraries that are not well
> tested yet and anyway we'd like to replace them with JNA.
>
> You may download build #3484 at
> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
> ldId=998
>
>
> Alexander Kitaev,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Alexander,
> >
> > can you give me a jar file? Do all your tests work on this branch? We
> want
> > to use this version on a production server.
> >
> > Zsolt
> >
> >> -----Original Message-----
> >> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >> Sent: Wednesday, October 03, 2007 8:19 PM
> >> To: javasvn-users@...
> >> Subject: Re: Exception - Timer already cancelled
> >>
> >> Hello Zsolt,
> >>
> >> Sorry, I've missed original email. Exception looks pretty strange -
> >> DefaultSVNRepositoryPool uses single Timer instance (static) and never
> >> calls "cancel" on it.
> >>
> >> What I found in the source code is that Timer object could be
> considered
> >> canceled in case there was an exception thrown during task execution. I
> >> think this is the reason of the problem and we've fixed it in branch
> >> 1.1.x revision 3473.
> >>
> >> Could you please ask customer to try latest version of SVNKit from
> 1.1.x
> >> branch? Thanks!
> >>
> >> Alexander Kitaev,
> >> TMate Software,
> >> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>
> >> Zsolt Koppany wrote:
> >>> Any news on this issue?
> >>>
> >>> Zsolt
> >>>> -----Original Message-----
> >>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >>>> Sent: Thursday, September 27, 2007 6:20 AM
> >>>> To: javasvn-users@...
> >>>> Subject: Exception - Timer already cancelled
> >>>>
> >>>> Hi,
> >>>>
> >>>> A customer of us gets the Exception below. Any ideas for a
> workaround?
> >>>>
> >>>> Zsolt
> >>>>
> >>>>
> >>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     -
> >> Timer
> >>>> already cancelled. [TP-Processor10]
> >>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>         at java.util.Timer.sched(Timer.java:354)
> >>>>         at java.util.Timer.schedule(Timer.java:170)
> >>>>         at
> >>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>> to
> >>>> ryPool.java:132)
> >>>>         at
> >>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>> to
> >>>> ryPool.java:110)
> >>>>         at
> >>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>> 1)
> >>>>         at
> >>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>> va
> >>>> :183)
> >>>>         at
> >>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>> cm
> >>>> ProviderRepository.java:131)
> >>>>         at
> >>>>
> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>>>         at
> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>>>         at
> >>>>
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >>>> io
> >>>> n.java:159)
> >>>>         at
> >>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>>>         at
> >>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>>>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>>>         at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>> on
> >>>> FilterChain.java:252)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>> Ch
> >>>> ain.java:173)
> >>>>         at
> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>> on
> >>>> FilterChain.java:202)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>> Ch
> >>>> ain.java:173)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >>>> ja
> >>>> va:213)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >>>> ja
> >>>> va:178)
> >>>>         at
> >>>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >>>> 26
> >>>> )
> >>>>         at
> >>>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >>>> 05
> >>>> )
> >>>>
> >>>> Zsolt
> >>>
> >>>
> >
> >


Parent Message unknown Re: Exception - Timer already cancelled

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Zsolt,

This problem has to be fixed in revision 3473 in 1.1.x branch, so far I
have no ideas why it could appear in later revisions.

Timer only could enter "cancelled" state when unhandled exception is
thrown while its task is running, but now there is "try/catch
(Throwable)" clause that should make sure that this doesn't happen.
Also, in case there was such an exception it should be logged - do you
have another exceptions in the log file?

Another possible reason is that Timer object has been collected by GC
(for that to happen there should be no references left to
DefaultSVNRepositoryPool.class, I suppose this could happen in case
class loader used to load SVNKit classes has been garbage collected) -
but even in that case new Timer instance will be created when
DefaultSVNRepositoryPool class is initialized again.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> this mornig I got the exeception below (using svnkit-1.1.4.3484):
>
> Any ideas?
>
> Zsolt
>
> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
> java.lang.IllegalStateException [TP-Processor506]
> java.lang.IllegalStateException: Timer already cancelled.
>     at java.util.Timer.sched(Timer.java:369)
>     at java.util.Timer.schedule(Timer.java:185)
>     at
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposito
> ryPool.java:133)
>     at
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposito
> ryPool.java:111)
>     at
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:141)
>     at
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.java
> :183)
>     at
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaScm
> ProviderRepository.java:131)
>     at
> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
>
>
>> -----Original Message-----
>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>> Sent: Thursday, October 04, 2007 6:26 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello Zsolt,
>>
>>  > can you give me a jar file? Do all your tests work on this branch? We
>> want
>>  > to use this version on a production server.
>> I would recommend you to use build #3484 from 1.1.x branch. All tests
>> pass for it. Later versions includes JNI libraries that are not well
>> tested yet and anyway we'd like to replace them with JNA.
>>
>> You may download build #3484 at
>> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
>> ldId=998
>>
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Alexander,
>>>
>>> can you give me a jar file? Do all your tests work on this branch? We
>> want
>>> to use this version on a production server.
>>>
>>> Zsolt
>>>
>>>> -----Original Message-----
>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>> Sent: Wednesday, October 03, 2007 8:19 PM
>>>> To: javasvn-users@...
>>>> Subject: Re: Exception - Timer already cancelled
>>>>
>>>> Hello Zsolt,
>>>>
>>>> Sorry, I've missed original email. Exception looks pretty strange -
>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and never
>>>> calls "cancel" on it.
>>>>
>>>> What I found in the source code is that Timer object could be
>> considered
>>>> canceled in case there was an exception thrown during task execution. I
>>>> think this is the reason of the problem and we've fixed it in branch
>>>> 1.1.x revision 3473.
>>>>
>>>> Could you please ask customer to try latest version of SVNKit from
>> 1.1.x
>>>> branch? Thanks!
>>>>
>>>> Alexander Kitaev,
>>>> TMate Software,
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> Zsolt Koppany wrote:
>>>>> Any news on this issue?
>>>>>
>>>>> Zsolt
>>>>>> -----Original Message-----
>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>>>> To: javasvn-users@...
>>>>>> Subject: Exception - Timer already cancelled
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> A customer of us gets the Exception below. Any ideas for a
>> workaround?
>>>>>> Zsolt
>>>>>>
>>>>>>
>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     -
>>>> Timer
>>>>>> already cancelled. [TP-Processor10]
>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>>>         at
>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>> to
>>>>>> ryPool.java:132)
>>>>>>         at
>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>> to
>>>>>> ryPool.java:110)
>>>>>>         at
>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>> 1)
>>>>>>         at
>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>> va
>>>>>> :183)
>>>>>>         at
>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>> cm
>>>>>> ProviderRepository.java:131)
>>>>>>         at
>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>>>         at
>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>>>         at
>>>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>>>> io
>>>>>> n.java:159)
>>>>>>         at
>>>>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>>>         at
>>>>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>>>         at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>>         at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>> on
>>>>>> FilterChain.java:252)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>> Ch
>>>>>> ain.java:173)
>>>>>>         at
>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>> on
>>>>>> FilterChain.java:202)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>> Ch
>>>>>> ain.java:173)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>>>> ja
>>>>>> va:213)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>>>> ja
>>>>>> va:178)
>>>>>>         at
>>>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>>>> 26
>>>>>> )
>>>>>>         at
>>>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>>>> 05
>>>>>> )
>>>>>>
>>>>>> Zsolt
>>>>>
>>>
>
>

RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

we use this file:

-rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar

When is the next stable release is planned?

Zsolt

> -----Original Message-----
> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> Sent: Friday, October 26, 2007 4:37 PM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello Zsolt,
>
> This problem has to be fixed in revision 3473 in 1.1.x branch, so far I
> have no ideas why it could appear in later revisions.
>
> Timer only could enter "cancelled" state when unhandled exception is
> thrown while its task is running, but now there is "try/catch
> (Throwable)" clause that should make sure that this doesn't happen.
> Also, in case there was such an exception it should be logged - do you
> have another exceptions in the log file?
>
> Another possible reason is that Timer object has been collected by GC
> (for that to happen there should be no references left to
> DefaultSVNRepositoryPool.class, I suppose this could happen in case
> class loader used to load SVNKit classes has been garbage collected) -
> but even in that case new Timer instance will be created when
> DefaultSVNRepositoryPool class is initialized again.
>
> Alexander Kitaev,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Alexander,
> >
> > this mornig I got the exeception below (using svnkit-1.1.4.3484):
> >
> > Any ideas?
> >
> > Zsolt
> >
> > 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
> > java.lang.IllegalStateException [TP-Processor506]
> > java.lang.IllegalStateException: Timer already cancelled.
> >     at java.util.Timer.sched(Timer.java:369)
> >     at java.util.Timer.schedule(Timer.java:185)
> >     at
> >
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> to
> > ryPool.java:133)
> >     at
> >
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> to
> > ryPool.java:111)
> >     at
> >
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> 1)
> >     at
> >
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> va
> > :183)
> >     at
> >
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> cm
> > ProviderRepository.java:131)
> >     at
> > cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
> >     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
> >
> >
> >> -----Original Message-----
> >> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >> Sent: Thursday, October 04, 2007 6:26 PM
> >> To: javasvn-users@...
> >> Subject: Re: Exception - Timer already cancelled
> >>
> >> Hello Zsolt,
> >>
> >>  > can you give me a jar file? Do all your tests work on this branch?
> We
> >> want
> >>  > to use this version on a production server.
> >> I would recommend you to use build #3484 from 1.1.x branch. All tests
> >> pass for it. Later versions includes JNI libraries that are not well
> >> tested yet and anyway we'd like to replace them with JNA.
> >>
> >> You may download build #3484 at
> >>
> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
> >> ldId=998
> >>
> >>
> >> Alexander Kitaev,
> >> TMate Software,
> >> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>
> >> Zsolt Koppany wrote:
> >>> Alexander,
> >>>
> >>> can you give me a jar file? Do all your tests work on this branch? We
> >> want
> >>> to use this version on a production server.
> >>>
> >>> Zsolt
> >>>
> >>>> -----Original Message-----
> >>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>> Sent: Wednesday, October 03, 2007 8:19 PM
> >>>> To: javasvn-users@...
> >>>> Subject: Re: Exception - Timer already cancelled
> >>>>
> >>>> Hello Zsolt,
> >>>>
> >>>> Sorry, I've missed original email. Exception looks pretty strange -
> >>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
> never
> >>>> calls "cancel" on it.
> >>>>
> >>>> What I found in the source code is that Timer object could be
> >> considered
> >>>> canceled in case there was an exception thrown during task execution.
> I
> >>>> think this is the reason of the problem and we've fixed it in branch
> >>>> 1.1.x revision 3473.
> >>>>
> >>>> Could you please ask customer to try latest version of SVNKit from
> >> 1.1.x
> >>>> branch? Thanks!
> >>>>
> >>>> Alexander Kitaev,
> >>>> TMate Software,
> >>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>
> >>>> Zsolt Koppany wrote:
> >>>>> Any news on this issue?
> >>>>>
> >>>>> Zsolt
> >>>>>> -----Original Message-----
> >>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >>>>>> Sent: Thursday, September 27, 2007 6:20 AM
> >>>>>> To: javasvn-users@...
> >>>>>> Subject: Exception - Timer already cancelled
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>> A customer of us gets the Exception below. Any ideas for a
> >> workaround?
> >>>>>> Zsolt
> >>>>>>
> >>>>>>
> >>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     -
> >>>> Timer
> >>>>>> already cancelled. [TP-Processor10]
> >>>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>>         at java.util.Timer.sched(Timer.java:354)
> >>>>>>         at java.util.Timer.schedule(Timer.java:170)
> >>>>>>         at
> >>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>> to
> >>>>>> ryPool.java:132)
> >>>>>>         at
> >>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>> to
> >>>>>> ryPool.java:110)
> >>>>>>         at
> >>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>>>> 1)
> >>>>>>         at
> >>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>>>> va
> >>>>>> :183)
> >>>>>>         at
> >>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>>>> cm
> >>>>>> ProviderRepository.java:131)
> >>>>>>         at
> >>>>>>
> >> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>>>>>         at
> >> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>>>>>         at
> >>>>>>
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >>>>>> io
> >>>>>> n.java:159)
> >>>>>>         at
> >>>>>>
> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>>>>>         at
> >>>>>>
> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>>>>>         at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>>>>>         at
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>> on
> >>>>>> FilterChain.java:252)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>> Ch
> >>>>>> ain.java:173)
> >>>>>>         at
> >> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>> on
> >>>>>> FilterChain.java:202)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>> Ch
> >>>>>> ain.java:173)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >>>>>> ja
> >>>>>> va:213)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >>>>>> ja
> >>>>>> va:178)
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >>>>>> 26
> >>>>>> )
> >>>>>>         at
> >>>>>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >>>>>> 05
> >>>>>> )
> >>>>>>
> >>>>>> Zsolt
> >>>>>
> >>>
> >
> >


Re: Exception - Timer already cancelled

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello ZSolt,

Is that the latest binary from 1.1.x branch?

Regarding release time all I can say that it will happen not sooner than
when Subversion 1.5 is released.

----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> we use this file:
>
> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
>
> When is the next stable release is planned?
>
> Zsolt
>
>> -----Original Message-----
>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>> Sent: Friday, October 26, 2007 4:37 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello Zsolt,
>>
>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far I
>> have no ideas why it could appear in later revisions.
>>
>> Timer only could enter "cancelled" state when unhandled exception is
>> thrown while its task is running, but now there is "try/catch
>> (Throwable)" clause that should make sure that this doesn't happen.
>> Also, in case there was such an exception it should be logged - do you
>> have another exceptions in the log file?
>>
>> Another possible reason is that Timer object has been collected by GC
>> (for that to happen there should be no references left to
>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
>> class loader used to load SVNKit classes has been garbage collected) -
>> but even in that case new Timer instance will be created when
>> DefaultSVNRepositoryPool class is initialized again.
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Alexander,
>>>
>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
>>>
>>> Any ideas?
>>>
>>> Zsolt
>>>
>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
>>> java.lang.IllegalStateException [TP-Processor506]
>>> java.lang.IllegalStateException: Timer already cancelled.
>>>     at java.util.Timer.sched(Timer.java:369)
>>>     at java.util.Timer.schedule(Timer.java:185)
>>>     at
>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>> to
>>> ryPool.java:133)
>>>     at
>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>> to
>>> ryPool.java:111)
>>>     at
>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>> 1)
>>>     at
>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>> va
>>> :183)
>>>     at
>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>> cm
>>> ProviderRepository.java:131)
>>>     at
>>> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
>>>
>>>
>>>> -----Original Message-----
>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>> Sent: Thursday, October 04, 2007 6:26 PM
>>>> To: javasvn-users@...
>>>> Subject: Re: Exception - Timer already cancelled
>>>>
>>>> Hello Zsolt,
>>>>
>>>>  > can you give me a jar file? Do all your tests work on this branch?
>> We
>>>> want
>>>>  > to use this version on a production server.
>>>> I would recommend you to use build #3484 from 1.1.x branch. All tests
>>>> pass for it. Later versions includes JNI libraries that are not well
>>>> tested yet and anyway we'd like to replace them with JNA.
>>>>
>>>> You may download build #3484 at
>>>>
>> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
>>>> ldId=998
>>>>
>>>>
>>>> Alexander Kitaev,
>>>> TMate Software,
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> Zsolt Koppany wrote:
>>>>> Alexander,
>>>>>
>>>>> can you give me a jar file? Do all your tests work on this branch? We
>>>> want
>>>>> to use this version on a production server.
>>>>>
>>>>> Zsolt
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
>>>>>> To: javasvn-users@...
>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>
>>>>>> Hello Zsolt,
>>>>>>
>>>>>> Sorry, I've missed original email. Exception looks pretty strange -
>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
>> never
>>>>>> calls "cancel" on it.
>>>>>>
>>>>>> What I found in the source code is that Timer object could be
>>>> considered
>>>>>> canceled in case there was an exception thrown during task execution.
>> I
>>>>>> think this is the reason of the problem and we've fixed it in branch
>>>>>> 1.1.x revision 3473.
>>>>>>
>>>>>> Could you please ask customer to try latest version of SVNKit from
>>>> 1.1.x
>>>>>> branch? Thanks!
>>>>>>
>>>>>> Alexander Kitaev,
>>>>>> TMate Software,
>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>
>>>>>> Zsolt Koppany wrote:
>>>>>>> Any news on this issue?
>>>>>>>
>>>>>>> Zsolt
>>>>>>>> -----Original Message-----
>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>>>>>> To: javasvn-users@...
>>>>>>>> Subject: Exception - Timer already cancelled
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> A customer of us gets the Exception below. Any ideas for a
>>>> workaround?
>>>>>>>> Zsolt
>>>>>>>>
>>>>>>>>
>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision     -
>>>>>> Timer
>>>>>>>> already cancelled. [TP-Processor10]
>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>>>>>         at
>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>> to
>>>>>>>> ryPool.java:132)
>>>>>>>>         at
>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>> to
>>>>>>>> ryPool.java:110)
>>>>>>>>         at
>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>>>> 1)
>>>>>>>>         at
>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>>>> va
>>>>>>>> :183)
>>>>>>>>         at
>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>>>> cm
>>>>>>>> ProviderRepository.java:131)
>>>>>>>>         at
>>>>>>>>
>>>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>>>>>         at
>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>>>>>         at
>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>>>>>> io
>>>>>>>> n.java:159)
>>>>>>>>         at
>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>>>>>         at
>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>>>>>         at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>>>>         at
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>> on
>>>>>>>> FilterChain.java:252)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>> Ch
>>>>>>>> ain.java:173)
>>>>>>>>         at
>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>> on
>>>>>>>> FilterChain.java:202)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>> Ch
>>>>>>>> ain.java:173)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>>>>>> ja
>>>>>>>> va:213)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>>>>>> ja
>>>>>>>> va:178)
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>>>>>> 26
>>>>>>>> )
>>>>>>>>         at
>>>>>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>>>>>> 05
>>>>>>>> )
>>>>>>>>
>>>>>>>> Zsolt
>>>
>
>
>

RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

this is the version: svnkit-1.1.4.3484.

How can I get the build number during run-rime?

Zsolt

> -----Original Message-----
> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> Sent: Saturday, November 03, 2007 3:20 PM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello ZSolt,
>
> Is that the latest binary from 1.1.x branch?
>
> Regarding release time all I can say that it will happen not sooner than
> when Subversion 1.5 is released.
>
> ----
> Alexander Sinyushkin,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Alexander,
> >
> > we use this file:
> >
> > -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
> >
> > When is the next stable release is planned?
> >
> > Zsolt
> >
> >> -----Original Message-----
> >> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >> Sent: Friday, October 26, 2007 4:37 PM
> >> To: javasvn-users@...
> >> Subject: Re: Exception - Timer already cancelled
> >>
> >> Hello Zsolt,
> >>
> >> This problem has to be fixed in revision 3473 in 1.1.x branch, so far I
> >> have no ideas why it could appear in later revisions.
> >>
> >> Timer only could enter "cancelled" state when unhandled exception is
> >> thrown while its task is running, but now there is "try/catch
> >> (Throwable)" clause that should make sure that this doesn't happen.
> >> Also, in case there was such an exception it should be logged - do you
> >> have another exceptions in the log file?
> >>
> >> Another possible reason is that Timer object has been collected by GC
> >> (for that to happen there should be no references left to
> >> DefaultSVNRepositoryPool.class, I suppose this could happen in case
> >> class loader used to load SVNKit classes has been garbage collected) -
> >> but even in that case new Timer instance will be created when
> >> DefaultSVNRepositoryPool class is initialized again.
> >>
> >> Alexander Kitaev,
> >> TMate Software,
> >> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>
> >> Zsolt Koppany wrote:
> >>> Alexander,
> >>>
> >>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
> >>>
> >>> Any ideas?
> >>>
> >>> Zsolt
> >>>
> >>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
> >>> java.lang.IllegalStateException [TP-Processor506]
> >>> java.lang.IllegalStateException: Timer already cancelled.
> >>>     at java.util.Timer.sched(Timer.java:369)
> >>>     at java.util.Timer.schedule(Timer.java:185)
> >>>     at
> >>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >> to
> >>> ryPool.java:133)
> >>>     at
> >>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >> to
> >>> ryPool.java:111)
> >>>     at
> >>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >> 1)
> >>>     at
> >>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >> va
> >>> :183)
> >>>     at
> >>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >> cm
> >>> ProviderRepository.java:131)
> >>>     at
> >>>
> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
> >>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>> Sent: Thursday, October 04, 2007 6:26 PM
> >>>> To: javasvn-users@...
> >>>> Subject: Re: Exception - Timer already cancelled
> >>>>
> >>>> Hello Zsolt,
> >>>>
> >>>>  > can you give me a jar file? Do all your tests work on this branch?
> >> We
> >>>> want
> >>>>  > to use this version on a production server.
> >>>> I would recommend you to use build #3484 from 1.1.x branch. All tests
> >>>> pass for it. Later versions includes JNI libraries that are not well
> >>>> tested yet and anyway we'd like to replace them with JNA.
> >>>>
> >>>> You may download build #3484 at
> >>>>
> >>
> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
> >>>> ldId=998
> >>>>
> >>>>
> >>>> Alexander Kitaev,
> >>>> TMate Software,
> >>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>
> >>>> Zsolt Koppany wrote:
> >>>>> Alexander,
> >>>>>
> >>>>> can you give me a jar file? Do all your tests work on this branch?
> We
> >>>> want
> >>>>> to use this version on a production server.
> >>>>>
> >>>>> Zsolt
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
> >>>>>> To: javasvn-users@...
> >>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>
> >>>>>> Hello Zsolt,
> >>>>>>
> >>>>>> Sorry, I've missed original email. Exception looks pretty strange -
> >>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
> >> never
> >>>>>> calls "cancel" on it.
> >>>>>>
> >>>>>> What I found in the source code is that Timer object could be
> >>>> considered
> >>>>>> canceled in case there was an exception thrown during task
> execution.
> >> I
> >>>>>> think this is the reason of the problem and we've fixed it in
> branch
> >>>>>> 1.1.x revision 3473.
> >>>>>>
> >>>>>> Could you please ask customer to try latest version of SVNKit from
> >>>> 1.1.x
> >>>>>> branch? Thanks!
> >>>>>>
> >>>>>> Alexander Kitaev,
> >>>>>> TMate Software,
> >>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>
> >>>>>> Zsolt Koppany wrote:
> >>>>>>> Any news on this issue?
> >>>>>>>
> >>>>>>> Zsolt
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
> >>>>>>>> To: javasvn-users@...
> >>>>>>>> Subject: Exception - Timer already cancelled
> >>>>>>>>
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> A customer of us gets the Exception below. Any ideas for a
> >>>> workaround?
> >>>>>>>> Zsolt
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
> -
> >>>>>> Timer
> >>>>>>>> already cancelled. [TP-Processor10]
> >>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>>>>         at java.util.Timer.sched(Timer.java:354)
> >>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>> to
> >>>>>>>> ryPool.java:132)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>> to
> >>>>>>>> ryPool.java:110)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>>>>>> 1)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>>>>>> va
> >>>>>>>> :183)
> >>>>>>>>         at
> >>>>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>>>>>> cm
> >>>>>>>> ProviderRepository.java:131)
> >>>>>>>>         at
> >>>>>>>>
> >>>>
> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>>>>>>>         at
> >>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>>>>>>>         at
> >>>>>>>>
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >>>>>>>> io
> >>>>>>>> n.java:159)
> >>>>>>>>         at
> >>>>>>>>
> >> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>>>>>>>         at
> >>>>>>>>
> >> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>>>>>>>         at
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>>>>>>>         at
> >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>> on
> >>>>>>>> FilterChain.java:252)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>> Ch
> >>>>>>>> ain.java:173)
> >>>>>>>>         at
> >>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>> on
> >>>>>>>> FilterChain.java:202)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>> Ch
> >>>>>>>> ain.java:173)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >>>>>>>> ja
> >>>>>>>> va:213)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >>>>>>>> ja
> >>>>>>>> va:178)
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >>>>>>>> 26
> >>>>>>>> )
> >>>>>>>>         at
> >>>>>>>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >>>>>>>> 05
> >>>>>>>> )
> >>>>>>>>
> >>>>>>>> Zsolt
> >>>
> >
> >
> >


Re: Exception - Timer already cancelled

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello ZSolt,

On our build server I can see that the latest build for 1.1.x branch
full configuration is svnkit-1.1.4.3579, I would suggest you to try it
(just follow the artifacts link for the full 1.1.x configuration on
https://teamcity.svnkit.com). We would be glad to hear about your
testing results.

----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> this is the version: svnkit-1.1.4.3484.
>
> How can I get the build number during run-rime?
>
> Zsolt
>
>> -----Original Message-----
>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
>> Sent: Saturday, November 03, 2007 3:20 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello ZSolt,
>>
>> Is that the latest binary from 1.1.x branch?
>>
>> Regarding release time all I can say that it will happen not sooner than
>> when Subversion 1.5 is released.
>>
>> ----
>> Alexander Sinyushkin,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Alexander,
>>>
>>> we use this file:
>>>
>>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
>>>
>>> When is the next stable release is planned?
>>>
>>> Zsolt
>>>
>>>> -----Original Message-----
>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>> Sent: Friday, October 26, 2007 4:37 PM
>>>> To: javasvn-users@...
>>>> Subject: Re: Exception - Timer already cancelled
>>>>
>>>> Hello Zsolt,
>>>>
>>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far I
>>>> have no ideas why it could appear in later revisions.
>>>>
>>>> Timer only could enter "cancelled" state when unhandled exception is
>>>> thrown while its task is running, but now there is "try/catch
>>>> (Throwable)" clause that should make sure that this doesn't happen.
>>>> Also, in case there was such an exception it should be logged - do you
>>>> have another exceptions in the log file?
>>>>
>>>> Another possible reason is that Timer object has been collected by GC
>>>> (for that to happen there should be no references left to
>>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
>>>> class loader used to load SVNKit classes has been garbage collected) -
>>>> but even in that case new Timer instance will be created when
>>>> DefaultSVNRepositoryPool class is initialized again.
>>>>
>>>> Alexander Kitaev,
>>>> TMate Software,
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> Zsolt Koppany wrote:
>>>>> Alexander,
>>>>>
>>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Zsolt
>>>>>
>>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
>>>>> java.lang.IllegalStateException [TP-Processor506]
>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>     at java.util.Timer.sched(Timer.java:369)
>>>>>     at java.util.Timer.schedule(Timer.java:185)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>> to
>>>>> ryPool.java:133)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>> to
>>>>> ryPool.java:111)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>> 1)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>> va
>>>>> :183)
>>>>>     at
>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>> cm
>>>>> ProviderRepository.java:131)
>>>>>     at
>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
>>>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>> Sent: Thursday, October 04, 2007 6:26 PM
>>>>>> To: javasvn-users@...
>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>
>>>>>> Hello Zsolt,
>>>>>>
>>>>>>  > can you give me a jar file? Do all your tests work on this branch?
>>>> We
>>>>>> want
>>>>>>  > to use this version on a production server.
>>>>>> I would recommend you to use build #3484 from 1.1.x branch. All tests
>>>>>> pass for it. Later versions includes JNI libraries that are not well
>>>>>> tested yet and anyway we'd like to replace them with JNA.
>>>>>>
>>>>>> You may download build #3484 at
>>>>>>
>> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
>>>>>> ldId=998
>>>>>>
>>>>>>
>>>>>> Alexander Kitaev,
>>>>>> TMate Software,
>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>
>>>>>> Zsolt Koppany wrote:
>>>>>>> Alexander,
>>>>>>>
>>>>>>> can you give me a jar file? Do all your tests work on this branch?
>> We
>>>>>> want
>>>>>>> to use this version on a production server.
>>>>>>>
>>>>>>> Zsolt
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
>>>>>>>> To: javasvn-users@...
>>>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>>>
>>>>>>>> Hello Zsolt,
>>>>>>>>
>>>>>>>> Sorry, I've missed original email. Exception looks pretty strange -
>>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
>>>> never
>>>>>>>> calls "cancel" on it.
>>>>>>>>
>>>>>>>> What I found in the source code is that Timer object could be
>>>>>> considered
>>>>>>>> canceled in case there was an exception thrown during task
>> execution.
>>>> I
>>>>>>>> think this is the reason of the problem and we've fixed it in
>> branch
>>>>>>>> 1.1.x revision 3473.
>>>>>>>>
>>>>>>>> Could you please ask customer to try latest version of SVNKit from
>>>>>> 1.1.x
>>>>>>>> branch? Thanks!
>>>>>>>>
>>>>>>>> Alexander Kitaev,
>>>>>>>> TMate Software,
>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>
>>>>>>>> Zsolt Koppany wrote:
>>>>>>>>> Any news on this issue?
>>>>>>>>>
>>>>>>>>> Zsolt
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>>>>>>>> To: javasvn-users@...
>>>>>>>>>> Subject: Exception - Timer already cancelled
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
>>>>>> workaround?
>>>>>>>>>> Zsolt
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
>> -
>>>>>>>> Timer
>>>>>>>>>> already cancelled. [TP-Processor10]
>>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>> to
>>>>>>>>>> ryPool.java:132)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>> to
>>>>>>>>>> ryPool.java:110)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>>>>>> 1)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>>>>>> va
>>>>>>>>>> :183)
>>>>>>>>>>         at
>>>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>>>>>> cm
>>>>>>>>>> ProviderRepository.java:131)
>>>>>>>>>>         at
>>>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>>>>>>>         at
>>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>>>>>>>         at
>>>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>>>>>>>> io
>>>>>>>>>> n.java:159)
>>>>>>>>>>         at
>>>>>>>>>>
>>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>>>>>>>         at
>>>>>>>>>>
>>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>>>>>>>         at
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>>>>>>         at
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>> on
>>>>>>>>>> FilterChain.java:252)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>> Ch
>>>>>>>>>> ain.java:173)
>>>>>>>>>>         at
>>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>> on
>>>>>>>>>> FilterChain.java:202)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>> Ch
>>>>>>>>>> ain.java:173)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>>>>>>>> ja
>>>>>>>>>> va:213)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>>>>>>>> ja
>>>>>>>>>> va:178)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>>>>>>>> 26
>>>>>>>>>> )
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>>>>>>>> 05
>>>>>>>>>> )
>>>>>>>>>>
>>>>>>>>>> Zsolt
>>>
>>>
>
>
>

RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

guest/guest doesn't seem tom work any more on:

https://teamcity.svnkit.com

Zsolt

> -----Original Message-----
> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> Sent: Sunday, November 04, 2007 9:25 PM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello ZSolt,
>
> On our build server I can see that the latest build for 1.1.x branch
> full configuration is svnkit-1.1.4.3579, I would suggest you to try it
> (just follow the artifacts link for the full 1.1.x configuration on
> https://teamcity.svnkit.com). We would be glad to hear about your
> testing results.
>
> ----
> Alexander Sinyushkin,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Alexander,
> >
> > this is the version: svnkit-1.1.4.3484.
> >
> > How can I get the build number during run-rime?
> >
> > Zsolt
> >
> >> -----Original Message-----
> >> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> >> Sent: Saturday, November 03, 2007 3:20 PM
> >> To: javasvn-users@...
> >> Subject: Re: Exception - Timer already cancelled
> >>
> >> Hello ZSolt,
> >>
> >> Is that the latest binary from 1.1.x branch?
> >>
> >> Regarding release time all I can say that it will happen not sooner
> than
> >> when Subversion 1.5 is released.
> >>
> >> ----
> >> Alexander Sinyushkin,
> >> TMate Software,
> >> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>
> >> Zsolt Koppany wrote:
> >>> Alexander,
> >>>
> >>> we use this file:
> >>>
> >>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
> >>>
> >>> When is the next stable release is planned?
> >>>
> >>> Zsolt
> >>>
> >>>> -----Original Message-----
> >>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>> Sent: Friday, October 26, 2007 4:37 PM
> >>>> To: javasvn-users@...
> >>>> Subject: Re: Exception - Timer already cancelled
> >>>>
> >>>> Hello Zsolt,
> >>>>
> >>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far
> I
> >>>> have no ideas why it could appear in later revisions.
> >>>>
> >>>> Timer only could enter "cancelled" state when unhandled exception is
> >>>> thrown while its task is running, but now there is "try/catch
> >>>> (Throwable)" clause that should make sure that this doesn't happen.
> >>>> Also, in case there was such an exception it should be logged - do
> you
> >>>> have another exceptions in the log file?
> >>>>
> >>>> Another possible reason is that Timer object has been collected by GC
> >>>> (for that to happen there should be no references left to
> >>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
> >>>> class loader used to load SVNKit classes has been garbage collected)
> -
> >>>> but even in that case new Timer instance will be created when
> >>>> DefaultSVNRepositoryPool class is initialized again.
> >>>>
> >>>> Alexander Kitaev,
> >>>> TMate Software,
> >>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>
> >>>> Zsolt Koppany wrote:
> >>>>> Alexander,
> >>>>>
> >>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>> Zsolt
> >>>>>
> >>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
> >>>>> java.lang.IllegalStateException [TP-Processor506]
> >>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>     at java.util.Timer.sched(Timer.java:369)
> >>>>>     at java.util.Timer.schedule(Timer.java:185)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>> to
> >>>>> ryPool.java:133)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>> to
> >>>>> ryPool.java:111)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>> 1)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>> va
> >>>>> :183)
> >>>>>     at
> >>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>> cm
> >>>>> ProviderRepository.java:131)
> >>>>>     at
> >>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
> >>>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
> >>>>>
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>> Sent: Thursday, October 04, 2007 6:26 PM
> >>>>>> To: javasvn-users@...
> >>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>
> >>>>>> Hello Zsolt,
> >>>>>>
> >>>>>>  > can you give me a jar file? Do all your tests work on this
> branch?
> >>>> We
> >>>>>> want
> >>>>>>  > to use this version on a production server.
> >>>>>> I would recommend you to use build #3484 from 1.1.x branch. All
> tests
> >>>>>> pass for it. Later versions includes JNI libraries that are not
> well
> >>>>>> tested yet and anyway we'd like to replace them with JNA.
> >>>>>>
> >>>>>> You may download build #3484 at
> >>>>>>
> >>
> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
> >>>>>> ldId=998
> >>>>>>
> >>>>>>
> >>>>>> Alexander Kitaev,
> >>>>>> TMate Software,
> >>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>
> >>>>>> Zsolt Koppany wrote:
> >>>>>>> Alexander,
> >>>>>>>
> >>>>>>> can you give me a jar file? Do all your tests work on this branch?
> >> We
> >>>>>> want
> >>>>>>> to use this version on a production server.
> >>>>>>>
> >>>>>>> Zsolt
> >>>>>>>
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
> >>>>>>>> To: javasvn-users@...
> >>>>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>>>
> >>>>>>>> Hello Zsolt,
> >>>>>>>>
> >>>>>>>> Sorry, I've missed original email. Exception looks pretty strange
> -
> >>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
> >>>> never
> >>>>>>>> calls "cancel" on it.
> >>>>>>>>
> >>>>>>>> What I found in the source code is that Timer object could be
> >>>>>> considered
> >>>>>>>> canceled in case there was an exception thrown during task
> >> execution.
> >>>> I
> >>>>>>>> think this is the reason of the problem and we've fixed it in
> >> branch
> >>>>>>>> 1.1.x revision 3473.
> >>>>>>>>
> >>>>>>>> Could you please ask customer to try latest version of SVNKit
> from
> >>>>>> 1.1.x
> >>>>>>>> branch? Thanks!
> >>>>>>>>
> >>>>>>>> Alexander Kitaev,
> >>>>>>>> TMate Software,
> >>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>>>
> >>>>>>>> Zsolt Koppany wrote:
> >>>>>>>>> Any news on this issue?
> >>>>>>>>>
> >>>>>>>>> Zsolt
> >>>>>>>>>> -----Original Message-----
> >>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
> >>>>>>>>>> To: javasvn-users@...
> >>>>>>>>>> Subject: Exception - Timer already cancelled
> >>>>>>>>>>
> >>>>>>>>>> Hi,
> >>>>>>>>>>
> >>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
> >>>>>> workaround?
> >>>>>>>>>> Zsolt
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
> >> -
> >>>>>>>> Timer
> >>>>>>>>>> already cancelled. [TP-Processor10]
> >>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
> >>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>>>> to
> >>>>>>>>>> ryPool.java:132)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>>>> to
> >>>>>>>>>> ryPool.java:110)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>>>>>>>> 1)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>>>>>>>> va
> >>>>>>>>>> :183)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>>>>>>>> cm
> >>>>>>>>>> ProviderRepository.java:131)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>>>>>>>>>         at
> >>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >>>>>>>>>> io
> >>>>>>>>>> n.java:159)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>>>>>>>>>         at
> >>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>>>>>>>>>         at
> >>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>>>> on
> >>>>>>>>>> FilterChain.java:252)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>>>> Ch
> >>>>>>>>>> ain.java:173)
> >>>>>>>>>>         at
> >>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>>>> on
> >>>>>>>>>> FilterChain.java:202)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>>>> Ch
> >>>>>>>>>> ain.java:173)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >>>>>>>>>> ja
> >>>>>>>>>> va:213)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >>>>>>>>>> ja
> >>>>>>>>>> va:178)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >>>>>>>>>> 26
> >>>>>>>>>> )
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >>>>>>>>>> 05
> >>>>>>>>>> )
> >>>>>>>>>>
> >>>>>>>>>> Zsolt
> >>>
> >>>
> >
> >
> >


Re: Exception - Timer already cancelled

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello ZSolt,

I've just tried to login as a guest and had no troubles.

----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> guest/guest doesn't seem tom work any more on:
>
> https://teamcity.svnkit.com
>
> Zsolt
>
>> -----Original Message-----
>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
>> Sent: Sunday, November 04, 2007 9:25 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello ZSolt,
>>
>> On our build server I can see that the latest build for 1.1.x branch
>> full configuration is svnkit-1.1.4.3579, I would suggest you to try it
>> (just follow the artifacts link for the full 1.1.x configuration on
>> https://teamcity.svnkit.com). We would be glad to hear about your
>> testing results.
>>
>> ----
>> Alexander Sinyushkin,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Alexander,
>>>
>>> this is the version: svnkit-1.1.4.3484.
>>>
>>> How can I get the build number during run-rime?
>>>
>>> Zsolt
>>>
>>>> -----Original Message-----
>>>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
>>>> Sent: Saturday, November 03, 2007 3:20 PM
>>>> To: javasvn-users@...
>>>> Subject: Re: Exception - Timer already cancelled
>>>>
>>>> Hello ZSolt,
>>>>
>>>> Is that the latest binary from 1.1.x branch?
>>>>
>>>> Regarding release time all I can say that it will happen not sooner
>> than
>>>> when Subversion 1.5 is released.
>>>>
>>>> ----
>>>> Alexander Sinyushkin,
>>>> TMate Software,
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> Zsolt Koppany wrote:
>>>>> Alexander,
>>>>>
>>>>> we use this file:
>>>>>
>>>>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
>>>>>
>>>>> When is the next stable release is planned?
>>>>>
>>>>> Zsolt
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>> Sent: Friday, October 26, 2007 4:37 PM
>>>>>> To: javasvn-users@...
>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>
>>>>>> Hello Zsolt,
>>>>>>
>>>>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far
>> I
>>>>>> have no ideas why it could appear in later revisions.
>>>>>>
>>>>>> Timer only could enter "cancelled" state when unhandled exception is
>>>>>> thrown while its task is running, but now there is "try/catch
>>>>>> (Throwable)" clause that should make sure that this doesn't happen.
>>>>>> Also, in case there was such an exception it should be logged - do
>> you
>>>>>> have another exceptions in the log file?
>>>>>>
>>>>>> Another possible reason is that Timer object has been collected by GC
>>>>>> (for that to happen there should be no references left to
>>>>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
>>>>>> class loader used to load SVNKit classes has been garbage collected)
>> -
>>>>>> but even in that case new Timer instance will be created when
>>>>>> DefaultSVNRepositoryPool class is initialized again.
>>>>>>
>>>>>> Alexander Kitaev,
>>>>>> TMate Software,
>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>
>>>>>> Zsolt Koppany wrote:
>>>>>>> Alexander,
>>>>>>>
>>>>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>> Zsolt
>>>>>>>
>>>>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
>>>>>>> java.lang.IllegalStateException [TP-Processor506]
>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>     at java.util.Timer.sched(Timer.java:369)
>>>>>>>     at java.util.Timer.schedule(Timer.java:185)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>> to
>>>>>>> ryPool.java:133)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>> to
>>>>>>> ryPool.java:111)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>> 1)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>> va
>>>>>>> :183)
>>>>>>>     at
>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>> cm
>>>>>>> ProviderRepository.java:131)
>>>>>>>     at
>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
>>>>>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>>>> Sent: Thursday, October 04, 2007 6:26 PM
>>>>>>>> To: javasvn-users@...
>>>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>>>
>>>>>>>> Hello Zsolt,
>>>>>>>>
>>>>>>>>  > can you give me a jar file? Do all your tests work on this
>> branch?
>>>>>> We
>>>>>>>> want
>>>>>>>>  > to use this version on a production server.
>>>>>>>> I would recommend you to use build #3484 from 1.1.x branch. All
>> tests
>>>>>>>> pass for it. Later versions includes JNI libraries that are not
>> well
>>>>>>>> tested yet and anyway we'd like to replace them with JNA.
>>>>>>>>
>>>>>>>> You may download build #3484 at
>>>>>>>>
>> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
>>>>>>>> ldId=998
>>>>>>>>
>>>>>>>>
>>>>>>>> Alexander Kitaev,
>>>>>>>> TMate Software,
>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>
>>>>>>>> Zsolt Koppany wrote:
>>>>>>>>> Alexander,
>>>>>>>>>
>>>>>>>>> can you give me a jar file? Do all your tests work on this branch?
>>>> We
>>>>>>>> want
>>>>>>>>> to use this version on a production server.
>>>>>>>>>
>>>>>>>>> Zsolt
>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
>>>>>>>>>> To: javasvn-users@...
>>>>>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>>>>>
>>>>>>>>>> Hello Zsolt,
>>>>>>>>>>
>>>>>>>>>> Sorry, I've missed original email. Exception looks pretty strange
>> -
>>>>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
>>>>>> never
>>>>>>>>>> calls "cancel" on it.
>>>>>>>>>>
>>>>>>>>>> What I found in the source code is that Timer object could be
>>>>>>>> considered
>>>>>>>>>> canceled in case there was an exception thrown during task
>>>> execution.
>>>>>> I
>>>>>>>>>> think this is the reason of the problem and we've fixed it in
>>>> branch
>>>>>>>>>> 1.1.x revision 3473.
>>>>>>>>>>
>>>>>>>>>> Could you please ask customer to try latest version of SVNKit
>> from
>>>>>>>> 1.1.x
>>>>>>>>>> branch? Thanks!
>>>>>>>>>>
>>>>>>>>>> Alexander Kitaev,
>>>>>>>>>> TMate Software,
>>>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>>>
>>>>>>>>>> Zsolt Koppany wrote:
>>>>>>>>>>> Any news on this issue?
>>>>>>>>>>>
>>>>>>>>>>> Zsolt
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>>>>>>>>>> To: javasvn-users@...
>>>>>>>>>>>> Subject: Exception - Timer already cancelled
>>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
>>>>>>>> workaround?
>>>>>>>>>>>> Zsolt
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
>>>> -
>>>>>>>>>> Timer
>>>>>>>>>>>> already cancelled. [TP-Processor10]
>>>>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>>>> to
>>>>>>>>>>>> ryPool.java:132)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>>>> to
>>>>>>>>>>>> ryPool.java:110)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>>>>>>>> 1)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>>>>>>>> va
>>>>>>>>>>>> :183)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>>>>>>>> cm
>>>>>>>>>>>> ProviderRepository.java:131)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>>>>>>>>>         at
>>>>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>>>>>>>>>> io
>>>>>>>>>>>> n.java:159)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>>>>>>>>>         at
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>>>>>>>>         at
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>>>> on
>>>>>>>>>>>> FilterChain.java:252)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>>>> Ch
>>>>>>>>>>>> ain.java:173)
>>>>>>>>>>>>         at
>>>>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>>>> on
>>>>>>>>>>>> FilterChain.java:202)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>>>> Ch
>>>>>>>>>>>> ain.java:173)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>>>>>>>>>> ja
>>>>>>>>>>>> va:213)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>>>>>>>>>> ja
>>>>>>>>>>>> va:178)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>>>>>>>>>> 26
>>>>>>>>>>>> )
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>>>>>>>>>> 05
>>>>>>>>>>>> )
>>>>>>>>>>>>
>>>>>>>>>>>> Zsolt
>>>>>
>>>
>>>
>
>
>

Parent Message unknown Re: Exception - Timer already cancelled

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Zsolt,

 > How can I get the build number during run-rime?
Please use org.tmatesoft.svn.util.Version class.


Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> this is the version: svnkit-1.1.4.3484.
>
> How can I get the build number during run-rime?
>
> Zsolt
>
>> -----Original Message-----
>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
>> Sent: Saturday, November 03, 2007 3:20 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello ZSolt,
>>
>> Is that the latest binary from 1.1.x branch?
>>
>> Regarding release time all I can say that it will happen not sooner than
>> when Subversion 1.5 is released.
>>
>> ----
>> Alexander Sinyushkin,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Alexander,
>>>
>>> we use this file:
>>>
>>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
>>>
>>> When is the next stable release is planned?
>>>
>>> Zsolt
>>>
>>>> -----Original Message-----
>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>> Sent: Friday, October 26, 2007 4:37 PM
>>>> To: javasvn-users@...
>>>> Subject: Re: Exception - Timer already cancelled
>>>>
>>>> Hello Zsolt,
>>>>
>>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far I
>>>> have no ideas why it could appear in later revisions.
>>>>
>>>> Timer only could enter "cancelled" state when unhandled exception is
>>>> thrown while its task is running, but now there is "try/catch
>>>> (Throwable)" clause that should make sure that this doesn't happen.
>>>> Also, in case there was such an exception it should be logged - do you
>>>> have another exceptions in the log file?
>>>>
>>>> Another possible reason is that Timer object has been collected by GC
>>>> (for that to happen there should be no references left to
>>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
>>>> class loader used to load SVNKit classes has been garbage collected) -
>>>> but even in that case new Timer instance will be created when
>>>> DefaultSVNRepositoryPool class is initialized again.
>>>>
>>>> Alexander Kitaev,
>>>> TMate Software,
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> Zsolt Koppany wrote:
>>>>> Alexander,
>>>>>
>>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Zsolt
>>>>>
>>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
>>>>> java.lang.IllegalStateException [TP-Processor506]
>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>     at java.util.Timer.sched(Timer.java:369)
>>>>>     at java.util.Timer.schedule(Timer.java:185)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>> to
>>>>> ryPool.java:133)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>> to
>>>>> ryPool.java:111)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>> 1)
>>>>>     at
>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>> va
>>>>> :183)
>>>>>     at
>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>> cm
>>>>> ProviderRepository.java:131)
>>>>>     at
>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
>>>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>> Sent: Thursday, October 04, 2007 6:26 PM
>>>>>> To: javasvn-users@...
>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>
>>>>>> Hello Zsolt,
>>>>>>
>>>>>>  > can you give me a jar file? Do all your tests work on this branch?
>>>> We
>>>>>> want
>>>>>>  > to use this version on a production server.
>>>>>> I would recommend you to use build #3484 from 1.1.x branch. All tests
>>>>>> pass for it. Later versions includes JNI libraries that are not well
>>>>>> tested yet and anyway we'd like to replace them with JNA.
>>>>>>
>>>>>> You may download build #3484 at
>>>>>>
>> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
>>>>>> ldId=998
>>>>>>
>>>>>>
>>>>>> Alexander Kitaev,
>>>>>> TMate Software,
>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>
>>>>>> Zsolt Koppany wrote:
>>>>>>> Alexander,
>>>>>>>
>>>>>>> can you give me a jar file? Do all your tests work on this branch?
>> We
>>>>>> want
>>>>>>> to use this version on a production server.
>>>>>>>
>>>>>>> Zsolt
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
>>>>>>>> To: javasvn-users@...
>>>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>>>
>>>>>>>> Hello Zsolt,
>>>>>>>>
>>>>>>>> Sorry, I've missed original email. Exception looks pretty strange -
>>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
>>>> never
>>>>>>>> calls "cancel" on it.
>>>>>>>>
>>>>>>>> What I found in the source code is that Timer object could be
>>>>>> considered
>>>>>>>> canceled in case there was an exception thrown during task
>> execution.
>>>> I
>>>>>>>> think this is the reason of the problem and we've fixed it in
>> branch
>>>>>>>> 1.1.x revision 3473.
>>>>>>>>
>>>>>>>> Could you please ask customer to try latest version of SVNKit from
>>>>>> 1.1.x
>>>>>>>> branch? Thanks!
>>>>>>>>
>>>>>>>> Alexander Kitaev,
>>>>>>>> TMate Software,
>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>
>>>>>>>> Zsolt Koppany wrote:
>>>>>>>>> Any news on this issue?
>>>>>>>>>
>>>>>>>>> Zsolt
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>>>>>>>> To: javasvn-users@...
>>>>>>>>>> Subject: Exception - Timer already cancelled
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
>>>>>> workaround?
>>>>>>>>>> Zsolt
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
>> -
>>>>>>>> Timer
>>>>>>>>>> already cancelled. [TP-Processor10]
>>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>> to
>>>>>>>>>> ryPool.java:132)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>> to
>>>>>>>>>> ryPool.java:110)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>>>>>> 1)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>>>>>> va
>>>>>>>>>> :183)
>>>>>>>>>>         at
>>>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>>>>>> cm
>>>>>>>>>> ProviderRepository.java:131)
>>>>>>>>>>         at
>>>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>>>>>>>         at
>>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>>>>>>>         at
>>>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>>>>>>>> io
>>>>>>>>>> n.java:159)
>>>>>>>>>>         at
>>>>>>>>>>
>>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>>>>>>>         at
>>>>>>>>>>
>>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>>>>>>>         at
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>>>>>>         at
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>> on
>>>>>>>>>> FilterChain.java:252)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>> Ch
>>>>>>>>>> ain.java:173)
>>>>>>>>>>         at
>>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>> on
>>>>>>>>>> FilterChain.java:202)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>> Ch
>>>>>>>>>> ain.java:173)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>>>>>>>> ja
>>>>>>>>>> va:213)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>>>>>>>> ja
>>>>>>>>>> va:178)
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>>>>>>>> 26
>>>>>>>>>> )
>>>>>>>>>>         at
>>>>>>>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>>>>>>>> 05
>>>>>>>>>> )
>>>>>>>>>>
>>>>>>>>>> Zsolt
>>>
>>>
>
>

RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

I get no access to server https://teamcity.svnkit.com:

The expression below gives "1.1.4 r3484":

Version.getMajorVersion() + "." + Version.getMinorVersion()
 + "." + Version.getMicroVersion()+ " r" + Version.getRevisionNumber()

Zsolt

> -----Original Message-----
> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> Sent: Monday, November 05, 2007 10:22 AM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello ZSolt,
>
> I've just tried to login as a guest and had no troubles.
>
> ----
> Alexander Sinyushkin,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Alexander,
> >
> > guest/guest doesn't seem tom work any more on:
> >
> > https://teamcity.svnkit.com
> >
> > Zsolt
> >
> >> -----Original Message-----
> >> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> >> Sent: Sunday, November 04, 2007 9:25 PM
> >> To: javasvn-users@...
> >> Subject: Re: Exception - Timer already cancelled
> >>
> >> Hello ZSolt,
> >>
> >> On our build server I can see that the latest build for 1.1.x branch
> >> full configuration is svnkit-1.1.4.3579, I would suggest you to try it
> >> (just follow the artifacts link for the full 1.1.x configuration on
> >> https://teamcity.svnkit.com). We would be glad to hear about your
> >> testing results.
> >>
> >> ----
> >> Alexander Sinyushkin,
> >> TMate Software,
> >> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>
> >> Zsolt Koppany wrote:
> >>> Alexander,
> >>>
> >>> this is the version: svnkit-1.1.4.3484.
> >>>
> >>> How can I get the build number during run-rime?
> >>>
> >>> Zsolt
> >>>
> >>>> -----Original Message-----
> >>>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> >>>> Sent: Saturday, November 03, 2007 3:20 PM
> >>>> To: javasvn-users@...
> >>>> Subject: Re: Exception - Timer already cancelled
> >>>>
> >>>> Hello ZSolt,
> >>>>
> >>>> Is that the latest binary from 1.1.x branch?
> >>>>
> >>>> Regarding release time all I can say that it will happen not sooner
> >> than
> >>>> when Subversion 1.5 is released.
> >>>>
> >>>> ----
> >>>> Alexander Sinyushkin,
> >>>> TMate Software,
> >>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>
> >>>> Zsolt Koppany wrote:
> >>>>> Alexander,
> >>>>>
> >>>>> we use this file:
> >>>>>
> >>>>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
> >>>>>
> >>>>> When is the next stable release is planned?
> >>>>>
> >>>>> Zsolt
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>> Sent: Friday, October 26, 2007 4:37 PM
> >>>>>> To: javasvn-users@...
> >>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>
> >>>>>> Hello Zsolt,
> >>>>>>
> >>>>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so
> far
> >> I
> >>>>>> have no ideas why it could appear in later revisions.
> >>>>>>
> >>>>>> Timer only could enter "cancelled" state when unhandled exception
> is
> >>>>>> thrown while its task is running, but now there is "try/catch
> >>>>>> (Throwable)" clause that should make sure that this doesn't happen.
> >>>>>> Also, in case there was such an exception it should be logged - do
> >> you
> >>>>>> have another exceptions in the log file?
> >>>>>>
> >>>>>> Another possible reason is that Timer object has been collected by
> GC
> >>>>>> (for that to happen there should be no references left to
> >>>>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
> >>>>>> class loader used to load SVNKit classes has been garbage
> collected)
> >> -
> >>>>>> but even in that case new Timer instance will be created when
> >>>>>> DefaultSVNRepositoryPool class is initialized again.
> >>>>>>
> >>>>>> Alexander Kitaev,
> >>>>>> TMate Software,
> >>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>
> >>>>>> Zsolt Koppany wrote:
> >>>>>>> Alexander,
> >>>>>>>
> >>>>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
> >>>>>>>
> >>>>>>> Any ideas?
> >>>>>>>
> >>>>>>> Zsolt
> >>>>>>>
> >>>>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
> >>>>>>> java.lang.IllegalStateException [TP-Processor506]
> >>>>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>>>     at java.util.Timer.sched(Timer.java:369)
> >>>>>>>     at java.util.Timer.schedule(Timer.java:185)
> >>>>>>>     at
> >>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>> to
> >>>>>>> ryPool.java:133)
> >>>>>>>     at
> >>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>> to
> >>>>>>> ryPool.java:111)
> >>>>>>>     at
> >>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>>>> 1)
> >>>>>>>     at
> >>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>>>> va
> >>>>>>> :183)
> >>>>>>>     at
> >>>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>>>> cm
> >>>>>>> ProviderRepository.java:131)
> >>>>>>>     at
> >>>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
> >>>>>>>     at
> cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
> >>>>>>>
> >>>>>>>
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>>>> Sent: Thursday, October 04, 2007 6:26 PM
> >>>>>>>> To: javasvn-users@...
> >>>>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>>>
> >>>>>>>> Hello Zsolt,
> >>>>>>>>
> >>>>>>>>  > can you give me a jar file? Do all your tests work on this
> >> branch?
> >>>>>> We
> >>>>>>>> want
> >>>>>>>>  > to use this version on a production server.
> >>>>>>>> I would recommend you to use build #3484 from 1.1.x branch. All
> >> tests
> >>>>>>>> pass for it. Later versions includes JNI libraries that are not
> >> well
> >>>>>>>> tested yet and anyway we'd like to replace them with JNA.
> >>>>>>>>
> >>>>>>>> You may download build #3484 at
> >>>>>>>>
> >>
> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
> >>>>>>>> ldId=998
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Alexander Kitaev,
> >>>>>>>> TMate Software,
> >>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>>>
> >>>>>>>> Zsolt Koppany wrote:
> >>>>>>>>> Alexander,
> >>>>>>>>>
> >>>>>>>>> can you give me a jar file? Do all your tests work on this
> branch?
> >>>> We
> >>>>>>>> want
> >>>>>>>>> to use this version on a production server.
> >>>>>>>>>
> >>>>>>>>> Zsolt
> >>>>>>>>>
> >>>>>>>>>> -----Original Message-----
> >>>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
> >>>>>>>>>> To: javasvn-users@...
> >>>>>>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>>>>>
> >>>>>>>>>> Hello Zsolt,
> >>>>>>>>>>
> >>>>>>>>>> Sorry, I've missed original email. Exception looks pretty
> strange
> >> -
> >>>>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static)
> and
> >>>>>> never
> >>>>>>>>>> calls "cancel" on it.
> >>>>>>>>>>
> >>>>>>>>>> What I found in the source code is that Timer object could be
> >>>>>>>> considered
> >>>>>>>>>> canceled in case there was an exception thrown during task
> >>>> execution.
> >>>>>> I
> >>>>>>>>>> think this is the reason of the problem and we've fixed it in
> >>>> branch
> >>>>>>>>>> 1.1.x revision 3473.
> >>>>>>>>>>
> >>>>>>>>>> Could you please ask customer to try latest version of SVNKit
> >> from
> >>>>>>>> 1.1.x
> >>>>>>>>>> branch? Thanks!
> >>>>>>>>>>
> >>>>>>>>>> Alexander Kitaev,
> >>>>>>>>>> TMate Software,
> >>>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>>>>>
> >>>>>>>>>> Zsolt Koppany wrote:
> >>>>>>>>>>> Any news on this issue?
> >>>>>>>>>>>
> >>>>>>>>>>> Zsolt
> >>>>>>>>>>>> -----Original Message-----
> >>>>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >>>>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
> >>>>>>>>>>>> To: javasvn-users@...
> >>>>>>>>>>>> Subject: Exception - Timer already cancelled
> >>>>>>>>>>>>
> >>>>>>>>>>>> Hi,
> >>>>>>>>>>>>
> >>>>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
> >>>>>>>> workaround?
> >>>>>>>>>>>> Zsolt
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
> >>>> -
> >>>>>>>>>> Timer
> >>>>>>>>>>>> already cancelled. [TP-Processor10]
> >>>>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
> >>>>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>>>>>> to
> >>>>>>>>>>>> ryPool.java:132)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>>>>>> to
> >>>>>>>>>>>> ryPool.java:110)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>>>>>>>>>> 1)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>>>>>>>>>> va
> >>>>>>>>>>>> :183)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>>>>>>>>>> cm
> >>>>>>>>>>>> ProviderRepository.java:131)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>>>
> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>>>>>>>>>>>         at
> >>>>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >>>>>>>>>>>> io
> >>>>>>>>>>>> n.java:159)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>>>>>
> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>>>>>
> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>>>>>>>>>>>         at
> >>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>>>>>>>>>>>         at
> >>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>>>>>> on
> >>>>>>>>>>>> FilterChain.java:252)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>>>>>> Ch
> >>>>>>>>>>>> ain.java:173)
> >>>>>>>>>>>>         at
> >>>>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>>>>>> on
> >>>>>>>>>>>> FilterChain.java:202)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>>>>>> Ch
> >>>>>>>>>>>> ain.java:173)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >>>>>>>>>>>> ja
> >>>>>>>>>>>> va:213)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >>>>>>>>>>>> ja
> >>>>>>>>>>>> va:178)
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >>>>>>>>>>>> 26
> >>>>>>>>>>>> )
> >>>>>>>>>>>>         at
> >>>>>>>>>>>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >>>>>>>>>>>> 05
> >>>>>>>>>>>> )
> >>>>>>>>>>>>
> >>>>>>>>>>>> Zsolt
> >>>>>
> >>>
> >>>
> >
> >
> >


RE: Exception - Timer already cancelled

by Zsolt Koppany :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alexander,

I don't see svnkit-1.1.4.3579, should I take 1.1.4.3613?

Zsolt

> -----Original Message-----
> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> Sent: Sunday, November 04, 2007 9:25 PM
> To: javasvn-users@...
> Subject: Re: Exception - Timer already cancelled
>
> Hello ZSolt,
>
> On our build server I can see that the latest build for 1.1.x branch
> full configuration is svnkit-1.1.4.3579, I would suggest you to try it
> (just follow the artifacts link for the full 1.1.x configuration on
> https://teamcity.svnkit.com). We would be glad to hear about your
> testing results.
>
> ----
> Alexander Sinyushkin,
> TMate Software,
> http://svnkit.com/ - Java [Sub]Versioning Library!
>
> Zsolt Koppany wrote:
> > Alexander,
> >
> > this is the version: svnkit-1.1.4.3484.
> >
> > How can I get the build number during run-rime?
> >
> > Zsolt
> >
> >> -----Original Message-----
> >> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
> >> Sent: Saturday, November 03, 2007 3:20 PM
> >> To: javasvn-users@...
> >> Subject: Re: Exception - Timer already cancelled
> >>
> >> Hello ZSolt,
> >>
> >> Is that the latest binary from 1.1.x branch?
> >>
> >> Regarding release time all I can say that it will happen not sooner
> than
> >> when Subversion 1.5 is released.
> >>
> >> ----
> >> Alexander Sinyushkin,
> >> TMate Software,
> >> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>
> >> Zsolt Koppany wrote:
> >>> Alexander,
> >>>
> >>> we use this file:
> >>>
> >>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
> >>>
> >>> When is the next stable release is planned?
> >>>
> >>> Zsolt
> >>>
> >>>> -----Original Message-----
> >>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>> Sent: Friday, October 26, 2007 4:37 PM
> >>>> To: javasvn-users@...
> >>>> Subject: Re: Exception - Timer already cancelled
> >>>>
> >>>> Hello Zsolt,
> >>>>
> >>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far
> I
> >>>> have no ideas why it could appear in later revisions.
> >>>>
> >>>> Timer only could enter "cancelled" state when unhandled exception is
> >>>> thrown while its task is running, but now there is "try/catch
> >>>> (Throwable)" clause that should make sure that this doesn't happen.
> >>>> Also, in case there was such an exception it should be logged - do
> you
> >>>> have another exceptions in the log file?
> >>>>
> >>>> Another possible reason is that Timer object has been collected by GC
> >>>> (for that to happen there should be no references left to
> >>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
> >>>> class loader used to load SVNKit classes has been garbage collected)
> -
> >>>> but even in that case new Timer instance will be created when
> >>>> DefaultSVNRepositoryPool class is initialized again.
> >>>>
> >>>> Alexander Kitaev,
> >>>> TMate Software,
> >>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>
> >>>> Zsolt Koppany wrote:
> >>>>> Alexander,
> >>>>>
> >>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>> Zsolt
> >>>>>
> >>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
> >>>>> java.lang.IllegalStateException [TP-Processor506]
> >>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>     at java.util.Timer.sched(Timer.java:369)
> >>>>>     at java.util.Timer.schedule(Timer.java:185)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>> to
> >>>>> ryPool.java:133)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>> to
> >>>>> ryPool.java:111)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>> 1)
> >>>>>     at
> >>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>> va
> >>>>> :183)
> >>>>>     at
> >>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>> cm
> >>>>> ProviderRepository.java:131)
> >>>>>     at
> >>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
> >>>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
> >>>>>
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>> Sent: Thursday, October 04, 2007 6:26 PM
> >>>>>> To: javasvn-users@...
> >>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>
> >>>>>> Hello Zsolt,
> >>>>>>
> >>>>>>  > can you give me a jar file? Do all your tests work on this
> branch?
> >>>> We
> >>>>>> want
> >>>>>>  > to use this version on a production server.
> >>>>>> I would recommend you to use build #3484 from 1.1.x branch. All
> tests
> >>>>>> pass for it. Later versions includes JNI libraries that are not
> well
> >>>>>> tested yet and anyway we'd like to replace them with JNA.
> >>>>>>
> >>>>>> You may download build #3484 at
> >>>>>>
> >>
> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
> >>>>>> ldId=998
> >>>>>>
> >>>>>>
> >>>>>> Alexander Kitaev,
> >>>>>> TMate Software,
> >>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>
> >>>>>> Zsolt Koppany wrote:
> >>>>>>> Alexander,
> >>>>>>>
> >>>>>>> can you give me a jar file? Do all your tests work on this branch?
> >> We
> >>>>>> want
> >>>>>>> to use this version on a production server.
> >>>>>>>
> >>>>>>> Zsolt
> >>>>>>>
> >>>>>>>> -----Original Message-----
> >>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
> >>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
> >>>>>>>> To: javasvn-users@...
> >>>>>>>> Subject: Re: Exception - Timer already cancelled
> >>>>>>>>
> >>>>>>>> Hello Zsolt,
> >>>>>>>>
> >>>>>>>> Sorry, I've missed original email. Exception looks pretty strange
> -
> >>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
> >>>> never
> >>>>>>>> calls "cancel" on it.
> >>>>>>>>
> >>>>>>>> What I found in the source code is that Timer object could be
> >>>>>> considered
> >>>>>>>> canceled in case there was an exception thrown during task
> >> execution.
> >>>> I
> >>>>>>>> think this is the reason of the problem and we've fixed it in
> >> branch
> >>>>>>>> 1.1.x revision 3473.
> >>>>>>>>
> >>>>>>>> Could you please ask customer to try latest version of SVNKit
> from
> >>>>>> 1.1.x
> >>>>>>>> branch? Thanks!
> >>>>>>>>
> >>>>>>>> Alexander Kitaev,
> >>>>>>>> TMate Software,
> >>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
> >>>>>>>>
> >>>>>>>> Zsolt Koppany wrote:
> >>>>>>>>> Any news on this issue?
> >>>>>>>>>
> >>>>>>>>> Zsolt
> >>>>>>>>>> -----Original Message-----
> >>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
> >>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
> >>>>>>>>>> To: javasvn-users@...
> >>>>>>>>>> Subject: Exception - Timer already cancelled
> >>>>>>>>>>
> >>>>>>>>>> Hi,
> >>>>>>>>>>
> >>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
> >>>>>> workaround?
> >>>>>>>>>> Zsolt
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
> >> -
> >>>>>>>> Timer
> >>>>>>>>>> already cancelled. [TP-Processor10]
> >>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
> >>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
> >>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>>>> to
> >>>>>>>>>> ryPool.java:132)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
> >>>>>>>>>> to
> >>>>>>>>>> ryPool.java:110)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
> >>>>>>>>>> 1)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
> >>>>>>>>>> va
> >>>>>>>>>> :183)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
> >>>>>>>>>> cm
> >>>>>>>>>> ProviderRepository.java:131)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
> >>>>>>>>>>         at
> >>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
> >>>>>>>>>> io
> >>>>>>>>>> n.java:159)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
> >>>>>>>>>>         at
> >>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >>>>>>>>>>         at
> >>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>>>> on
> >>>>>>>>>> FilterChain.java:252)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>>>> Ch
> >>>>>>>>>> ain.java:173)
> >>>>>>>>>>         at
> >>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
> >>>>>>>>>> on
> >>>>>>>>>> FilterChain.java:202)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
> >>>>>>>>>> Ch
> >>>>>>>>>> ain.java:173)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
> >>>>>>>>>> ja
> >>>>>>>>>> va:213)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
> >>>>>>>>>> ja
> >>>>>>>>>> va:178)
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
> >>>>>>>>>> 26
> >>>>>>>>>> )
> >>>>>>>>>>         at
> >>>>>>>>>>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
> >>>>>>>>>> 05
> >>>>>>>>>> )
> >>>>>>>>>>
> >>>>>>>>>> Zsolt
> >>>
> >>>
> >
> >
> >


Re: Exception - Timer already cancelled

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello ZSolt,

Yes, I just meant try the latest one. At the moment when I wrote you the
previous time 1.1.4.3579 was the latest one.
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Zsolt Koppany wrote:

> Alexander,
>
> I don't see svnkit-1.1.4.3579, should I take 1.1.4.3613?
>
> Zsolt
>
>> -----Original Message-----
>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
>> Sent: Sunday, November 04, 2007 9:25 PM
>> To: javasvn-users@...
>> Subject: Re: Exception - Timer already cancelled
>>
>> Hello ZSolt,
>>
>> On our build server I can see that the latest build for 1.1.x branch
>> full configuration is svnkit-1.1.4.3579, I would suggest you to try it
>> (just follow the artifacts link for the full 1.1.x configuration on
>> https://teamcity.svnkit.com). We would be glad to hear about your
>> testing results.
>>
>> ----
>> Alexander Sinyushkin,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Zsolt Koppany wrote:
>>> Alexander,
>>>
>>> this is the version: svnkit-1.1.4.3484.
>>>
>>> How can I get the build number during run-rime?
>>>
>>> Zsolt
>>>
>>>> -----Original Message-----
>>>> From: Alexander Sinyushkin [mailto:Alexander.Sinyushkin@...]
>>>> Sent: Saturday, November 03, 2007 3:20 PM
>>>> To: javasvn-users@...
>>>> Subject: Re: Exception - Timer already cancelled
>>>>
>>>> Hello ZSolt,
>>>>
>>>> Is that the latest binary from 1.1.x branch?
>>>>
>>>> Regarding release time all I can say that it will happen not sooner
>> than
>>>> when Subversion 1.5 is released.
>>>>
>>>> ----
>>>> Alexander Sinyushkin,
>>>> TMate Software,
>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>
>>>> Zsolt Koppany wrote:
>>>>> Alexander,
>>>>>
>>>>> we use this file:
>>>>>
>>>>> -rw-r--r-- 1 zk 1222578 Sep 19 03:01 svnkit.jar
>>>>>
>>>>> When is the next stable release is planned?
>>>>>
>>>>> Zsolt
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>> Sent: Friday, October 26, 2007 4:37 PM
>>>>>> To: javasvn-users@...
>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>
>>>>>> Hello Zsolt,
>>>>>>
>>>>>> This problem has to be fixed in revision 3473 in 1.1.x branch, so far
>> I
>>>>>> have no ideas why it could appear in later revisions.
>>>>>>
>>>>>> Timer only could enter "cancelled" state when unhandled exception is
>>>>>> thrown while its task is running, but now there is "try/catch
>>>>>> (Throwable)" clause that should make sure that this doesn't happen.
>>>>>> Also, in case there was such an exception it should be logged - do
>> you
>>>>>> have another exceptions in the log file?
>>>>>>
>>>>>> Another possible reason is that Timer object has been collected by GC
>>>>>> (for that to happen there should be no references left to
>>>>>> DefaultSVNRepositoryPool.class, I suppose this could happen in case
>>>>>> class loader used to load SVNKit classes has been garbage collected)
>> -
>>>>>> but even in that case new Timer instance will be created when
>>>>>> DefaultSVNRepositoryPool class is initialized again.
>>>>>>
>>>>>> Alexander Kitaev,
>>>>>> TMate Software,
>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>
>>>>>> Zsolt Koppany wrote:
>>>>>>> Alexander,
>>>>>>>
>>>>>>> this mornig I got the exeception below (using svnkit-1.1.4.3484):
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>> Zsolt
>>>>>>>
>>>>>>> 2007-10-26 10:47:51,665 ERROR cv.servlet.CBFilter     - class
>>>>>>> java.lang.IllegalStateException [TP-Processor506]
>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>     at java.util.Timer.sched(Timer.java:369)
>>>>>>>     at java.util.Timer.schedule(Timer.java:185)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>> to
>>>>>>> ryPool.java:133)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>> to
>>>>>>> ryPool.java:111)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>> 1)
>>>>>>>     at
>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>> va
>>>>>>> :183)
>>>>>>>     at
>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>> cm
>>>>>>> ProviderRepository.java:131)
>>>>>>>     at
>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProvider.diff(SvnJavaScmProvider.java:473)
>>>>>>>     at cv.manager.ScmProjectManager.diff(ScmProjectManager.java:573)
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>>>> Sent: Thursday, October 04, 2007 6:26 PM
>>>>>>>> To: javasvn-users@...
>>>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>>>
>>>>>>>> Hello Zsolt,
>>>>>>>>
>>>>>>>>  > can you give me a jar file? Do all your tests work on this
>> branch?
>>>>>> We
>>>>>>>> want
>>>>>>>>  > to use this version on a production server.
>>>>>>>> I would recommend you to use build #3484 from 1.1.x branch. All
>> tests
>>>>>>>> pass for it. Later versions includes JNI libraries that are not
>> well
>>>>>>>> tested yet and anyway we'd like to replace them with JNA.
>>>>>>>>
>>>>>>>> You may download build #3484 at
>>>>>>>>
>> https://teamcity.svnkit.com/viewLog.html?tab=artifacts&buildTypeId=bt6&bui
>>>>>>>> ldId=998
>>>>>>>>
>>>>>>>>
>>>>>>>> Alexander Kitaev,
>>>>>>>> TMate Software,
>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>
>>>>>>>> Zsolt Koppany wrote:
>>>>>>>>> Alexander,
>>>>>>>>>
>>>>>>>>> can you give me a jar file? Do all your tests work on this branch?
>>>> We
>>>>>>>> want
>>>>>>>>> to use this version on a production server.
>>>>>>>>>
>>>>>>>>> Zsolt
>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Alexander Kitaev [mailto:Alexander.Kitaev@...]
>>>>>>>>>> Sent: Wednesday, October 03, 2007 8:19 PM
>>>>>>>>>> To: javasvn-users@...
>>>>>>>>>> Subject: Re: Exception - Timer already cancelled
>>>>>>>>>>
>>>>>>>>>> Hello Zsolt,
>>>>>>>>>>
>>>>>>>>>> Sorry, I've missed original email. Exception looks pretty strange
>> -
>>>>>>>>>> DefaultSVNRepositoryPool uses single Timer instance (static) and
>>>>>> never
>>>>>>>>>> calls "cancel" on it.
>>>>>>>>>>
>>>>>>>>>> What I found in the source code is that Timer object could be
>>>>>>>> considered
>>>>>>>>>> canceled in case there was an exception thrown during task
>>>> execution.
>>>>>> I
>>>>>>>>>> think this is the reason of the problem and we've fixed it in
>>>> branch
>>>>>>>>>> 1.1.x revision 3473.
>>>>>>>>>>
>>>>>>>>>> Could you please ask customer to try latest version of SVNKit
>> from
>>>>>>>> 1.1.x
>>>>>>>>>> branch? Thanks!
>>>>>>>>>>
>>>>>>>>>> Alexander Kitaev,
>>>>>>>>>> TMate Software,
>>>>>>>>>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>>>>>>>>>
>>>>>>>>>> Zsolt Koppany wrote:
>>>>>>>>>>> Any news on this issue?
>>>>>>>>>>>
>>>>>>>>>>> Zsolt
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: Zsolt Koppany [mailto:zkoppanylist@...]
>>>>>>>>>>>> Sent: Thursday, September 27, 2007 6:20 AM
>>>>>>>>>>>> To: javasvn-users@...
>>>>>>>>>>>> Subject: Exception - Timer already cancelled
>>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> A customer of us gets the Exception below. Any ideas for a
>>>>>>>> workaround?
>>>>>>>>>>>> Zsolt
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 2007-09-26 05:03:31,474 ERROR scm.history.ScmShowFileRevision
>>>> -
>>>>>>>>>> Timer
>>>>>>>>>>>> already cancelled. [TP-Processor10]
>>>>>>>>>>>> java.lang.IllegalStateException: Timer already cancelled.
>>>>>>>>>>>>         at java.util.Timer.sched(Timer.java:354)
>>>>>>>>>>>>         at java.util.Timer.schedule(Timer.java:170)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>>>> to
>>>>>>>>>>>> ryPool.java:132)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNReposi
>>>>>>>>>>>> to
>>>>>>>>>>>> ryPool.java:110)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.<init>(SVNClientManager.java:14
>>>>>>>>>>>> 1)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.tmatesoft.svn.core.wc.SVNClientManager.newInstance(SVNClientManager.ja
>>>>>>>>>>>> va
>>>>>>>>>>>> :183)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> cv.scm.provider.svn.SvnJavaScmProviderRepository.getClientManager(SvnJavaS
>>>>>>>>>>>> cm
>>>>>>>>>>>> ProviderRepository.java:131)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>> cv.scm.provider.svn.SvnJavaScmProvider.cat(SvnJavaScmProvider.java:429)
>>>>>>>>>>>>         at
>>>>>>>> cv.manager.ScmProjectManager.cat(ScmProjectManager.java:549)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> cv.scm.history.ScmShowFileRevision.copyFileFromRepository(ScmShowFileRevis
>>>>>>>>>>>> io
>>>>>>>>>>>> n.java:159)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>> cv.scm.history.ScmShowFileRevision.exec(ScmShowFileRevision.java:131)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>>>>>> cv.scm.history.ScmShowFileRevision.doGet(ScmShowFileRevision.java:74)
>>>>>>>>>>>>         at
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>>>>>>>>>>         at
>>>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>>>> on
>>>>>>>>>>>> FilterChain.java:252)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>>>> Ch
>>>>>>>>>>>> ain.java:173)
>>>>>>>>>>>>         at
>>>>>>>> cv.security.SecurityFilter.doFilter(SecurityFilter.java:160)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati
>>>>>>>>>>>> on
>>>>>>>>>>>> FilterChain.java:202)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter
>>>>>>>>>>>> Ch
>>>>>>>>>>>> ain.java:173)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
>>>>>>>>>>>> ja
>>>>>>>>>>>> va:213)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
>>>>>>>>>>>> ja
>>>>>>>>>>>> va:178)
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1
>>>>>>>>>>>> 26
>>>>>>>>>>>> )
>>>>>>>>>>>>         at
>>>>>>>>>>>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1
>>>>>>>>>>>> 05
>>>>>>>>>>>> )
>>>>>>>>>>>>
>>>>>>>>>>>> Zsolt
>>>>>
>>>
>>>
>
>
>