Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335101 - NPE during fetch
Summary: NPE during fetch
Status: RESOLVED WORKSFORME
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.11   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 00:28 EST by Andrew Gvozdev CLA
Modified: 2012-04-19 03:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gvozdev CLA 2011-01-23 00:28:40 EST
Eclipse EGit (Incubation)	0.11.0.201101211514	org.eclipse.egit.feature.group
  Eclipse JGit (Incubation)	0.11.0.201101211040	org.eclipse.jgit.feature.group

I configured fetch and push to GitHub with ssh. While push is working fine, I cannot fetch:

java.lang.NullPointerException
at org.eclipse.jgit.lib.ObjectIdSubclassMap.index(ObjectIdSubclassMap.java:172)
at org.eclipse.jgit.lib.ObjectIdSubclassMap.get(ObjectIdSubclassMap.java:89)
at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:809)
at org.eclipse.jgit.transport.FetchProcess.askForIsComplete(FetchProcess.java:313)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:148)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:903)
at org.eclipse.egit.ui.internal.fetch.FetchConfiguredRemoteAction$1.run(FetchConfiguredRemoteAction.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Matthias Sohn CLA 2012-04-19 03:22:35 EDT
Neither current 2.0.0-SNAPSHOT nor 0.11.3 can throw an NPE at org.eclipse.jgit.lib.ObjectIdSubclassMap.index(ObjectIdSubclassMap.java:172) 

Please reopen if you can reproduce this in a current version