Blame Causes "Object reference not set to an instance o

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
mshe
Posts: 38
Joined: Tue Nov 29, 2005 4:18 pm

Blame Causes "Object reference not set to an instance o

Post by mshe » Wed Apr 16, 2008 10:19 pm

Hi all,

In the change history screen on the web admin

Transaction details for transaction 12079
The user responsible for this transaction is: mshe Name Date Version Diff Blame Action Comment
boot.ini 4/17/2008 12:17:12 AM 1 view blame Delete

If I click blame, I get the following error:

Object reference not set to an instance of an object.

Is this a bug?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Apr 17, 2008 7:55 am

I couldn't reproduce this in Vault 4.1.1.

Does this happen on any file or just some files?

What version of Vault are you using?
Linda Bauer
SourceGear
Technical Support Manager

mshe
Posts: 38
Joined: Tue Nov 29, 2005 4:18 pm

Post by mshe » Thu Apr 17, 2008 8:47 am

Hi,

It happens in v4.1.1 on one file - we just upgraded from v3.1.9 to v4.1.1.

This is how the error showed up:

1. Create new folder in repository
2. Upload a small text file into the newly created folder
3. Add a folder watch
4. Delete the file
5. Check e-mail to receive folder alert
6. Open up web link in e-mail
7. View blame of deleted file

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Apr 22, 2008 3:33 pm

Got it. It's trying to show blame on a file that's been deleted, and since the file doesn't exist in the tree, there's an error.

We should handle this better; I'll log a bug.
Linda Bauer
SourceGear
Technical Support Manager

Locked