Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340527

Summary: Correct connectors compatibility ID [ID-D1U3Y]
Product: [Technology] Subversive Reporter: nvervelle
Component: CoreAssignee: Igor Burilo <igor.burilo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: a.gurov, cyril.poder, francesco, ivaylo.byalkov, sam
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description nvervelle CLA 2011-03-20 17:38:22 EDT
Version:	0.7.9.I20110207-1700

SVN Client:	org.eclipse.team.svn.connector.javahl16 2.2.2.I20110318-1700 svn:1.6.12 (r955767)
jni:0.9.0

JVM Properties:
{java.runtime.name=Java(TM) SE Runtime Environment, java.runtime.version=1.6.0_24-b07, java.vendor=Sun Microsystems Inc., line.separator=
 , java.class.version=50.0, os.name=Windows XP, os.arch=x86, user.country=FR, os.version=5.1, eclipse.commands=-os win32 -ws win32 -arch x86 -showsplash D:\DevTools\eclipse3.6\\plugins\org.eclipse.platform_3.6.2.v201102101200\splash.bmp -launcher D:\DevTools\eclipse3.6\eclipse.exe -name Eclipse --launcher.library D:\DevTools\eclipse3.6\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222\eclipse_1312.dll -startup D:\DevTools\eclipse3.6\\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar -product org.eclipse.epp.package.java.product -data D:\DevTools\Jmol_trunk -vm C:/Program Files/Java/jre6/bin\client\jvm.dll , java.version=1.6.0_24, osgi.framework.version=3.6.2.R36x_v20110210, file.separator=\, java.vm.info=mixed mode, sharing, path.separator=;, user.timezone=Europe/Paris, user.language=fr, java.vm.name=Java HotSpot(TM) Client VM, file.encoding=Cp1252}

java.lang.NoSuchMethodError: org.eclipse.team.svn.core.connector.ISVNProgressMonitor$ItemState.<init>(Ljava/lang/String;IILjava/lang/String;IIJLjava/lang/String;)V
java.lang.NoSuchMethodError: org.eclipse.team.svn.core.connector.ISVNProgressMonitor$ItemState.<init>(Ljava/lang/String;IILjava/lang/String;IIJLjava/lang/String;)V
	at org.polarion.team.svn.connector.javahl.JavaHLConnector.makeItemState(JavaHLConnector.java:1504)
	at org.polarion.team.svn.connector.javahl.JavaHLConnector$ProgressMonitorWrapper.notify(JavaHLConnector.java:1641)
	at org.eclipse.team.svn.core.utility.Notify2Composite.notify(Notify2Composite.java:51)
	at org.tigris.subversion.javahl.ConversionUtility$Notify2Wrapper.onNotify(ConversionUtility.java:406)
	at org.tigris.subversion.javahl.SVNClient.update(Native Method)
	at org.polarion.team.svn.connector.javahl.JavaHLConnector.update(JavaHLConnector.java:354)
	at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.update(ThreadNameModifier.java:638)
	at org.eclipse.team.svn.core.operation.local.UpdateOperation$2.run(UpdateOperation.java:126)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:154)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:149)
	at org.eclipse.team.svn.core.operation.local.UpdateOperation.runImpl(UpdateOperation.java:122)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:95)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:39)
	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.WorkspaceModifyCancellableOperationWrapper.execute(WorkspaceModifyCancellableOperationWrapper.java:58)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
	at org.eclipse.team.svn.ui.utility.SVNTeamOperationWrapper.run(SVNTeamOperationWrapper.java:35)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Alexander Gurov CLA 2011-03-21 03:32:53 EDT
Please update connectors too. Then the problem will be solved.
Comment 2 Missing name Mising name CLA 2011-03-21 05:10:21 EDT
Same problem.

Version of org.eclipse.team.svn(.core): 0.7.9.I20110207-1700
Version of org.polarion.eclipse.team.svn.connector(.svnkit16): 2.2.2.I20110318-1700

The problem appeared after the latest automatic update of Eclipse (on a couple of computers). The Helois repository lists "Subversive SVN Team provider (Incubation)" at version 0.7.9.I20110207-1700, while the update site "http://download.eclipse.org/technology/subversive/0.7/update-site/" shows version 0.7.9.I20110318-1700

Is the update feature broken or the Helios repository is stale?


As a result of the update all SVN functionality is broken.
Comment 3 nvervelle CLA 2011-03-21 05:18:43 EDT
Thanks,

The problem appeared just after the automatic update done by Eclipse itself.

What exactly has to be updated, and what is the procedure to do this update ?
I am usually using only the automatic update provided by Eclipse.

Nico
Comment 4 Alexander Gurov CLA 2011-03-21 07:24:27 EDT
There should be no problem with automatic updates if both update sites are enabled: 
http://download.eclipse.org/technology/subversive/0.7/update-site/
http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site/

Its just that I forgot to specify correct compatibility options for connectors and main plug-in before publishing the build. So, I still should correct the issue.
Comment 5 Alexander Gurov CLA 2011-03-21 07:25:58 EDT
(In reply to comment #2)
> Is the update feature broken or the Helios repository is stale?
No, please check previous comment. It looks like one of update sites weren't enabled, so only part of Subversive were updated.
Comment 6 Alexander Gurov CLA 2011-03-21 09:05:16 EDT
*** Bug 340548 has been marked as a duplicate of this bug. ***
Comment 7 Alexander Gurov CLA 2011-03-21 09:05:39 EDT
*** Bug 340547 has been marked as a duplicate of this bug. ***
Comment 8 Missing name Mising name CLA 2011-03-21 09:23:00 EDT
Thanks, after adding http://download.eclipse.org/technology/subversive/0.7/update-site/
and updating the problem is gone.

But when installing SVN (from Help/Install New Software/Helios/Collaboration/etc.) there is no manual creation of repositories. After installing the plugin and later using the "Subversive connector discovery" dialog, the url "http://community.polarion.com/projects/subversive/download/eclipse/2.0/helios-site/" is automatically added. The url "http://download.eclipse.org/technology/subversive/0.7/update-site/" is missing.
Comment 9 Alexander Gurov CLA 2011-03-21 09:54:05 EDT
Yes, it is, because update sites should be paired. Right now I'm fixing the build, so the error wouldn't happen next time.
Comment 10 Alexander Gurov CLA 2011-03-21 12:15:20 EDT
Fixed.
Comment 11 Alexander Gurov CLA 2011-03-22 10:35:54 EDT
*** Bug 340643 has been marked as a duplicate of this bug. ***
Comment 12 Alexander Gurov CLA 2011-03-22 10:36:17 EDT
*** Bug 340644 has been marked as a duplicate of this bug. ***
Comment 13 Alexander Gurov CLA 2011-03-22 10:36:41 EDT
*** Bug 340642 has been marked as a duplicate of this bug. ***
Comment 14 nvervelle CLA 2011-03-22 10:49:27 EDT
Fixed for me too. Updates are now related and must be done together.
Thanks a lot.
Comment 15 Alexander Gurov CLA 2011-03-23 15:56:32 EDT
*** Bug 340730 has been marked as a duplicate of this bug. ***