Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
shereenH1
Contributor
Contributor

Cannot give a user access to a project on TAC

Hello,

I'm unable to give a user access to a reference project X on TAC. Because of that, as long as that user doesn't have that access, the command line will fail when attempting to publish any job on any project linked to project X.

I get the below error when attempting to give access:

0693p000008vEyNAAU.png

Further expansion on the error, we found the below:

0693p000008vEyIAAU.png

The full detail:

2020-07-13 17:51:19 ERROR TalendRemoteServiceServlet - Unexpected exception : Service method 'public abstract void org.talend.gwtadministrator.client.module.settings.projectauth.service.UserGroupProjectAuthService.addAuthorization(org.talend.gwtadministrator.client.module.settings.projectauth.model.UserGroupProjectAuthBean[]) throws org.talend.gwttoolkit.client.exception.ClientBusinessException' threw an unexpected exception: java.lang.NullPointerException

java.lang.NullPointerException

        at org.talend.administrator.remoterepositorymgt.business.UserGroupProjectAuthHandler.recalculateAuthorizationsForCollections(UserGroupProjectAuthHandler.java:293)

        at org.talend.administrator.remoterepositorymgt.business.UserGroupProjectAuthHandler.recalculateAuthorizations(UserGroupProjectAuthHandler.java:232)

        at org.talend.administrator.remoterepositorymgt.business.UserGroupProjectAuthHandler.recalculateAuthorizations(UserGroupProjectAuthHandler.java:188)

        at org.talend.administrator.remoterepositorymgt.business.UserGroupProjectAuthHandler.addAuthorization(UserGroupProjectAuthHandler.java:101)

        at org.talend.gwtadministrator.server.remoterepositorymgt.services.UserGroupProjectAuthServiceImpl.addAuthorization(UserGroupProjectAuthServiceImpl.java:148)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)

        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)

        at org.talend.gwttoolkit.server.TalendRemoteServiceServlet.processCall(TalendRemoteServiceServlet.java:104)

        at org.talend.gwtadministrator.server.LoggedAndLicenseCheckRemoteServiceServlet.processCall(LoggedAndLicenseCheckRemoteServiceServlet.java:36)

        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)

        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.talend.gwttoolkit.server.common.http.HeadersFilter.doFilter(HeadersFilter.java:55)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)

        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:748)

Labels (2)
3 Replies
Anonymous
Not applicable

@Shereen Habbal​ ,take a look at these two KB articles , check if you have same problem as described in the articles and try the solution.

https://community.talend.com/s/article/The-call-failed-on-the-server-see-server-logs-for-details-error-when-accessing-the-DB-Config-page-in-TAC-JfXLj

https://community.talend.com/s/article/Permission-error-The-call-failed-on-the-server-see-server-log-for-details-U006P

shereenH1
Contributor
Contributor
Author

@Shicong Hong​  we attempted the fix but no result.

Its not a Db issue its a Project Authorization on specific users.

Anonymous
Not applicable

@Shereen Habbal​ , have you open a ticket on Talend Support portal? If not, please raise one, our colleague from support team will investigate the issue further and help you.

 

Regards

Shong