hudson.plugins.git.GitException: Command "git submodule update --init --recursive" returned status code 1: stdout: Initialized empty Git repository in /usr/local/builds/CI/H5/virga-ms/virga-ms/libs/libbmp/.git/ Submodule path 'libs/libbmp': checked out 'cf1c4e134a50d8e667f8db9f2ff5c19e97e80256' Initialized empty Git repository in /usr/local/builds/CI/H5/virga-ms/virga-ms/libs/mediaplayer/.git/ stderr: fatal: reference is not a tree: 885b6998613918fa1d333f8741f2735cc542097a Unable to checkout '885b6998613918fa1d333f8741f2735cc542097a' in submodule path 'libs/mediaplayer'

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

Samebug tips

,
via jenkins-ci.org by Unknown author

Our Jenkins(J) is linked with Bitbucket(BB). A pull request(PR) is created in BB, then it's auto-built in J, then it's updated with a commit but BB doesn't update the branch, so J can't check it out. Solution: open the PR in BB web ui.

Solutions on the web

via Jenkins JIRA by Owen Carter, 1 year ago
'cf1c4e134a50d8e667f8db9f2ff5c19e97e80256' Initialized empty Git repository in /usr/local/builds/CI/H5/virga-ms/virga-ms/libs/mediaplayer/.git/ stderr: fatal: reference is not a tree: 885b6998613918fa1d333f8741f2735cc542097a Unable to checkout '885b6998613918fa1d333f8741f2735cc542097a' in submodule path 'libs/mediaplayer'
via Jenkins JIRA by Owen Carter, 1 year ago
'cf1c4e134a50d8e667f8db9f2ff5c19e97e80256' Initialized empty Git repository in /usr/local/builds/CI/H5/virga-ms/virga-ms/libs/mediaplayer/.git/ stderr: fatal: reference is not a tree: 885b6998613918fa1d333f8741f2735cc542097a Unable to checkout '885b6998613918fa1d333f8741f2735cc542097a' in submodule path 'libs/mediaplayer'
via Google Groups by daniel....@salt-solutions.de (JIRA), 1 year ago
Command "git fetch --tags --progress ..Playground.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
via gmane.org by Unknown author, 2 years ago
Command "git fetch -t origin +refs *:refs/remotes *" returned status code 1: stdout: stderr: error: Ref refs/remotes/origin/2.7.x is at 029542108b28786cdb9909d53f040aeaff8c0cac but expected 531aea6a7cf061992504fbe03ab4241453906a99 >From git://github.com/geoserver/geoserver ! 531aea6..0295421 2.7.x -> origin/2.7.x (unable to update local ref)
via Stack Overflow by Luminance
, 3 months ago
Command "/usr/bin/git submodule update --init --recursive --remote submodule-project" returned status code 1: stdout: stderr: fatal: Needed a single revision Unable to find current origin/dev revision in submodule path 'submodule-project'
via Google Groups by icke...@java.net (JIRA), 11 months ago
Command "/usr/bin/git fetch --tags --progress https://api.github.com/ermshiperete/testproject.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:<br>stdout: <br>stderr: fatal: unable to access 'https://api.github.com/ermshiperete/testproject.git/': The requested URL returned error: 403<br><br>
hudson.plugins.git.GitException: Command "git submodule update --init --recursive" returned status code 1: stdout: Initialized empty Git repository in /usr/local/builds/CI/H5/virga-ms/virga-ms/libs/libbmp/.git/ Submodule path 'libs/libbmp': checked out 'cf1c4e134a50d8e667f8db9f2ff5c19e97e80256' Initialized empty Git repository in /usr/local/builds/CI/H5/virga-ms/virga-ms/libs/mediaplayer/.git/ stderr: fatal: reference is not a tree: 885b6998613918fa1d333f8741f2735cc542097a Unable to checkout '885b6998613918fa1d333f8741f2735cc542097a' in submodule path 'libs/mediaplayer'
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:790)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:756)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.submoduleUpdate(CliGitAPIImpl.java:429)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1235)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)

Users with the same issue

Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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