Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
NullPointerException when opening compare editor#11996/v3
more
Tags:  not added yet

NullPointerException when opening compare editor[BUG-11996]

Tracker: Bugs Priority: NormalNormal Status: Closed
Submitted by: seldor May 27, 2010 05:01 Modified by: hgeclipse Nov 06, 2010 18:15 Assigned to: hgeclipse May 27, 2010 05:01
Category: Compare Severity: Minor Resolution: Fixed
Release: -- Detected: --
Relations
Loading...
Description
When trying to compare files from the synchronize view, I get: An internal error occurred during: "Diff for myfile".

java.lang.NullPointerException at com.vectrace.MercurialEclipse.team.MercurialRevisionStorage$ContentHolder.createStreamContent(MercurialRevisionStorage.java:81) at com.vectrace.MercurialEclipse.team.MercurialRevisionStorage$ContentHolder.createStream(MercurialRevisionStorage.java:95) at com.vectrace.MercurialEclipse.team.MercurialRevisionStorage.getContents(MercurialRevisionStorage.java:212) at com.vectrace.MercurialEclipse.team.MercurialRevisionStorage.getName(MercurialRevisionStorage.java:253) at com.vectrace.MercurialEclipse.compare.RevisionNode.getName(RevisionNode.java:32) at com.vectrace.MercurialEclipse.compare.HgCompareEditorInput.<init>(HgCompareEditorInput.java:66) at com.vectrace.MercurialEclipse.utils.CompareUtils.getCompareInput(CompareUtils.java:184) at com.vectrace.MercurialEclipse.utils.CompareUtils.openEditor(CompareUtils.java:95) at com.vectrace.MercurialEclipse.team.CompareAction.compareToLocal(CompareAction.java:109) at com.vectrace.MercurialEclipse.team.CompareAction.access$2(CompareAction.java:104) at com.vectrace.MercurialEclipse.team.CompareAction$1.run(CompareAction.java:70) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I'm using mercurialeclipse release 1.6.0 and have mercurial 1.4.3 installed. Eclipse 3.5 Build id: 20100218-1602, Java 6u20 I tried reinstalling mercurial (also the newest version 1.5.something) and reinstalling mercurialeclipse to no avail.

Details
Comments & Attachments (2)
Associations (0)
Children (0)
References (0)
SCM Commits (0)
All (0)

Filter
Submitted Comment
seldor
May 27, 2010 16:34
I am currently out of office and will return on June 7 2010. Your message will not be read until then.
For urgent matters please contact andreas.deller@ergon.ch

Best regards
Matthias Keller

--
matthias.keller@ergon.ch +41 44 268 83 98
Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich
http://www.ergon.ch
______________________________________________________________
e r g o n smart people - smart software
hgeclipse
May 27, 2010 16:26
Just fixed in the repo. Snapshot plugin version follows on the weekend.