-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 50
-
Component/s: Technical / Transverse, Versioning & Branch management
-
Epic Link:
-
Tags:
-
Sprint:NOS-31, NOS-32, NOS-33
-
Story Points:2
First error:
com.nuxeo.studio.exception.VersioningException: Error when deleting versioning project.
at com.nuxeo.studio.core.versioning.VersioningGitLabImpl.deleteRemote(VersioningGitLabImpl.java:84)
at com.nuxeo.studio.core.ProjectServiceImpl.deleteProjectRepository(ProjectServiceImpl.java:247)
at com.nuxeo.studio.core.ProjectRemovalListener.handleEvent(ProjectRemovalListener.java:57)
at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:207)
at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:277)
at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1542)
at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1517)
at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1503)
at com.nuxeo.studio.core.ProjectServiceImpl.deleteProject(ProjectServiceImpl.java:233)
at com.nuxeo.connect.service.NuxeoConnectComponent.deleteConnectClient(NuxeoConnectComponent.java:548)
at com.nuxeo.connect.cleaner.CleanerWork.work(CleanerWork.java:65)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:342)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:303)
at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:272)
at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: http://nos-test2-git01.nos.nuxeo.com/api/v3/projects/studio%2Fapp1-sg?private_token=tZncBAWyKVcpVusHxaWV
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:283)
at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:131)
at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:106)
at com.nuxeo.studio.core.versioning.VersioningGitLabImpl.deleteRemote(VersioningGitLabImpl.java:77)
... 17 more
Second error:
com.nuxeo.studio.exception.VersioningException: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$4.call(GitCacheServiceLocal.java:217)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$4.call(GitCacheServiceLocal.java:205)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$GitCommandExecutor.execute(GitCacheServiceLocal.java:387)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal.createCache(GitCacheServiceLocal.java:205)
at com.nuxeo.studio.core.cache.GitCacheServiceCluster.localCreateCache(GitCacheServiceCluster.java:109)
at com.nuxeo.studio.core.cache.GitCacheServiceCluster.createCache(GitCacheServiceCluster.java:104)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$2.call(GitCacheServiceLocal.java:153)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$2.call(GitCacheServiceLocal.java:147)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$GitCommandExecutor.execute(GitCacheServiceLocal.java:387)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal.cloneFromCache(GitCacheServiceLocal.java:147)
at com.nuxeo.studio.core.versioning.VersioningGitLabImpl.cloneRemote(VersioningGitLabImpl.java:122)
at com.nuxeo.studio.core.workspace.WorkspaceProvider.clone(WorkspaceProvider.java:115)
at com.nuxeo.studio.core.workspace.WorkspaceProvider.createReadOnly(WorkspaceProvider.java:96)
at com.nuxeo.studio.core.workspace.DefaultWorkspacePool.get(DefaultWorkspacePool.java:175)
at com.nuxeo.studio.core.workspace.WorkspaceServiceImpl.getReadOnlyWorkspace(WorkspaceServiceImpl.java:56)
at com.nuxeo.studio.core.backup.BackupProjectListener.backupProject(BackupProjectListener.java:75)
at com.nuxeo.studio.core.backup.BackupProjectListener.handleEvent(BackupProjectListener.java:51)
at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:207)
at com.nuxeo.studio.core.ProjectServiceImpl.deleteProjectRepository(ProjectServiceImpl.java:242)
at com.nuxeo.studio.core.ProjectRemovalListener.handleEvent(ProjectRemovalListener.java:57)
at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:207)
at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:277)
at org.nuxeo.ecm.core.api.AbstractSession.removeNotifyOneDoc(AbstractSession.java:1542)
at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1517)
at org.nuxeo.ecm.core.api.AbstractSession.removeDocument(AbstractSession.java:1503)
at com.nuxeo.studio.core.ProjectServiceImpl.deleteProject(ProjectServiceImpl.java:233)
at com.nuxeo.connect.service.NuxeoConnectComponent.deleteConnectClient(NuxeoConnectComponent.java:548)
at com.nuxeo.connect.cleaner.CleanerWork.work(CleanerWork.java:65)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:342)
at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:303)
at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:272)
at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:52)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:131)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:201)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:135)
at com.nuxeo.studio.core.cache.GitCacheServiceLocal$4.call(GitCacheServiceLocal.java:213)
... 34 more
Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: ssh://git@nos-test2-git01.nos.nuxeo.com:22/studio/app1-sg.git: GitLab: The project you were looking for could not be found.
at org.eclipse.jgit.transport.TransportGitSsh.cleanNotFound(TransportGitSsh.java:209)
at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:290)
at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1179)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
... 37 more