Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319325 - Subversive cannot see installed SVN implementations
Summary: Subversive cannot see installed SVN implementations
Status: RESOLVED WORKSFORME
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 18:21 EDT by Adam Hawthorne CLA
Modified: 2011-03-26 03:33 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Hawthorne CLA 2010-07-08 18:21:00 EDT
Originally, I saw a problem where every time I started Eclipse, it would prompt me to install a connector implementation.  I would select either JavaHL 1.6 or SVNKit 1.3, but when I would try to install, installation would fail saying that the component was already installed or that a newer version was already installed.  In my main workspace I was still using Subclipse, so this didn't affect me.  Eventually, I began canceling the dialog every time it would appear.

When I needed to work on a branch, I switched to another workspace that I was experimenting with using Subversive.  When it loaded and I canceled the dialog as usual, my project could not connect and the SVN subscribers all failed with several dialogs.  I went back to try to download an SVN implementation and downloaded the SVNKit 1.2 implementation, which installed successfully, and I was able to set it.  But, because my archive is a 1.6 archive, it obviously failed.  I tried installing the 1.3.2 implementation again, which failed, saying it was already installed.  I found it, uninstalled it and re-installed it, which worked, but I could not select that implementation from the Team -> SVN preferences screen, and I still could not connect Subversive to my archives.  Here are a few of the errors:

***************************************
First error:
***************************************
eclipse.buildId=
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product -data /home/ahawtho/dev/basis/workspaceBranch

This is a continuation of log file /home/ahawtho/dev/basis/workspaceBranch/.metadata/.bak_9.log
Created Time: 2010-07-08 17:47:53.116


Warning
Thu Jul 08 17:47:56 EDT 2010
Errors running builder 'Java Builder' on project 'BBj'.

org.eclipse.team.svn.core.operation.UnreportableException: Selected SVN connector library is not available or cannot be loaded.
If you selected native JavaHL connector, please check if binaries are available or install and select pure Java Subversion connector from the plug-in connectors update site.
If connectors already installed then you can change the selected one at: Window->Preferences->Team->SVN->SVN Connector.
at org.eclipse.team.svn.core.extension.factory.ISVNConnectorFactory$1.newInstance(ISVNConnectorFactory.java:105)
at org.eclipse.team.svn.core.utility.SVNUtility.getSVNInfoForNotConnected(SVNUtility.java:863)
at org.eclipse.team.svn.core.SVNTeamProvider.uploadRepositoryResource(SVNTeamProvider.java:240)
at org.eclipse.team.svn.core.SVNTeamProvider.connectToProject(SVNTeamProvider.java:172)
at org.eclipse.team.svn.core.SVNTeamProvider.getRepositoryResource(SVNTeamProvider.java:72)
at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.loadLocalResourcesSubTreeSVNImpl(SVNRemoteStorage.java:713)
at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.loadLocalResourcesSubTree(SVNRemoteStorage.java:607)
at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.asLocalResource(SVNRemoteStorage.java:372)
at org.eclipse.team.svn.core.SVNTeamMoveDeleteHook.doDelete(SVNTeamMoveDeleteHook.java:121)
at org.eclipse.team.svn.core.SVNTeamMoveDeleteHook.deleteFolder(SVNTeamMoveDeleteHook.java:56)
at org.eclipse.team.internal.core.MoveDeleteManager.deleteFolder(MoveDeleteManager.java:62)
at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1767)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:724)
at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:114)
at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:46)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:178)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

**********************************************
Typical error trying to install connector:
**********************************************
eclipse.buildId=
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product -data /home/ahawtho/dev/basis/workspaceBranch

This is a continuation of log file /home/ahawtho/dev/basis/workspaceBranch/.metadata/.bak_9.log
Created Time: 2010-07-08 17:47:53.116


Warning
Thu Jul 08 17:50:06 EDT 2010
"SVNKit 1.3.2 Implementation (Optional)" will be ignored because it is already installed.

***************************************
Automatically included information below here
***************************************


Version:	0.7.8.I20091023-1300

SVN Client:	org.eclipse.team.svn.connector.svnkit15 2.2.1.I20091009-1900 SVN/1.5.6 SVNKit/1.2.3 (http://svnkit.com/) r5745

JVM Properties:
{java.vendor=Sun Microsystems Inc., osgi.bundles.defaultStartLevel=4, sun.java.launcher=SUN_STANDARD, org.osgi.supports.framework.extension=true, sun.management.compiler=HotSpot 64-Bit Server Compiler, eclipse.p2.profile=epp.package.java, os.name=Linux, findbugs.home=/usr/local/eclipse-3.5/plugins/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821/, osgi.ws=gtk, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_20-b02, osgi.instance.area=file:/home/ahawtho/dev/basis/workspaceBranch/, user.name=ahawtho, osgi.framework.extensions=, eclipse.launcher=/usr/local/eclipse-3.5/eclipse, org.osgi.framework.language=en, user.language=en, org.osgi.framework.processor=x86-64, osgi.syspath=/usr/local/eclipse-3.5/plugins, sun.boot.library.path=/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64, osgi.manifest.cache=/usr/local/eclipse-3.5/configuration/org.eclipse.osgi/manifests, java.version=1.6.0_20, org.osgi.framework.os.name=Linux, user.timezone=America/New_York, sun.arch.data.model=64, java.endorsed.dirs=/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/endorsed, osgi.tracefile=/home/ahawtho/dev/basis/workspaceBranch/.metadata/trace.log, sun.cpu.isalist=, sun.jnu.encoding=UTF-8, eclipse.application=org.eclipse.ui.ide.workbench, file.encoding.pkg=sun.io, org.osgi.framework.vendor=Eclipse, file.separator=/, java.specification.name=Java Platform API Specification, java.class.version=50.0, user.country=US, org.eclipse.equinox.launcher.splash.location=/usr/local/eclipse-3.5/plugins/org.eclipse.platform_3.3.202.v201002111343/splash.bmp, java.home=/usr/lib/jvm/java-6-sun-1.6.0.20/jre, osgi.os=linux, eclipse.commands=-os linux -ws gtk -arch x86_64 -showsplash -launcher /usr/local/eclipse-3.5/eclipse -name Eclipse --launcher.library /usr/local/eclipse-3.5//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so -startup /usr/local/eclipse-3.5//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -exitdata 16290006 -product org.eclipse.epp.package.java.product -data /home/ahawtho/dev/basis/workspaceBranch -vm /usr/bin/java , java.vm.info=mixed mode, osgi.splashLocation=/usr/local/eclipse-3.5/plugins/org.eclipse.platform_3.3.202.v201002111343/splash.bmp, os.version=2.6.31-22-generic, osgi.arch=x86_64, path.separator=:, java.vm.version=16.3-b01, org.osgi.supports.framework.fragment=true, osgi.framework.shape=jar, osgi.instance.area.default=file:/home/ahawtho/workspace/, java.awt.printerjob=sun.print.PSPrinterJob, sun.io.unicode.encoding=UnicodeLittle, org.osgi.framework.version=1.5.0, osgi.install.area=file:/usr/local/eclipse-3.5/, osgi.framework=file:/usr/local/eclipse-3.5/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar, user.home=/home/ahawtho, org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info, osgi.bundlestore=/usr/local/eclipse-3.5/configuration/org.eclipse.osgi/bundles, osgi.splashPath=platform:/base/plugins/org.eclipse.platform, osgi.nl=en_US, java.specification.vendor=Sun Microsystems Inc., java.library.path=/usr/lib/jni, java.vendor.url=http://java.sun.com/, org.osgi.framework.os.version=2.6.31, eclipse.startTime=1278626724620, eclipse.p2.data.area=@config.dir/../p2/, java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) SE Runtime Environment, java.class.path=/usr/local/eclipse-3.5//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar, osgi.requiredJavaVersion=1.5, org.eclipse.update.reconcile=false, eclipse.vm=/usr/bin/java, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=unknown, java.io.tmpdir=/tmp, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, eclipse.product=org.eclipse.epp.package.java.product, eclipse.home.location=file:/usr/local/eclipse-3.5/, os.arch=amd64, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.ext.dirs=/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/ext:/usr/java/packages/lib/ext, user.dir=/home/ahawtho, org.osgi.supports.framework.requirebundle=true, line.separator= , java.vm.name=Java HotSpot(TM) 64-Bit Server VM, org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog, file.encoding=UTF-8, osgi.framework.version=3.5.2.R35x_v20100126, eclipse.buildId=, eclipse.vmargs=-Djava.library.path=/usr/lib/jni -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:NewRatio=8 -XX:SurvivorRatio=6 -Xloggc:/home/ahawtho/tmp/eclipse_gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=384m -Xms128m -Xmx1024m -jar /usr/local/eclipse-3.5//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar , java.specification.version=1.6, org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6, osgi.logfile=/home/ahawtho/dev/basis/workspaceBranch/.metadata/.log, osgi.configuration.area=file:/usr/local/eclipse-3.5/configuration/}
Comment 1 Alexander Gurov CLA 2011-03-26 03:33:25 EDT
It looks like there was incompatibility between connectors and main plug-in. In order to avoid the issue connectors and main plug-in of compatible versions should be installed, for example if you want to install the "Early Access" version, then you should use these URLs as pointed on the downloads page:
http://download.eclipse.org/technology/subversive/0.7/update-site/
http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/

P.S.
And UnreportableException were introduced just to break the code execution without reporting it as an issue. So, if your Subversive instance proposed reporting it as an issue this is the issue itself, but still it does not happen in the recent plug-in versions.