Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322498 - Synchronize View: NullPointer when double clicking on a change set member
Summary: Synchronize View: NullPointer when double clicking on a change set member
Status: CLOSED DUPLICATE of bug 322732
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 05:58 EDT by Stefan Lay CLA
Modified: 2010-08-20 15:59 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 Stefan Lay CLA 2010-08-12 05:58:04 EDT
Only for some ccommits I get the following NullPointer when double clicking on a change set member:

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:114)

The reason is that the buffer field of the RevCommit is null.
Comment 1 Remy Suen CLA 2010-08-20 15:59:36 EDT

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