Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse VisualSVN error svn E175002: java.lang.NumberFormatException

So this error seems to occur when I attempt to add a new repository location in Eclipse. However, I am sure that the URL and authentication info (username and password) are valid. The error looks like this,

enter image description here

and it occurs when I use https://localhost/svn/TestSVN as the URL. I understand I replaced the name of my PC with localhost but the same error occurs when I use the name of my PC instead. When I installed TortoiseSVN and VisualSVN-Server, I didn't do any custom installations so for the most part, the installations relied on default settings. I also used all the default settings when building the repository, TestSVN. I've successfully downloaded all the Subversive SVN Team Provider tools as well as the SVN Connector (SVNKit 1.8.12) since I've successfully added other SVN respository locations, just not a VisualSVN one, to Eclipse. I'm not sure if it will help, but here's a screenshot of my VisualSVN,

enter image description here

I should also note that I have tried turning off my firewall as well as turning off skype or other applications that may interfere with port 443, but those options haven't done me much good.

EDIT: I used this tutorial to configure SVN with Eclipse and right at 10:38 I follow exactly what the user is doing and get the error above once I enter the correct information and press "Next/Finish".

EDIT 2: This issue is now fixed in subversive for Eclipse Neon as of September 1st, 2016.

like image 795
Chris Gong Avatar asked Jul 22 '16 20:07

Chris Gong


3 Answers

I had the same problem with eclipse neon except is says "for input String bf". I don't know what's wrong, but uninstalling SVN Team Provider and installing the version from mars software site (http://download.eclipse.org/releases/mars) with SVNKit 1.7.14 worked for me.

like image 165
dbilid Avatar answered Oct 22 '22 20:10

dbilid


The bug has been fixed in 4.6.1.


It seems to be a new bug in Eclipse / Subversive or one of their components: https://bugs.eclipse.org/bugs/show_bug.cgi?id=499529

If you experience the problem, vote for https://bugs.eclipse.org/bugs/show_bug.cgi?id=499529, and wait for a fix.

like image 22
bahrep Avatar answered Oct 22 '22 18:10

bahrep


In my case, I traced the problem back to changed certificate. The SVN client in eclipse was not able to process the string coming from SVN and asking to import and confirm the server certificate. In my case, in '... For input String "xx"...', the "xx" was actually the first part of the certificate in hexa. I went to commit with command line, responded 'p' (imported the cert permanently) and voila eclipse SVN was working again.

like image 41
Tomas Avatar answered Oct 22 '22 19:10

Tomas