Unable to generate any Jobs from a Specific Project using a new user

Symptoms

The following error is thrown when try to generate a Job using a new user:

 

java.lang.IllegalStateException: Unable to find user to logon.
	at org.talend.repository.remoteprovider.RemoteRepositoryFactory.replaceRepositoryContextUser(RemoteRepositoryFactory.java:355)
	at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:288)
	at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:318)
	at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:263)
	at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1829)
	at org.talend.commandline.util.RepositoryHandler.logonProject(RepositoryHandler.java:69)
	at org.talend.commandline.command.CommandProcessor.logonProject(CommandProcessor.java:128)
	at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(CommandProcessorSwitch.java:128)

 

This occurs although the user has been given authorization on the project.

 

Diagnosis

Although the error says unable to find user, that is not the correct reason for the issue. You may see the same error message when trying to run the command in CommandLine interactive mode for projects that have a reference project associated with them.

 

Solution

Provide authorization for the user on the associated reference project to fix the issue.

Version history
Revision #:
3 of 3
Last update:
‎11-30-2017 01:32 PM
Updated by: