Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323123 - NPE in RawParseUtils.author
Summary: NPE in RawParseUtils.author
Status: CLOSED DUPLICATE of bug 322935
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-19 06:41 EDT by James Blackburn CLA
Modified: 2010-08-19 10:03 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 James Blackburn CLA 2010-08-19 06:41:33 EDT
Updated to the current nightly build: 
  Eclipse EGit (Incubation)	0.9.0.201008180314	org.eclipse.egit.feature.group
  Eclipse JGit (Incubation)	0.9.0.201008171255	org.eclipse.jgit.feature.group

Attempted to Synchronize master with a branch fetched from a remote.

I get this exception double clicking on an outgoing file in the Syncrhonize View:

An internal error occurred during: "Initializing Compare Editor".
java.lang.NullPointerException
at org.eclipse.jgit.util.RawParseUtils.author(RawParseUtils.java:549)
at org.eclipse.jgit.revwalk.RevCommit.getAuthorIdent(RevCommit.java:303)
at org.eclipse.egit.core.internal.storage.CommitFileRevision.<init>(CommitFileRevision.java:59)
at org.eclipse.egit.core.internal.storage.GitFileRevision.inCommit(GitFileRevision.java:50)
at org.eclipse.egit.ui.internal.CompareUtils.getFileRevision(CompareUtils.java:110)
at org.eclipse.egit.ui.internal.CompareUtils.getFileRevisionTypedElement(CompareUtils.java:73)
at org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob.getRight(GitModelBlob.java:119)
at org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob.prepareInput(GitModelBlob.java:146)
at org.eclipse.team.internal.ui.mapping.ModelCompareEditorInput.prepareCompareInput(ModelCompareEditorInput.java:121)
at org.eclipse.team.ui.synchronize.SaveableCompareEditorInput.prepareInput(SaveableCompareEditorInput.java:235)
at org.eclipse.compare.CompareEditorInput.run(CompareEditorInput.java:483)
at org.eclipse.compare.internal.CompareUIPlugin.prepareInput(CompareUIPlugin.java:548)
at org.eclipse.compare.internal.CompareEditor$2.run(CompareEditor.java:349)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Chris Aniszczyk CLA 2010-08-19 10:03:39 EDT
This is due to bug 322935.

We will have it fixed soon.

Thanks for trying out the sync view James. Any ideas or enhancements you have, please file bugs for them.

*** This bug has been marked as a duplicate of bug 322935 ***