Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » GitProvider related error in CI job
GitProvider related error in CI job [message #1008134] Sun, 10 February 2013 14:19 Go to next message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 213
Registered: July 2009
Senior Member
Hi all,

in a Jenkins Job responsible for building a P2 repository for a certain feature the following error occurs:

ERROR: Could not instantiate provider org.eclipse.egit.core.GitProvider for project org.example.myproject.branding.
org.eclipse.team.core.TeamException: Could not instantiate provider org.eclipse.egit.core.GitProvider for project org.example.myproject.branding.
	at org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
	at org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
	at org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
	at org.eclipse.team.internal.core.TeamHookDispatcher.getProvider(TeamHookDispatcher.java:97)
	at org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatcher.java:105)
	at org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:93)
	at org.eclipse.core.internal.resources.Rules.modifyRule(Rules.java:145)
	at org.eclipse.core.internal.resources.Project.touch(Project.java:1401)
	at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
	at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:5269)
	at org.eclipse.pde.internal.core.PluginModelManager.updateAffectedEntries(PluginModelManager.java:372)
	at org.eclipse.pde.internal.core.PluginModelManager.modelsChanged(PluginModelManager.java:280)
	at org.eclipse.pde.internal.core.PluginModelManager.resetState(PluginModelManager.java:1074)
	at org.eclipse.pde.core.target.LoadTargetDefinitionJob.performPlatformReset(LoadTargetDefinitionJob.java:602)
	at org.eclipse.pde.core.target.LoadTargetDefinitionJob.handleReload(LoadTargetDefinitionJob.java:579)
	at org.eclipse.pde.core.target.LoadTargetDefinitionJob.loadPlugins(LoadTargetDefinitionJob.java:286)
	at org.eclipse.pde.core.target.LoadTargetDefinitionJob.runInWorkspace(LoadTargetDefinitionJob.java:143)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.buckminster.pde.internal.PDETargetPlatform.setTargetActive(PDETargetPlatform.java:151)
	at org.eclipse.buckminster.pde.prefs.TargetPlatformPathHandler.setTargetPlatform(TargetPlatformPathHandler.java:76)
	at org.eclipse.buckminster.pde.prefs.TargetPlatformPathHandler.set(TargetPlatformPathHandler.java:109)
	at org.eclipse.buckminster.core.commands.SetPreference.internalRun(SetPreference.java:70)
	at org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
	at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
	at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
	at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
	at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)


Do you know what is happening here? Is Buckminster trying to start EGit?

Thanks for your help,

Axel
Re: GitProvider related error in CI job [message #1008281 is a reply to message #1008134] Mon, 11 February 2013 02:07 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1307
Registered: July 2009
Senior Member
Is buckminster headless git feature installed in your buckminster in
Jenkins?

org.eclipse.buckminster.git.headless.feature.feature.group

On 02/11/2013 06:07 AM, Axel Guckelsberger wrote:
> Hi all,
>
> in a Jenkins Job responsible for building a P2 repository for a certain
> feature the following error occurs:
>
>
> ERROR: Could not instantiate provider org.eclipse.egit.core.GitProvider
> for project org.example.myproject.branding.
> org.eclipse.team.core.TeamException: Could not instantiate provider
> org.eclipse.egit.core.GitProvider for project
> org.example.myproject.branding.
> at
> org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
>
> at
> org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
>
> at
> org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
>
> at
> org.eclipse.team.internal.core.TeamHookDispatcher.getProvider(TeamHookDispatcher.java:97)
>
> at
> org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatcher.java:105)
>
> at org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:93)
> at org.eclipse.core.internal.resources.Rules.modifyRule(Rules.java:145)
> at org.eclipse.core.internal.resources.Project.touch(Project.java:1401)
> at
> org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115)
>
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
>
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
>
> at
> org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:5269)
> at
> org.eclipse.pde.internal.core.PluginModelManager.updateAffectedEntries(PluginModelManager.java:372)
>
> at
> org.eclipse.pde.internal.core.PluginModelManager.modelsChanged(PluginModelManager.java:280)
>
> at
> org.eclipse.pde.internal.core.PluginModelManager.resetState(PluginModelManager.java:1074)
>
> at
> org.eclipse.pde.core.target.LoadTargetDefinitionJob.performPlatformReset(LoadTargetDefinitionJob.java:602)
>
> at
> org.eclipse.pde.core.target.LoadTargetDefinitionJob.handleReload(LoadTargetDefinitionJob.java:579)
>
> at
> org.eclipse.pde.core.target.LoadTargetDefinitionJob.loadPlugins(LoadTargetDefinitionJob.java:286)
>
> at
> org.eclipse.pde.core.target.LoadTargetDefinitionJob.runInWorkspace(LoadTargetDefinitionJob.java:143)
>
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>
> at
> org.eclipse.buckminster.pde.internal.PDETargetPlatform.setTargetActive(PDETargetPlatform.java:151)
>
> at
> org.eclipse.buckminster.pde.prefs.TargetPlatformPathHandler.setTargetPlatform(TargetPlatformPathHandler.java:76)
>
> at
> org.eclipse.buckminster.pde.prefs.TargetPlatformPathHandler.set(TargetPlatformPathHandler.java:109)
>
> at
> org.eclipse.buckminster.core.commands.SetPreference.internalRun(SetPreference.java:70)
>
> at
> org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
>
> at
> org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
>
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
> at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>
>
> Do you know what is happening here? Is Buckminster trying to start EGit?
>
> Thanks for your help,
>
> Axel
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Re: GitProvider related error in CI job [message #1008294 is a reply to message #1008281] Mon, 11 February 2013 14:33 Go to previous message
Axel Guckelsberger is currently offline Axel Guckelsberger
Messages: 213
Registered: July 2009
Senior Member
Hi Lorenzo,

have a lot of thanks, that was it!

Regards,

Axel


Lorenzo Bettini wrote:

> Is buckminster headless git feature installed in your buckminster in
> Jenkins?
>
> org.eclipse.buckminster.git.headless.feature.feature.group
>
> On 02/11/2013 06:07 AM, Axel Guckelsberger wrote:
>> Hi all,
>>
>> in a Jenkins Job responsible for building a P2 repository for a certain
>> feature the following error occurs:
>>
>>
>> ERROR: Could not instantiate provider org.eclipse.egit.core.GitProvider
>> for project org.example.myproject.branding.
>> org.eclipse.team.core.TeamException: Could not instantiate provider
>> org.eclipse.egit.core.GitProvider for project
>> org.example.myproject.branding.
>> at
>>
org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
>>
>> at
>>
org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
>>
>> at
>>
org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
>>
>> at
>>
org.eclipse.team.internal.core.TeamHookDispatcher.getProvider(TeamHookDispatcher.java:97)
>>
>> at
>>
org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatcher.java:105)
>>
>> at
>> org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:93)
>> at
>> org.eclipse.core.internal.resources.Rules.modifyRule(Rules.java:145)
>> at
>> org.eclipse.core.internal.resources.Project.touch(Project.java:1401)
>> at
>>
org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:115)
>>
>> at
>>
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
>>
>> at
>> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>> at
>>
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
>>
>> at
>> org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:5269)
>> at
>>
org.eclipse.pde.internal.core.PluginModelManager.updateAffectedEntries(PluginModelManager.java:372)
>>
>> at
>>
org.eclipse.pde.internal.core.PluginModelManager.modelsChanged(PluginModelManager.java:280)
>>
>> at
>>
org.eclipse.pde.internal.core.PluginModelManager.resetState(PluginModelManager.java:1074)
>>
>> at
>>
org.eclipse.pde.core.target.LoadTargetDefinitionJob.performPlatformReset(LoadTargetDefinitionJob.java:602)
>>
>> at
>>
org.eclipse.pde.core.target.LoadTargetDefinitionJob.handleReload(LoadTargetDefinitionJob.java:579)
>>
>> at
>>
org.eclipse.pde.core.target.LoadTargetDefinitionJob.loadPlugins(LoadTargetDefinitionJob.java:286)
>>
>> at
>>
org.eclipse.pde.core.target.LoadTargetDefinitionJob.runInWorkspace(LoadTargetDefinitionJob.java:143)
>>
>> at
>>
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>
>> at
>>
org.eclipse.buckminster.pde.internal.PDETargetPlatform.setTargetActive(PDETargetPlatform.java:151)
>>
>> at
>>
org.eclipse.buckminster.pde.prefs.TargetPlatformPathHandler.setTargetPlatform(TargetPlatformPathHandler.java:76)
>>
>> at
>>
org.eclipse.buckminster.pde.prefs.TargetPlatformPathHandler.set(TargetPlatformPathHandler.java:109)
>>
>> at
>>
org.eclipse.buckminster.core.commands.SetPreference.internalRun(SetPreference.java:70)
>>
>> at
>>
org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
>>
>> at
>>
org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
>>
>> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:350)
>> at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:145)
>> at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:165)
>> at
>>
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> at
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>>
>>
>> Do you know what is happening here? Is Buckminster trying to start EGit?
>>
>> Thanks for your help,
>>
>> Axel
>>
>
>
Previous Topic:Conditionally using a local Git clone
Next Topic:Specifying a combination for target.ws/os/arch
Goto Forum:
  


Current Time: Wed Jul 30 11:35:40 EDT 2014

Powered by FUDForum. Page generated in 0.01509 seconds