fatal: AggregateException encountered.

Been getting the above error recently having only recently started using Git. It’s probably something silly on my part but I’d like to correct it. It only happens when I push to my remote repo and though the push seems to be successful I’m wondering what’s going on.

$ git push ArrayAdapaterExample master

The git push documentation shows that the two parameters to the git push command are a repository and a refspec. Since master is a pretty common refspec to push, I’ll leave that aside. The repository parameter is either a URL or the name of the remote. Since the repository in your example isn’t a URL, it has to be the name of a remote. By default, all repositories cloned have an origin remote, so we would normally see origin where you have ArrayAdapterExample. I’m wondering if you’re tyring to push a single directory or file instead of the entire master branch?

On GitHub I created the empty repo so I could upload to, and the only branches on the local & remore are ‘master’.

fergu (master *) MusicPlayer $ git remote
MusicPlayer

fergu (master *) MusicPlayer $ git status
On branch master
......

fergu (master) MusicPlayer $ git push MusicPlayer master
fatal: AggregateException encountered.
One or more errors occurred.
Counting objects: 74, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (53/53), done.
Writing objects: 100% (74/74), 7.35 MiB | 638.00 KiB/s, done.
Total 74 (delta 0), reused 0 (delta 0)
To https://github.com/GusGF/MusicPlayer.git
* [new branch] master -> master

subsequent pushes give me this…

fergu (master) MusicPlayer $ git push MusicPlayer master
fatal: AggregateException encountered.
   One or more errors occurred.
Counting objects: 16, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (16/16), 1.21 KiB | 0 bytes/s, done.
Total 16 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), completed with 6 local objects.
To https://github.com/GusGF/MusicPlayer.git
   7f0a630..d74e643 master -> master

even tried this…

fergu (master) MusicPlayer $ git push MusicPlayer master:master
fatal: AggregateException encountered.
   One or more errors occurred.
Everything up-to-date

What am I doing wrong?

Hi @gusgf,

I’ve seen a reference to this error a couple of other places online. Have you tried updating your Git client? I would recommend making sure that you have the latest version of Git and trying to push again.

If that still doesn’t work, please let me know.

Thanks!

1 Like