Exception While Switching from Remote to Local

Two Stars

Exception While Switching from Remote to Local

I recently installed Talend 6.4.1 and I was sucecssfully able to checkout my remote project to local. However when i try to switch to "local branch", It fails and I see exceptions in workspace/.metadata/.log file

 

Other things i noticed during this process:

 

1) The project is visible (job designs, joblet designs etc) when i check out a remote to my local branch. But after I restart the 'job design', joblet designs' are all missing. Just the 'Metadata' link alone is visible (see below image)

 

2) After I restart Talend after the checkout was completed, I do not even see an option to choose local from the drop down list under GIT (i just see remote mode and not the local mode)

Error.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Following exception is what i see when i try to switch to local branch:

 

 

!ENTRY org.talend.platform.logging 4 0 2018-08-12 15:08:41.336
!MESSAGE 2018-08-12 15:08:41,336 ERROR org.talend.commons.exception.CommonExceptionHandler -

!STACK 0
java.lang.NullPointerException
at org.talend.components.api.service.internal.osgi.ComponentServiceOsgi.getAllComponents(ComponentServiceOsgi.java:152)
at org.talend.designer.core.generic.utils.ComponentsUtils.loadComponents(ComponentsUtils.java:136)
at org.talend.designer.core.generic.model.ComponentsProvider.loadComponentsFromExtensionPoint(ComponentsProvider.java:33)
at org.talend.designer.core.model.process.GenericProcessProvider.loadComponentsFromProviders(GenericProcessProvider.java:76)
at org.talend.designer.codegen.components.model.ComponentsFactory.loadComponentsFromExtensions(ComponentsFactory.java:348)
at org.talend.designer.codegen.components.model.ComponentsFactory.init(ComponentsFactory.java:187)
at org.talend.designer.codegen.components.model.ComponentsFactory.getComponents(ComponentsFactory.java:831)
at org.talend.designer.joblet.utils.JobletComponentsUtils.loadComponentsFromJoblets(JobletComponentsUtils.java:137)
at org.talend.designer.sparkstreamingjoblet.services.SparkStreamingJobletProcessProvider.loadComponentsFromExtensionPoint(SparkStreamingJobletProcessProvider.java:109)
at org.talend.designer.core.model.process.AbstractProcessProvider.loadComponentsFromProviders(AbstractProcessProvider.java:128)
at org.talend.designer.joblet.JobletProviderService.loadComponentsFromProviders(JobletProviderService.java:408)
at org.talend.core.model.repository.RepositoryManager.syncRoutineAndJoblet(RepositoryManager.java:109)
at org.talend.repository.gitprovider.ui.action.SwitchBranchAction$1.switchBack(SwitchBranchAction.java:369)
at org.talend.repository.gitprovider.ui.action.SwitchBranchAction$1.run(SwitchBranchAction.java:317)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.talend.repository.gitprovider.ui.action.SwitchBranchAction$2.run(SwitchBranchAction.java:407)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

 

4. Also the following exception is seen in a dialog box when i restart the Talend everytime.

 

 
java.lang.NullPointerException
at org.talend.components.api.service.internal.osgi.ComponentServiceOsgi.getTopLevelComponentWizards(ComponentServiceOsgi.java:157)
at org.talend.repository.generic.service.GenericWizardService.createNodesFromComponentService(GenericWizardService.java:72)
at org.talend.core.repository.model.ProjectRepositoryNode.initNodesFromComponentSerivice(ProjectRepositoryNode.java:415)
at org.talend.core.repository.model.ProjectRepositoryNode.initialize(ProjectRepositoryNode.java:289)
at org.talend.core.repository.model.ProjectRepositoryNode.getInstance(ProjectRepositoryNode.java:182)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOffProject(ProxyRepositoryFactory.java:2030)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:2018)
at org.talend.repository.ui.login.LoginHelper$1.run(LoginHelper.java:441)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Moderator

Re: Exception While Switching from Remote to Local

Hello,

With your subscription solution, could you please create a case on talend support portal so that we can give you a remote assistance(webex session) through support cycle with priority?

https://login.talend.com/support-login.php

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.