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.

Self referencing loop detected for property 'iocContainer'

See original GitHub issue

After 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:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexSenchenkocommented, Oct 1, 2019

@maliming I think only in private way.

0reactions
stale[bot]commented, Dec 1, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

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