"Master cannot be resolved" error in TAC while creating a new project in the GitHub repository

Symptoms

Talend Administration Center (TAC) is already configured with a GitHub repository. There is a need to use a new GitHub repository. So the GitHub repository URL in the TAC configuration page is updated with the new repository URL and login details. The configuration is saved successfully.

 

The following error is observed in the TAC log when you try to create a new project from TAC:

2017-08-30 13:28:48 ERROR TalendRemoteServiceServlet - Ref refs/remotes/origin/master can not be resolved
org.talend.exception.BusinessException: Ref refs/remotes/origin/master can not be resolved
at org.talend.administrator.remoterepositorymgt.business.ProjectHandler.save(ProjectHandler.java:294)
at org.talend.gwtadministrator.server.remoterepositorymgt.services.ProjectServiceImpl.innerSaveProject(ProjectServiceImpl.java:409)
at org.talend.gwtadministrator.server.remoterepositorymgt.services.ProjectServiceImpl.saveProject(ProjectServiceImpl.java:389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

 

Diagnosis

This issue is observed because the old GitHub URL is being referenced by TAC even after updating the GitHub repository URL. This is due to the Tomcat server's cached files.

 

Solution

To fix the issue, follow these steps:

  1. Stop the TAC Service.

  2. Delete the temp and work folders in tac_installed_location\tac\apache-tomcat\.
  3. Start TAC.
Version history
Revision #:
7 of 7
Last update:
‎12-06-2017 01:15 PM
Updated by:
 
Contributors