You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One project failed Send/Receive on the line var lexeme = GetLexEntry(comment.EntryRef).Lexeme.FirstNonEmptyString(); in ComvertMongoToLcmComments.cs, with a NullReferenceException. On investigation, the entry was missing a lexeme in Mongo, and so Lexeme.FirstNonEmptyString() was null.FirstNonEmptyString(). The only thing that the lexeme variable is used for in that code is fo human-readable text, so that line should be replaced with:
megahirt
changed the title
Correclty handle comments on a LexEntry that doesn't have a lexeme
Correctly handle comments on a LexEntry that doesn't have a lexeme
Sep 26, 2022
One project failed Send/Receive on the line
var lexeme = GetLexEntry(comment.EntryRef).Lexeme.FirstNonEmptyString();
in ComvertMongoToLcmComments.cs, with a NullReferenceException. On investigation, the entry was missing a lexeme in Mongo, and soLexeme.FirstNonEmptyString()
wasnull.FirstNonEmptyString()
. The only thing that thelexeme
variable is used for in that code is fo human-readable text, so that line should be replaced with:Or, once we can use modern versions of C# (i.e. once we drop Mono 5):
The text was updated successfully, but these errors were encountered: