Self referencing loop detected for property 'iocContainer'
See original GitHub issueAfter upgrade from 4.3 to 4.9 got error: .NET 4.7.2
Newtonsoft.Json.JsonSerializationException
HResult=0x80131500
Message=Self referencing loop detected for property 'iocContainer' with type 'Castle.Windsor.WindsorContainer'. Path 'dateFilter.target.<>4__this.userManager.featureDependencyContext.iocResolver.iocContainer.kernel.graphNodes[0].extendedProperties[1].value'.
Source=Newtonsoft.Json
StackTrace:
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CheckForCircularReference(JsonWriter writer, Object value, JsonProperty property, JsonContract contract, JsonContainerContract containerContract, JsonProperty containerProperty)
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
JSON.Net Self referencing loop detected
The fix is to ignore loop references and not to serialize them. This behaviour is specified in JsonSerializerSettings . Single JsonConvert with ...
Read more >Fixing JSON Self Referencing Loop Exceptions
Json (Or JSON.NET as it's sometimes called, default for .NET Core 2.2 and lower) : JsonSerializationException: Self referencing loop detected with type.
Read more >Self referencing loop detected - Microsoft Q&A
JsonSerializationException: Self referencing loop detected for property 'suiviBE' with type 'FollowUpDash.Shared.Models.SuiviBE'. Path '[0].
Read more >Self referencing loop error - How to fix
How to fix the "JsonSerializationException: Self referencing loop detected" error while trying to JSON serialize a EF Core result.
Read more >JsonSerializationException: Self referencing loop detected
JsonSerializationException: Self referencing loop detected for property 'normalized' with type 'UnityEngine.Vector3'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@maliming I think only in private way.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.