Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Subclipse fails to start when SVN 1.12.0-rc1 is installed

80 views
Skip to first unread message

Heiko Selber

unread,
Jan 21, 2021, 5:57:29 AM1/21/21
to Subclipse
Hi,
I use Eclipse 4.18 (2020-12) on Ubuntu 18.04 LTS with Subclipse 4.3.3.

Unfortunately, this release of ubuntu has only libsvn-java 1.9, but Subclipse requires 1.12 for the JavaHL interface.

I can install 1.12 backported through the WANdisco repository (see https://askubuntu.com/questions/1114618/how-do-i-install-latest-version-of-svn ), which provides version 1.12.0-rc1

But Subclipse seems to have a problem parsing the version string "1.12.0-rc1".

Whenever Subclipse is invoked, exceptions are thrown with root cause:

java.lang.NumberFormatException: For input string: "0-rc1"
    at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.base/java.lang.Integer.parseInt(Integer.java:652)
    at java.base/java.lang.Integer.parseInt(Integer.java:770)
    at org.tigris.subversion.subclipse.ui.SvnVersion.<init>(SvnVersion.java:36)
    at org.tigris.subversion.subclipse.ui.Preferences.setSvnClientConfigDir(Preferences.java:72)
    at org.tigris.subversion.subclipse.ui.Preferences.initializeFromSettings(Preferences.java:40)
    at org.tigris.subversion.subclipse.ui.SVNUIPlugin.start(SVNUIPlugin.java:463)
[...]

This turns SVN effectively off for me. I can't even open the SVN preferences to change the SVN interface to SVNKit.

Is there a fix or a workaround for this problem?

Thanks,
Heiko

Mark Phippard

unread,
Jan 21, 2021, 7:28:48 AM1/21/21
to Heiko Selber, Subclipse
As a quick aside, note that we now have GitHub Discussions enabled on the project: https://github.com/subclipse/subclipse/discussions

SVN 1.10 and 1.14 are the two LTS releases that are available. My recommendation would be to use one of those versions. In your case, it will probably need to be the 1.10.x version that WanDisco has available.

If you uninstall the 1.12 version you should be able to get back to the preferences page and switch to SVNKit. That is also an option though you are better off using JavaHL in my opinion.

If you go back to 1.10 you will need to uninstall the JavaHL Adapter plugin for 1.12 and install the version for 1.10.

Mark

--
You received this message because you are subscribed to the Google Groups "Subclipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subclipse+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subclipse/ec3ee99d-7b2a-48b4-9d7d-93caa75b44fbn%40googlegroups.com.


--

Heiko Selber

unread,
Jan 21, 2021, 9:21:12 AM1/21/21
to Subclipse
Thanks for your reply! Going back to 1.10 is the solution.

I was unaware that a downgrade to 1.10 is possible. When I tried to downgrade to 1.11, I hit an error saying 1.12.0 is the minimum requirement, but failed to attribute that to the JavaHL adapter.

I agree that JavaHL is to be preferred over SVNKit. It is much more robust in merge conflicts and allows using the gnome keyring for secure password storage.

I'll use GitHub Discussions next time :-)
Reply all
Reply to author
Forward
0 new messages