question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyNotFoundException when performing FindAll() on collection

See original GitHub issue

Exception thrown: ‘System.Collections.Generic.KeyNotFoundException’ in mscorlib.dll in System.Collections.Generic.Dictionary2.get_Item(TKey key) in LiteDB.LiteEngine.<Find>d__9.MoveNext() in LiteDB.LiteCollection1.<Find>d__17.MoveNext() in MbsCrm.Data.RepositoryClienti.GetAllCustomers() in C:\RepositoryClienti.cs:riga 35

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lbnascimentocommented, Feb 5, 2020

Hi! With the objective of organizing our issues, we are closing old unsolved issues. Please check the latest version of LiteDB and open a new issue if your problem/question/suggestion still applies. Thanks!

0reactions
alex-erygincommented, Nov 20, 2017

This datafile is v4, but i can`t reproduce this file creation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The given key was not present in the dictionary; exception ...
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary; exception getting in c#.
Read more >
KeyNotFoundException Class (System.Collections.Generic)
A KeyNotFoundException is thrown when an operation attempts to retrieve an element from a collection using a key that does not exist in...
Read more >
Test Adapter discovering tests in referenced projects ...
Collections.Generic.KeyNotFoundException: The given key 'C:\ws\Blazor\TestAdapterIssue\test\ActualTestProject\bin\Debug\net5.0\AProjectWithTests ...
Read more >
Python KeyError Exceptions and How to Handle Them
In this tutorial, you'll learn how to handle Python KeyError exceptions. They are often caused by a bad key lookup in a dictionary,...
Read more >
Why is there no key specified with .NET ...
Throws ArgumentNullException when key is null. Throws KeyNotFoundException when the key does not exist in the collection.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found