Content-Length: NumberFormatException when accessing the repository from within eclipse

Issue #24 resolved
Stefan Bechtold
created an issue

It seems that there is a problem when using eclipse and subversive (eclipse plugin) to access the SVN repository. I checked it from within the browser and that worked out very well.

In the logfile of my eclipse workspace I found the following exception: {{{ !ENTRY 4 0 2011-05-28 19:12:43.094 !MESSAGE SVN: '0x00000230: Get Repository Folder Children' operation finished with error !SUBENTRY 1 4 0 2011-05-28 19:12:43.094 !MESSAGE Get repository folder children operation failed. !STACK 0 svn: For input string: "" at at at at at at at at at at at at at at at at Caused by: org.tigris.subversion.javahl.ClientException: svn: For input string: "" at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException( at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException( at org.tmatesoft.svn.core.javahl.SVNClientImpl.list( at org.tmatesoft.svn.core.javahl.SVNClientImpl.list( at ... 14 more Caused by: org.tmatesoft.svn.core.SVNException: svn: For input string: "" at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error( at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error( at at at org.tmatesoft.svn.core.wc.SVNLogClient.list( at org.tmatesoft.svn.core.wc.SVNLogClient.doList( at org.tmatesoft.svn.core.wc.SVNLogClient.doList( at org.tmatesoft.svn.core.javahl.SVNClientImpl.list( ... 16 more Caused by: java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString( at java.lang.Long.parseLong( at java.lang.Long.parseLong( at ... 21 more }}}

The number format exception is a result of an attempt of parsing the content-length of the current directory element (within the directory listing). It occurs whenever I use the SVN Repository Browser and open the first level of an non-empty repository. I'm not quite sure if this issue is still related with the SCM-Manager but I do not run into this problem if I configure my server's apache to serve the SVN repository via DAV. So it feels as if there still is a little issue within the service. :-(

Is there any kind of detection of the user's client? Maybe the headers sent from the subversive eclipse plugin do not match any detection rules...

Comments (3)

  1. Log in to comment