jibedoubleve / lanceur

A free adaptation of Slickrun written in .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash with `NullReferenceException`

jibedoubleve opened this issue · comments

var result = (from a in aliases
where a.NameLowercase.StartsWith(query)
orderby a.SearchScore descending,
a.ExecutionCount descending,
a.Name ascending
select a).ToList();

The setting file was edited and pointed to a database that didn't exist. This case should be handled gracefully, the error is a cryptic NullReferenceException and point to code that's far away from real problem