# Harmless? StackOverflowException after compiling

**URL:** <https://community.coherence.io/t/harmless-stackoverflowexception-after-compiling/583>\
**Category:** Bug reports\
**Created:** [September 5, 2024, 5:23am UTC](https://community.coherence.io/t/harmless-stackoverflowexception-after-compiling/583 "2024-09-05T05:23:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haruruu](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@haruruu](https://community.coherence.io/u/haruruu)\
**Post date:** [September 5, 2024, 5:23am UTC](https://community.coherence.io/t/harmless-stackoverflowexception-after-compiling/583/1 "2024-09-05T05:23:03Z")

</div>

My project has been getting two of the following error every recompile and it seems harmless, but is still a bit annoying 😅

```auto
StackOverflowException: The requested operation caused a stack overflow.
Coherence.PreloadedSingleton`1[T].get_Instance () (at ./Library/PackageCache/io.coherence.sdk@1.2.4/Coherence/PreloadedSingleton.cs:37)
Coherence.DocumentationLinks.GetDocsUrl (Coherence.DocumentationKeys key) (at ./Library/PackageCache/io.coherence.sdk@1.2.4/Coherence/DocumentationLinks.cs:61)

```

This error repeats onwards until the message is truncated.  
I’m not sure when it started happening either, so I’m unsure if it’s a bug or something I did on my end that caused it.

---

<div class="post-metadata">

**Author:** ![Filip](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/filip/32/142_2.png) [@Filip](https://community.coherence.io/u/Filip)\
**Post date:** [September 9, 2024, 7:42am UTC](https://community.coherence.io/t/harmless-stackoverflowexception-after-compiling/583/2 "2024-09-09T07:42:15Z")

</div>

Hey!

This is a known issue. The fix for it will ship in the 1.3.0 release. It is indeed harmless.

Thanks for reporting it!

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex017/uploads/coherence/original/1X/b3aa79eb9519fac7aad7eba18f15a1e8ce60f6e2.png) [@system](https://community.coherence.io/u/system)\
**Post date:** [September 9, 2025, 7:42am UTC](https://community.coherence.io/t/harmless-stackoverflowexception-after-compiling/583/3 "2025-09-09T07:42:20Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
