org.uberfire.java.nio.IOException: java.lang.RuntimeException: org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via redhat.com by Unknown author, 1 year ago
java.lang.RuntimeException: org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved
org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved
at org.eclipse.jgit.api.CreateBranchCommand.getStartPoint(CreateBranchCommand.java:291)
at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:136)
at org.uberfire.java.nio.fs.jgit.util.JGitUtil.syncRepository(JGitUtil.java:307)
at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:662)
at org.uberfire.ext.metadata.io.IOServiceIndexedImpl.getFileSystem(IOServiceIndexedImpl.java:176)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.