Menu

#3 Message for remove file from change crashes

open
nobody
None
3
2003-12-09
2003-12-09
No

When you remove a file from a change, and that file did
not exist in the repository yet, a null pointer
exception happens in the displayFileMessage method.

Functionally, this all works. This is a cosmetic issue
with the message display, because it's trying to
display the "current" revision of the file, and no such
revision exists.

This is the error

System.NullReferenceException: Object reference not set
to an instance of an object.
at
net.sourceforge.hopperaddin.VSPluginMessage.displayFileMessage(Change
change, FileAction action, File file)
at
net.sourceforge.hopperaddin.HopAddin.DoRemoveChangeFile()
at
net.sourceforge.hopperaddin.VSPluginMessage.displayFileMessage(Change
change, FileAction action, File file)
at
net.sourceforge.hopperaddin.HopAddin.DoRemoveChangeFile()

Discussion


Log in to post a comment.

Monday.com Logo