Hi Maciej,
On modifying the BaseGitCommand class of uberfire jgit library to report an exception, we found the following exception being raised:
[8/23/16 18:04:10:504 IST] 000000a2 SystemErr R javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @ApplicationScoped does not exist within current thread
[8/23/16 18:04:10:504 IST] 000000a2 SystemErr R at org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:360)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:125)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:96)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at org.kie.workbench.common.services.backend.security.KieFileSystemAuthorizationManager_$$_javassist_166.authorize(KieFileSystemAuthorizationManager_$$_javassist_166.java)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at org.uberfire.backend.server.security.IOServiceSecuritySetup$1.authorize(IOServiceSecuritySetup.java:72)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at org.uberfire.java.nio.fs.jgit.daemon.ssh.BaseGitCommand.run(BaseGitCommand.java:126)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at org.uberfire.java.nio.fs.jgit.daemon.ssh.BaseGitCommand$1.run(BaseGitCommand.java:114)
[8/23/16 18:04:10:505 IST] 000000a2 SystemErr R at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
[8/23/16 18:04:10:506 IST] 000000a2 SystemErr R at java.util.concurrent.FutureTask.run(FutureTask.java:277)
[8/23/16 18:04:10:506 IST] 000000a2 SystemErr R at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
[8/23/16 18:04:10:506 IST] 000000a2 SystemErr R at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[8/23/16 18:04:10:506 IST] 000000a2 SystemErr R at java.lang.Thread.run(Thread.java:785)
For a workaround, when we commented this authorize call, the clone ran successfully. Would be having an idea on what could have caused this?