One Star

IComponentsService has not been registered(on attempt to open project)

Hi,
I started using Talend two weeks back, to prepare data migration for a new client. It has worked ok until this morning. On any attempt to open a project (new or existing) after launching the "TOS_DI-win32-x86.exe" (version r72978-V5.0.0) i get this error:
An error occurred (The service org.talend.core.model.components.IComponentsService has not been registered.). See log for more details.
log:
java.lang.RuntimeException: The service org.talend.core.model.components.IComponentsService has not been registered.
at org.talend.core.GlobalServiceRegister.getService(GlobalServiceRegister.java:102)
at org.talend.repository.model.ComponentsFactoryProvider.getInstance(ComponentsFactoryProvider.java:58)
at org.talend.core.CoreService.componentsReset(CoreService.java:225)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1553)
at org.talend.repository.ui.login.LoginDialog$1.run(LoginDialog.java:342)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

I would like to emphasize that the data migration task i'm to do is quite urgent. I'm actually behind schedule for this project. Also this is not a fresh install, the installation has proved useful for several projects before i was recruited here.
10 REPLIES
Moderator

Re: IComponentsService has not been registered(on attempt to open project)

Hi,
java.lang.RuntimeException: The service org.talend.core.model.components.IComponentsService has not been registered.

It seems that some plugin is not loaded in Talend studio.
You can delete the directory under <TalendInstallationPath>/configuration/org.eclipse.osgi by manual(Sometimes, this folder is hidden, and you need to show hidden files to find) to see if this issue repro.
In addition, please backup for this directory in case something wrong with that. Let me know it is OK with you.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: IComponentsService has not been registered(on attempt to open project)

Thanks Sabrina, sorry for the bother.
I couldn't stall my work any longer so i tried reinstalling and restoring my workspace. Although it's a radical solution, it worked fine.
But your reply is not in vain, i'll, hereafter, get accustomed to the Talend configuration (plugins, dependencies, ...) so i know how to deal with any other issue in the future.
Best regards,
Cliff
Moderator

Re: IComponentsService has not been registered(on attempt to open project)

Hi,
Thanks your feedback. Restoring workspace is also a good solution if you have no idea with the problem. Feel free post your issue on forum.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: IComponentsService has not been registered(on attempt to open project)

Hi, I`ve received similar error:
java.lang.RuntimeException: The service org.talend.core.model.components.IComponentsService has not been registered.
at org.talend.core.GlobalServiceRegister.getService(GlobalServiceRegister.java:148)
at org.talend.repository.model.ComponentsFactoryProvider.getInstance(ComponentsFactoryProvider.java:58)
at org.talend.core.CoreService.componentsReset(CoreService.java:249)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1755)
at org.talend.repository.ui.login.LoginDialog$1.run(LoginDialog.java:360)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
I had deleted folder org.eclipse.osgi, but problem wasnt removed. Could someone helps me with my problem? Yeasterday, I had worked in Talend and everything was OK. Thanks
One Star

Re: IComponentsService has not been registered(on attempt to open project)

Hi
Had the same error message.
Deleting directory org.eclipse.osgi did not resolve the error.
Had to re-install new instance and import.
I am on version 5.3.
One Star

Re: IComponentsService has not been registered(on attempt to open project)

I had the same error and this time deleting the directory did work, so worth a try if you do get it.
Moderator

Re: IComponentsService has not been registered(on attempt to open project)

Hi Stephen Elves,

Thanks for your feedback. Could you please also indicate the build version you are using?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: IComponentsService has not been registered(on attempt to open project)

We had the same problem. Installing Talend over the existing did not solve the problem, nor the deletion of the folder as mentioned earlier. The error message in the logfile (which can be found here: ..\TOS_DI-Win32-20150702_1326-V6.0.0\workspace\.metadata\.log.txt) just above the RuntimeException was:
"Caused by: org.eclipse.core.internal.resources.ResourceException: Could not read metadata for 'C:\tosv60\TOS_DI-Win32-20150702_1326-V6.0.0\workspace\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.index'. Unexpected version: 0."
So, we created with the current Talend Install a new Workspace with a testproject in it, then copied the file properties.index over to the corrupt workspace and bingo!
This is in Version 6.0.0 Talend Open Studio. regards, Rudolf.
One Star

Re: IComponentsService has not been registered(on attempt to open project)

I unzipped the studio as root, so had to make:
<TalendInstallationPath>/configuration/
<TalendInstallationPath>/plugins
Directories world writable. 
I seem to be in a loop though now installing required and optional jars. Always comes up and says there are 4 to install. I get the success message and restart. Then open my project and get the install 4 jars again message. I can only go forward if I click no to restart. Anyway to resolve ? Is it OK to keep ignoring?
thanks
Moderator

Re: IComponentsService has not been registered(on attempt to open project)

Hi mgrabenstein,

The issue https://jira.talendforge.org/browse/TUP-2943 exists in version 6.1.0, it has been fixed in version 6.1.1 which will  be released in the middle of december, 2015. There is a patch for fixing this issue, if you are using Talend enterprise subscription product, please report a ticket in our support portal to request it.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.