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.

IObjectMapper using IConfigurationProvider.ResolveTypeMap throws Exception

See original GitHub issue

Original issue: https://github.com/AutoMapper/AutoMapper.Collection.EFCore/issues/13

When an registered IObjectMapper is using the IConfiguraitonProvider.ResolveTypeMap an circular dependency chain can throw exception System.InvalidOperationException : ValueFactory attempted to access the Value property of this instance..

Adding failing test as a draft PR and another draft PR with a solution that not is ready for shipment yet (its a hack 😃 ).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
lbargaoanucommented, Feb 18, 2019

You mean it should not be used in IsMatch 😃

0reactions
lock[bot]commented, May 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AutoMapper ValueFactory attempted to access the Value ...
I created this web application using Automapper for DTO mappings and it ... But after some days it throws below error and the...
Read more >
c# - Error activating IConfigurationProvider when using ...
Suggestions: 1) Ensure that you have defined a binding for IConfigurationProvider. 2) If the binding was defined in a module, ensure that the ......
Read more >
AutoMapper
Collection everything works with AutoMapper 6.2.0. After upgrading to AutoMapper 6.2.1 AutoMapper.Collection is throwing a Null Reference Exception.
Read more >
AutoMapper.IConfigurationProvider
Create a mapper instance with the specified service constructor to be used for resolvers and type converters. TypeMap FindTypeMapFor(Type ...
Read more >
diagnosticsModule/AutoMapper.xml 2.0.11.0
This method can be used in mapping to LINQ query projections, while ResolveUsing cannot. Any null reference exceptions in this expression will be...
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