Crash on opening ticket issue

You can correct it by deleting lines on TicketEntities table that have NULL value on EntityName column. However we should find how it happens.