Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.ArgumentException: An item with the same key has already been added. #20

Open
kiquenet opened this issue Feb 5, 2021 · 3 comments

Comments

@kiquenet
Copy link

kiquenet commented Feb 5, 2021

Test method TestsUnitarios.TestsVCF.Leer_Vcard_Contactos threw exception:
System.ArgumentException: An item with the same key has already been added.

Don't work: TEL;TYPE=WORK;TYPE=PREF:6xx-xxx-xxx

Work: TEL;TYPE=CELL:6xx-xxx-xxx

Test Name: Leer_Vcard_Contactos
Test Outcome: Failed
Result StackTrace:
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at MixERP.Net.VCards.Parser.TokenParser.GetAdditionalKeyMembers(String data) at MixERP.Net.VCards.Parser.TokenParser.GetToken(String line) at MixERP.Net.VCards.Parser.TokenParser.Parse(String contents) at MixERP.Net.VCards.Deserializer.GetVCard(String contents) at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at MixERP.Net.VCards.Deserializer.GetVCards(String contents)
at TestsUnitarios.TestsVCF.Leer_Vcard_Contactos() in
\GMailManager\Tests\TestsUnitarios\TestsVCF.cs:line 37
Result Message:

System.ArgumentException: An item with the same key has already been added.

@seanmcne
Copy link

seanmcne commented Oct 4, 2021

I'm running into the same issue :(

@sanketshahane05
Copy link

Same issue {"An item with the same key has already been added."}

@mahmoodyali
Copy link

I'm running into the same issue :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants