Page 1 of 1

Error when compare file's reversion

Posted: Fri Apr 21, 2006 3:14 am
by chris
Dear all:

First of all, svnwebclient2.5.0 is great!
I meet a problem here, when i deploy the war in to my machine(WinXP), it runs smoothly.
but in the case of compiling the src in a JBoss IDE with Tomcat5.5, when i click the compare button, it reports the error message as below:
Message:
org.polarion.svnwebclient.data.DataProviderException: org.tmatesoft.svn.core.SVNException: '/svn/testsvn/!svn/bc/18/a/backup.txt' path not found: 404 Not Found (http://16.157.11.252)


the Stack trace code is:
org.polarion.svnwebclient.SVNWebClientException: org.polarion.svnwebclient.data.DataProviderException: org.tmatesoft.svn.core.SVNException: '/svn/testsvn/!svn/bc/18/a/backup.txt' path not found: 404 Not Found (http://16.157.11.252)
at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:58)
at org.apache.jsp.fileCompare_jsp._jspService(org.apache.jsp.fileCompare_jsp:62)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.polarion.svnwebclient.authorization.impl.BindSessionsFilter.doFilter(BindSessionsFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.polarion.svnwebclient.web.CharsetFilter.doFilter(CharsetFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.polarion.svnwebclient.data.DataProviderException: org.tmatesoft.svn.core.SVNException: '/svn/testsvn/!svn/bc/18/a/backup.txt' path not found: 404 Not Found (http://16.157.11.252)
at org.polarion.svnwebclient.data.javasvn.DataProvider.getFileData(DataProvider.java:454)
at org.polarion.svnwebclient.web.controller.file.FileCompareBean.executeSVNOperation(FileCompareBean.java:101)
at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:51)
... 29 more
Caused by: org.tmatesoft.svn.core.SVNException: '/svn/testsvn/!svn/bc/18/a/backup.txt' path not found: 404 Not Found (http://16.157.11.252)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:63)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFile(DAVRepository.java:226)
at org.polarion.svnwebclient.data.javasvn.DataProvider.getFileData(DataProvider.java:436)
... 31 more


Can you help me figure it out?
Thanks!

BR
Chris

Re: Error when compare file's reversion

Posted: Mon May 15, 2006 9:09 am
by borgx
Same here. :(

Borgx

Re: Error when compare file's reversion

Posted: Sun Nov 26, 2006 10:22 am
by maxweiss
We have the exacte same problem. Any hints (Guys from Polarion?) how to solve this problem? This feature was one of the reasons we test-installed SVNWebClient...
We use the latest version, downloaded it last week.

Thanks, Max

Posted: Wed Feb 07, 2007 3:27 pm
by tempuser2
I had the same problem. The solution was to remove slash from the end of repository URL. I hope this will help :)

WBR,
mix.

Posted: Tue Jan 08, 2008 10:17 am
by aki
After small investigation in source code I found that the problem is comments cache mechanism.

There are a lot of problems, some of them:
- some comments are not displayed
- when you change location of files/directories (in svn) twice, commentsCache can't find right
position and throw exception (path not found)

I fixed the second problem (dirty hack), by adding some try...catch section in DataProvider.java.

Why CommnentsCache has a lot of excepitions not catched corectly?
Why problems with comments kills whole application?
In my opinion CommentsCache ist the worst part of polarion and need to be rewritten.

Here is diff of my changes in DataProvider.java:
http://pliki.rodos.com.pl/polarion/DataProvider.diff