Source Control Error While importing from git.

genipalla
Kilo Explorer

Hello Snow Community,

I have an instance where I was working on an application, my team and I are using GIT for our source control through ServiceNow.

My instance was experiencing some issues so I decided to zBoot the instance, however when I try to import the application from GIT from the freshly zBooted instance I am receiving an error. I tried zBooting the instance again just to make sure that the original zBoot didnt leave anything behind.

The error I am seeing in the Logs is as follows:

Level: Error

Source: com.glide.ui.ServletErrorListener

Message:

An error occurred while executing that operation. Try again, check logs, and contact support if the error persists: com.glide.sourcecontrol.SourceControlException: org.eclipse.jgit.api.errors.RefNotFoundException: Ref HEAD can not be resolved: com.glide.sourcecontrol.git.GitRepository.createBranch(GitRepository.java:389)

com.glide.sourcecontrol.git.GitRepository.createBranch(GitRepository.java:368)

com.glide.sourcecontrol.git.GitRepository.checkout(GitRepository.java:421)

com.glide.sourcecontrol.git.GitRepository.checkout(GitRepository.java:397)

com.glide.sourcecontrol.worker.git.GitWorkerHelper.initRepo(GitWorkerHelper.java:59)

com.glide.sourcecontrol.worker.git.GitImportApplicationWorker.importApp(GitImportApplicationWorker.java:121)

com.glide.sourcecontrol.worker.ImportApplicationWorker.execute(ImportApplicationWorker.java:80)

com.glide.sourcecontrol.worker.RegisterRepositoryWorker.execute(RegisterRepositoryWorker.java:156)

com.glide.sourcecontrol.SourceControlWorker.startWork(SourceControlWorker.java:37)

com.glide.worker.AbstractProgressWorker.startAndWait(AbstractProgressWorker.java:87)

com.glide.worker.HierarchicalProgressWorker.startAndWait(HierarchicalProgressWorker.java:37)

com.glide.worker.ProgressWorkerThread.run(ProgressWorkerThread.java:53)

1 REPLY 1

jcarpentier
Tera Guru

Did you ever figure this out? I'm getting the same error and cannot publish my update.