# Error after loading save

**URL:** <https://discourse.stonehearth.net/t/error-after-loading-save/36666>\
**Category:** Bug Reports\
**Created:** [July 8, 2018, 5:17am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666 "2018-07-08T05:17:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stauder02](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/stauder02/32/64103_2.png) [@Stauder02](https://discourse.stonehearth.net/u/Stauder02)\
**Post date:** [July 8, 2018, 5:17am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/1 "2018-07-08T05:17:00Z")

</div>

That being said i dont know whats affected by this error,

release-870 (x64)[M]  
Uncaught Error: Assertion Failed: Attempted to register a view with an id already in use: null  
Error: Assertion Failed: Attempted to register a view with an id already in use: null  
at r ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:4:18375](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:4:18375))  
at Object.n.assert ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:2:88](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:2:88))  
at Object.enter ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:30260](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:30260))  
at n.\_transitionTo ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:11:10371](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:11:10371))  
at \_ ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:22839](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:22839))  
at n.r [as \_transitionTo] ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:21387](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:21387))  
at u.c.didInsertElement ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:15650](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:15650))  
at u.n [as renderTree] ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:3:24605](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:3:24605))  
at Object.ensureChildrenAreInDOM ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:24498](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:24498))  
at n.\_ensureChildrenAreInDOM ([http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:23932](http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:10:23932))

---

<div class="post-metadata">

**Author:** ![paulthegreat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/paulthegreat/32/62395_2.png) [@paulthegreat](https://discourse.stonehearth.net/u/paulthegreat)\
**Post date:** [July 8, 2018, 5:58am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/2 "2018-07-08T05:58:20Z")

</div>

The mods you’re using could be involved.

---

<div class="post-metadata">

**Author:** ![Stauder02](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/stauder02/32/64103_2.png) [@Stauder02](https://discourse.stonehearth.net/u/Stauder02)\
**Post date:** [July 8, 2018, 6:00am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/3 "2018-07-08T06:00:35Z")

</div>

but what is the error about ?

---

<div class="post-metadata">

**Author:** ![paulthegreat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/paulthegreat/32/62395_2.png) [@paulthegreat](https://discourse.stonehearth.net/u/paulthegreat)\
**Post date:** [July 8, 2018, 6:05am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/4 "2018-07-08T06:05:28Z")

</div>

It sounds like Ember is trying to register multiple views with the same id. Views are every individual part of the Stonehearth UI: the task bar at the bottom, the clock widget, the unit frame, the town info window, etc. UI mods also create their own views or modify existing ones. It’s hard to know where the conflict is without more information.

---

<div class="post-metadata">

**Author:** ![Stauder02](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/stauder02/32/64103_2.png) [@Stauder02](https://discourse.stonehearth.net/u/Stauder02)\
**Post date:** [July 8, 2018, 6:06am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/5 "2018-07-08T06:06:39Z")

</div>

looks like it is not causing any gameplay issues then ?

---

<div class="post-metadata">

**Author:** ![paulthegreat](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/paulthegreat/32/62395_2.png) [@paulthegreat](https://discourse.stonehearth.net/u/paulthegreat)\
**Post date:** [July 8, 2018, 6:12am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/6 "2018-07-08T06:12:34Z")

</div>

Did the error ask you to reload the UI and then you did reload it and didn’t get the error again? Or did it ask you to reload it and you simply closed the dialog? If the latter, there could be a problem, you just wouldn’t necessarily notice it until you tried to do the specific thing that the view in question was for, like maybe trading with another player or something.

---

<div class="post-metadata">

**Author:** ![Stauder02](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/stauder02/32/64103_2.png) [@Stauder02](https://discourse.stonehearth.net/u/Stauder02)\
**Post date:** [July 8, 2018, 6:14am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/7 "2018-07-08T06:14:10Z")

</div>

this was in solo game  
i did indeed reload the ui and it gave me the same error, i then just closed it and it showed again after reloading the save. im starting a new game to see if it shows from start

---

<div class="post-metadata">

**Author:** ![max99x](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/max99x/32/40094_2.png) [@max99x](https://discourse.stonehearth.net/u/max99x)\
**Post date:** [July 8, 2018, 6:19am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/8 "2018-07-08T06:19:40Z")

</div>

It’s HOMF. Poke @Drotten.

---

<div class="post-metadata">

**Author:** ![Drotten](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/drotten/32/14200_2.png) [@Drotten](https://discourse.stonehearth.net/u/Drotten)\
**Post date:** [July 8, 2018, 8:31am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/9 "2018-07-08T08:31:23Z")

</div>

Yeah I’ve definitely seen this with my homf mod, though only when I started up a test world (with microworld) and not when starting a new normal game and when loading a saved game.

Fortunately it’s the kind of error that doesn’t break anything (of what I’ve seen at least). But it’s annoying to look at so I’ll take a look at it. Though I’m not home atm, so it’ll have to be later…

Could you upload your save file that shows this error? Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![Stauder02](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/stauder02/32/64103_2.png) [@Stauder02](https://discourse.stonehearth.net/u/Stauder02)\
**Post date:** [July 8, 2018, 8:36am UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/10 "2018-07-08T08:36:19Z")

</div>

im sorry but i deleted the save ^^’

---

<div class="post-metadata">

**Author:** ![max99x](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/max99x/32/40094_2.png) [@max99x](https://discourse.stonehearth.net/u/max99x)\
**Post date:** [July 8, 2018, 3:17pm UTC](https://discourse.stonehearth.net/t/error-after-loading-save/36666/11 "2018-07-08T15:17:14Z")

</div>

> [@Drotten](#):
>
> Could you upload your save file that shows this error? Thanks! 🙂

I’ve gotten it with 100% repro on the save from this post: [AI shutdown issues - #11 by LadidaLP](https://discourse.stonehearth.net/t/ai-shutdown-issues/36413/11).
