1) Create a project, add files, and try to open a file.
2) The following message is displayed: “index out of range. Must be non-negative and less than the size of the collection.”
3) The solution:
Remove a large TM from the list of TMs that are being used. Unfortunately, the TM was damaged.
It took a while to find this solution, since the error can occur when you try to convert a file, among many other situations. To find other solutions, search for the error message in Google.