Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Eclipse EGit "Team->Switch To" menu is empty
Eclipse EGit "Team->Switch To" menu is empty [message #1713060] Fri, 30 October 2015 13:20 Go to next message
Patrick Gillespie is currently offline Patrick GillespieFriend
Messages: 2
Registered: October 2015
Junior Member
When I right click my project and select "Team->Switch To", the menu doesn't list any of my branches, it's empty except for the "New Branch..." option.

I checked the Eclipse error log and it's throwing this error:

java.lang.IndexOutOfBoundsException
at java.nio.ByteBuffer.wrap(ByteBuffer.java:371)
at org.eclipse.jgit.util.RawParseUtils.decodeNoFallback(RawParseUtils.java:942)
at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:909)
at org.eclipse.jgit.util.RawParseUtils.decode(RawParseUtils.java:868)
at org.eclipse.jgit.util.RawParseUtils.parsePersonIdentOnly(RawParseUtils.java:785)
at org.eclipse.jgit.internal.storage.file.ReflogEntryImp.<init>(ReflogEntryImpl.java:83)
at org.eclipse.jgit.internal.storage.file.ReflogReaderImpl.getReverseEntries(ReflogReaderImpl.java:128)
at org.eclipse.jgit.internal.storage.file.ReflogReaderImpl.getReverseEntries(ReflogReaderImpl.java:85)
at org.eclipse.egit.ui.internal.actions.SwitchToMenu.createDynamicMenu(SwitchToMenu.java:146)
at org.eclipse.egit.ui.internal.actions.SwitchToMenu.fill(SwitchToMenu.java:111)
...

Any clues as to what's wrong or why this is happening?

I'm running:

- Eclipse 4.4.2.M20150204-1700
- CentOS 6.7
- Java 1.7.0_85
Re: Eclipse EGit "Team->Switch To" menu is empty [message #1713252 is a reply to message #1713060] Mon, 02 November 2015 19:41 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
- you are using an outdated milestone build of the platform, you should update to a more recent released version (current is Mars.1 / 4.5.1)
- which EGit/JGit version are you using ?
Re: Eclipse EGit "Team->Switch To" menu is empty [message #1713286 is a reply to message #1713060] Tue, 03 November 2015 06:18 Go to previous messageGo to next message
Andrey Loskutov is currently offline Andrey LoskutovFriend
Messages: 89
Registered: July 2009
Member
If the issue still occurs with latest 4.2 nightly build, please report bug.
Re: Eclipse EGit "Team->Switch To" menu is empty [message #1713330 is a reply to message #1713286] Tue, 03 November 2015 11:53 Go to previous message
Patrick Gillespie is currently offline Patrick GillespieFriend
Messages: 2
Registered: October 2015
Junior Member
Figured it out. When setting up my name and email with git config I mistakenly put both inside of angle brackets. Everything else seemed to work but it looks like it was choking on this for some reason. Thanks for the replies.
Previous Topic:AccessControlException for .gitconfig file
Next Topic:jgit: mvn clean install (windows 7) / core tests failed
Goto Forum:
  


Current Time: Thu Apr 18 11:26:53 GMT 2024

Powered by FUDForum. Page generated in 0.02700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top