Six Stars

TAC - Project creation issue using storage as GIT

Hi

 

I have added Git login in TAC configuration. Its showing success.

 

During project creation using storage as GIT , I am not able to create it. Check connection succeeded.

 

"Save failed: 500  The call failed on the server; see server log for details -- For more information see your log file" 

 

Inside log file its showing 

 

SEVERE [http-nio-8080-exec-18] org.apache.catalina.core.ApplicationContext.log Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.talend.gwtadministrator.client.module.settings.project.model.ProjectBean org.talend.gwtadministrator.client.module.settings.project.service.ProjectService.saveProject(org.talend.gwtadministrator.client.module.settings.project.model.ProjectBean) throws org.talend.gwttoolkit.client.exception.ClientBusinessException,org.talend.gwttoolkit.client.exception.ClientSystemException' threw an unexpected exception: java.lang.NullPointerException
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:415)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:605)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
at org.talend.gwttoolkit.server.TalendRemoteServiceServlet.processCall(TalendRemoteServiceServlet.java:104)
at org.talend.gwtadministrator.server.LoggedAndLicenseCheckRemoteServiceServlet.processCall(LoggedAndLicenseCheckRemoteServiceServlet.java:37)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.talend.gwttoolkit.server.common.http.HeadersFilter.doFilter(HeadersFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.talend.gwtadministrator.server.remoteconnection.RefererFilter.doFilter(RefererFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at java.util.ResourceBundle.containsKey(ResourceBundle.java:1813)
at org.talend.gwttoolkit.PropertiesLoader.getString(PropertiesLoader.java:204)
at org.talend.gwttoolkit.PropertiesLoader.getString(PropertiesLoader.java:213)
at org.talend.administrator.businesslog.BusinessLogger.buildAuditLogMsg(BusinessLogger.java:60)
at org.talend.administrator.common.auditlog.AuditLogUtils.buildExceptionMessage(AuditLogUtils.java:334)
at org.talend.gwtadministrator.server.remoterepositorymgt.services.ProjectServiceImpl.saveProject(ProjectServiceImpl.java:424)
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:587)
... 35 more

3 REPLIES
Employee

Re: TAC - Project creation issue using storage as GIT

Hi,

As your test connection is successful, it should be something to do with TAC. Ensure that the user has right authentication at all levels like TAC and TAC DB.

 

Thanks,

RekhaSree

Six Stars

Re: TAC - Project creation issue using storage as GIT

Hi @RekhaSree

 

Thanks for your response

 

I am able to create Project with storage as SVN and None. 

 

In Git, I am not able create project even Check Connection Succeed.

 

 

Employee

Re: TAC - Project creation issue using storage as GIT

Hi,

1st: The reason for save to not work in most cases is that the RSA key is not trusted. When this occurs you will need to go back to the SSH key deployment section of your account. Perhaps you may want to read the key as there may be an issue with it. Another option is to add the key straight to the project instead of to the user. To do this, go to the project itself -> Settings -> Deploy keys and add the RSA key to the project.

 

2nd: Please check the user and hostname are correct.

 

git@bitbucket.org:arthur-talend/bitbucket-test.git

 

in your case, the git needs to be replaced with appropriate user. The host with correct name.

 

3rd: We have found in few cases re-creating the repository after configuring the SSH has worked. 

 

Let us know if this helps. Thank you.