Bug 499529 - SVN server connection failure with Eclipse Neon
Summary: SVN server connection failure with Eclipse Neon
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows 10
: P3 blocker with 10 votes (vote)
Target Milestone: 4.6.1   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 500752 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-11 04:14 EDT by Nobody - feel free to take it CLA
Modified: 2016-09-03 05:47 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody - feel free to take it CLA 2016-08-11 04:14:00 EDT
I just installed Eclipse Neon and added the Subversive plugin. I tried to add a new repository location which I know is correct and all I get is:

- Using the SVNKit 1.8.12 connector: 

org.eclipse.team.svn.core.connector.SVNConnectorException: svn: E175002: java.lang.NumberFormatException: For input string: "cd"

- Using the Native JavaHL 1.8.15 connector: 
java.lang.NullPointerException at org.eclipse.team.svn.core.utility.SVNUtility.decodeCertificateData(SVNUtility.java:126)

See attachment for whole stacktraces.
The SVNKit one seems to be a new bug. I couldn't say for the JavaHL as I never used it before.

My SVN server is 1.8.10.
Comment 1 Pavel Lyalyakin CLA 2016-08-11 07:04:11 EDT
Getting the error with SVNKit:
[[[
svn: E175002: java.lang.NumberFormatException: For input string: "9a"
svn: E175002: OPTIONS request failed on '/svn/MyTestRepo'
]]]

JavaHL 1.8.15 works. Can't test JavaHL 1.9.x since the error is displayed in SVN Connector dropbox:
[[[
Native JavaHL 0x00100000: Cannot load libraries: Native Library C:\Windows\System32\dbghelp.dll already loaded in another classloader
]]]

Windows Server 2012 R2,
VisualSVN Server 3.5.3 64-bit (HTTPS).

Eclipse IDE and the server are installed on the same computer.

Eclipse IDE for Java Developers
Version: Neon Release (4.6.0)
Build id: 20160613-1800

  Subversive SVN Connectors	6.0.1.I20160627-1700	org.polarion.eclipse.team.svn.connector.feature.group	Polarion Software

  SVNKit 1.8.12 Implementation (Optional)	6.0.1.I20160627-1700	org.polarion.eclipse.team.svn.connector.svnkit18.feature.group	Polarion Software

  Native JavaHL 1.8 Implementation (Optional)	6.0.0.I20160427-1700	org.polarion.eclipse.team.svn.connector.javahl18.feature.group	Polarion Software

  Native JavaHL 1.9 Implementation (Optional)	6.0.0.I20160427-1700	org.polarion.eclipse.team.svn.connector.javahl19.feature.group	Polarion Software

PS It seems that there is another error users report but I was unable to reproduce it with Subversive so far and I'm not sure whether it's related:
[[[
"number format exception b6"
]]]
Comment 2 Jens Schreiber CLA 2016-08-17 03:53:46 EDT
Same issue here with SVNKit 1.8.12 connector and VisualSVN-Server 3.5.3.

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2016-08-17 09:36:56.937
!MESSAGE SVN: '0x00400107: Get Repository Resource Revision' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2016-08-17 09:36:56.937
!MESSAGE Get repository resource revision operation failed.
!STACK 0
org.eclipse.team.svn.core.connector.SVNConnectorException: svn: E175002: java.lang.NumberFormatException: For input string: "a0"
svn: E175002: PROPFIND request failed on '/svn/test'
	at org.polarion.team.svn.connector.svnkit.SVNKitService.handleClientException(SVNKitService.java:59)
	at org.polarion.team.svn.connector.svnkit.SVNKitConnector.getInfo(SVNKitConnector.java:1400)
	at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.getInfo(ThreadNameModifier.java:683)
	at org.eclipse.team.svn.core.utility.SVNUtility.info(SVNUtility.java:464)
	at org.eclipse.team.svn.core.svnstorage.SVNRepositoryContainer.getRevisionImpl(SVNRepositoryContainer.java:109)
	at org.eclipse.team.svn.core.svnstorage.SVNRepositoryResource.getRevision(SVNRepositoryResource.java:97)
	at org.eclipse.team.svn.ui.operation.GetRemoteResourceRevisionOperation.runImpl(GetRemoteResourceRevisionOperation.java:40)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:99)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:82)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:40)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.ui.utility.DefaultCancellableOperationWrapper.run(DefaultCancellableOperationWrapper.java:55)
	at org.eclipse.team.svn.ui.utility.ScheduledOperationWrapper.run(ScheduledOperationWrapper.java:37)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.apache.subversion.javahl.ClientException: svn: E175002: java.lang.NumberFormatException: For input string: "a0"
svn: E175002: PROPFIND request failed on '/svn/sOliver_2016x'
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1496)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.info2(SVNClientImpl.java:1677)
	at org.polarion.team.svn.connector.svnkit.SVNKitConnector.getInfo(SVNKitConnector.java:1395)
Comment 3 Jens Schreiber CLA 2016-08-17 07:52:38 EDT
A workaround is to install the SVN Team provider from the mars repository. This is working for me.
Comment 4 Alexander Gurov CLA 2016-09-01 05:55:32 EDT
Fixed.
Comment 5 Alexander Gurov CLA 2016-09-02 10:40:41 EDT
*** Bug 500752 has been marked as a duplicate of this bug. ***
Comment 6 Vish Khalipe CLA 2016-09-02 15:20:07 EDT
When will 4.6.1 be available? I tried to update but no updates are available.
Comment 7 Alexander Gurov CLA 2016-09-03 05:47:51 EDT
4.6.1 is Eclipse simultaneous release mark.
https://wiki.eclipse.org/Neon/Simultaneous_Release_Plan#Neon.1

P.S.
A new Subversive build will be available earlier, though. I expect it to be ready next week.