org.uberfire.java.nio.IOException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • java.lang.RuntimeException: org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved
  • via https://bugzilla.redhat.com/bugzilla/ by Zuzana Krejčová, 1 year ago
    java.lang.RuntimeException: org.eclipse.jgit.api.errors.ConcurrentRefUpdateException: Could not lock HEAD. RefUpdate return code was: LOCK_FAILURE
  • Stack trace

    • org.uberfire.java.nio.IOException: java.lang.RuntimeException: org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:666)[uberfire-nio2-jgit-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] at org.uberfire.java.nio.file.FileSystems.getFileSystem(FileSystems.java:66)[uberfire-nio2-api-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] at org.uberfire.io.impl.AbstractIOService.getFileSystem(AbstractIOService.java:214)[uberfire-io-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] at org.uberfire.ext.metadata.io.IOServiceIndexedImpl.getFileSystem(IOServiceIndexedImpl.java:176)[uberfire-metadata-commons-io-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] at org.uberfire.io.impl.cluster.IOServiceClusterImpl$3$1$1.run(IOServiceClusterImpl.java:193)[uberfire-io-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[rt.jar:1.7.0_80] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[rt.jar:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_80] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_80] Caused by: java.lang.RuntimeException: org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved at org.uberfire.java.nio.fs.jgit.util.JGitUtil.syncRepository(JGitUtil.java:318)[uberfire-nio2-jgit-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.getFileSystem(JGitFileSystemProvider.java:662)[uberfire-nio2-jgit-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] ... 9 more Caused by: org.eclipse.jgit.api.errors.RefNotFoundException: Ref upstream/HEAD can not be resolved at org.eclipse.jgit.api.CreateBranchCommand.getStartPoint(CreateBranchCommand.java:291)[org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r] at org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:136)[org.eclipse.jgit-3.3.2.201404171909-r.jar:3.3.2.201404171909-r] at org.uberfire.java.nio.fs.jgit.util.JGitUtil.syncRepository(JGitUtil.java:307)[uberfire-nio2-jgit-0.5.8.Final-redhat-1.jar:0.5.8.Final-redhat-1] ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.