# \[BUG\]? Keep getting this error loading save

**URL:** <https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716>\
**Category:** Other Reports\
**Tags:** caused\_by\_mod\
**Created:** [September 22, 2016, 8:26pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716 "2016-09-22T20:26:59Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unatan2](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/unatan2/32/17657_2.png) [@Unatan2](https://discourse.stonehearth.net/u/Unatan2)\
**Post date:** [September 22, 2016, 8:26pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/1 "2016-09-22T20:26:59Z")

</div>

As title says keep getting this error when loading save game, doesn’t seem to affect anything that I can tell and I’m not sure what is causing it, be it stonehearth or mods, it’s the Rayya’s campaign, latest steam release, latest release of Aviex’s [Alpha18] Enchanter Class/Mithril Weapons Mod+Enchanter Expansion Mod.

release-663 (x64)[M]  
…ices/server/crafter\_info/crafter\_info\_controller.lua:26: attempt to index local ‘job\_info’ (a nil value)  
stack traceback:  
[C]: ?  
…ices/server/crafter\_info/crafter\_info\_controller.lua:26: in function \<…ices/server/crafter\_info/crafter\_info\_controller.lua:18\>

release-663 (x64)[M]  
c++ exception: lua runtime error  
stack traceback:

Any ideas?

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [September 23, 2016, 11:08am UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/2 "2016-09-23T11:08:16Z")

</div>

I wonder if it might truly come from @Aviex mod, since it adds a new job…

Yes, I don’t see any crafter\_info\_controller on the stonehearth / rayya’s children mods.  
It probably comes from elsewhere. 🙂

---

<div class="post-metadata">

**Author:** ![Aviex](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/aviex/32/51813_2.png) [@Aviex](https://discourse.stonehearth.net/u/Aviex)\
**Post date:** [September 23, 2016, 4:47pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/3 "2016-09-23T16:47:48Z")

</div>

Hmm, can you upload the save file?

I mean it could be anything, since I’ve been pretty much rapidly changing stuff on the enchanter mod and you’re loading an older save, I’m not sure what would give the error though.

---

<div class="post-metadata">

**Author:** ![Unatan2](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/unatan2/32/17657_2.png) [@Unatan2](https://discourse.stonehearth.net/u/Unatan2)\
**Post date:** [September 23, 2016, 8:32pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/4 "2016-09-23T20:32:57Z")

</div>

[load error.zip](https://discourse.stonehearth.net/uploads/short-url/aNo5f6Cd0oDoZQxHXBdC4HS2Mwy.zip) (5.4 MB)  
Started a new Rayya’s campaign, same error pops up loading, Only happens with the Rayya’s

---

<div class="post-metadata">

**Author:** ![Aviex](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/aviex/32/51813_2.png) [@Aviex](https://discourse.stonehearth.net/u/Aviex)\
**Post date:** [September 23, 2016, 8:54pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/5 "2016-09-23T20:54:32Z")

</div>

Did you take all mods out and see if it still occurs?

Not sure if any of my mods would cause this, I tested the enchanter almost entirely using RC(since potter is obtained early for making blank runes).

Crafter info controller is in stonehearth.smod so I’m up in the air.

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [September 24, 2016, 9:38am UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/6 "2016-09-24T09:38:06Z")

</div>

> [@Aviex](#):
>
> Crafter info controller is in stonehearth.smod

Where? I haven’t found it, in fact there’s no controller in stonehearth / rayyas whose name ends with “\_controller”, I think.

> [@Unatan2](#):
>
> crafter\_info\_controller.lua

Then that’s not from these mods. If only the full path appeared in that error, we’d know from where it is coming.  
Do you have any other mods, @Unatan2 ?

---

<div class="post-metadata">

**Author:** ![Unatan2](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/unatan2/32/17657_2.png) [@Unatan2](https://discourse.stonehearth.net/u/Unatan2)\
**Post date:** [September 24, 2016, 12:49pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/7 "2016-09-24T12:49:26Z")

</div>

Here’s image of my mods folder:

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/c/a/ca4b34d8428a096cdbdd7c73d1ceec5e0ce32ed8.png)

---

<div class="post-metadata">

**Author:** ![Aviex](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/aviex/32/51813_2.png) [@Aviex](https://discourse.stonehearth.net/u/Aviex)\
**Post date:** [September 25, 2016, 12:08am UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/8 "2016-09-25T00:08:37Z")

</div>

Could it be smarter crafter

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [September 26, 2016, 3:28pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/9 "2016-09-26T15:28:54Z")

</div>

Confirmed. That controller is from the smart\_crafter mod. @Drotten, any idea?

---

<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:** [September 26, 2016, 4:35pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/10 "2016-09-26T16:35:25Z")

</div>

It’s indeed from the smart crafter mod. I have a hard time reproducing the error, though I have seen that error popping up before some mod update; could you perhaps try and download the newest version and see if that works out for you?

If you still get these errors, I’d love to hear some reproduction steps so I can track this one down. Thanks!

---

<div class="post-metadata">

**Author:** ![Unatan2](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/unatan2/32/17657_2.png) [@Unatan2](https://discourse.stonehearth.net/u/Unatan2)\
**Post date:** [September 26, 2016, 8:21pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/11 "2016-09-26T20:21:54Z")

</div>

Still getting it, used the current dropbox smart\_crafter.smod as of today 9/26/2016

 ![](https://us1.discourse-cdn.com/flex022/uploads/stonehearth/original/3X/9/f/9f66ec8f98541d0e27ed3f363c899ead3387a6f1.jpg)

Steps:

1. Start **RAYYA’s** campaign
2. Do stuff, ie. start creating camp
3. save game
4. exit to desktop
5. start game
6. Load **RAYYA’s** save
7. Game starts, Get error

Mod list:  
assassin  
du\_tracker  
easy\_mode  
enchanter  
enchanter\_expansion  
smart\_crafter  
terrain\_colors  
unitframeacitivitymod

Specs:  
Windows 10 64-Bit  
Alienware R4  
16GB RAM  
Intel® Core™ i7-4820 CPU @ 3.70GHz 3.70GHz  
Graphics:  
GeForce GTX 760 (2)

---

<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:** [September 27, 2016, 5:44pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/12 "2016-09-27T17:44:08Z")

</div>

Fixed the bug in the latest version of [smart crafter](https://discourse.stonehearth.net/t/mod-smart-crafter/10213?u=drotten). Thanks for the awesome repro steps! (And for using my mod) 🙂

---

<div class="post-metadata">

**Author:** ![Eruntien](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/eruntien/32/52573_2.png) [@Eruntien](https://discourse.stonehearth.net/u/Eruntien)\
**Post date:** [September 28, 2016, 8:36am UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/13 "2016-09-28T08:36:29Z")

</div>

@Drotten  
Hello, Im still getting this bug today:  
release-663 (x64)[M]…ices/server/crafter\_info/crafter\_info\_controller.lua:42: attempt to index field ‘entity\_data’ (a nil value)stack traceback:  
[C]: ?  
…ices/server/crafter\_info/crafter\_info\_controller.lua:42: in function 'post\_activate’  
radiant/modules/common.lua:506: in function ‘create\_controller’  
…ervices/server/crafter\_info/crafter\_info\_service.lua:15: in function ‘add\_crafter\_info’  
…ervices/server/crafter\_info/crafter\_info\_service.lua:23: in function 'get\_crafter\_info’  
smart\_crafter/smart\_craft\_order\_list.lua:20: in function 'add\_order’  
stonehearth/components/workshop/craft\_order\_list.lua:74: in function \<stonehearth/components/workshop/craft\_order\_list.lua:68\>

It pops up once when the game goes to the main menu, and then pops up again the moment I try crafting something.

Ive downloaded the latest update 10 minutes ago.

Thanks. 🙂

edit: if its any help, here is my mod folder:  
[http://puu.sh/rquXs/a77e5989a2.png](http://puu.sh/rquXs/a77e5989a2.png)

---

<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:** [September 28, 2016, 5:05pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/14 "2016-09-28T17:05:13Z")

</div>

What’s with all these bugs that are suddenly popping up now in my mods…

Thanks for letting me know, I’ll take a look at it! 🙂

**Edit:** What were you doing before in order to get this bug?

---

<div class="post-metadata">

**Author:** ![Eruntien](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/eruntien/32/52573_2.png) [@Eruntien](https://discourse.stonehearth.net/u/Eruntien)\
**Post date:** [September 28, 2016, 7:01pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/15 "2016-09-28T19:01:45Z")

</div>

@Drotten  
Opened the game just to make sure.

The moment the game gets to the main menu, I get the error.  
After loading up the game and trying to craft a workbench, I get the error again, and the workbench doesnt get crafted. Basically I cant craft anything.

---

<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:** [September 28, 2016, 7:12pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/16 "2016-09-28T19:12:09Z")

</div>

OK, it sounds really suspicious to me when the error occurs at startup (which I assume you mean when you say the game gets to the main menu).

When you get the error again: do you start a new game, or load a saved game?

---

<div class="post-metadata">

**Author:** ![Eruntien](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/eruntien/32/52573_2.png) [@Eruntien](https://discourse.stonehearth.net/u/Eruntien)\
**Post date:** [September 28, 2016, 7:26pm UTC](https://discourse.stonehearth.net/t/bug-keep-getting-this-error-loading-save/25716/17 "2016-09-28T19:26:37Z")

</div>

Removing the smod solves the issue and Im able to craft again.

Im loading a saved game, but the first time the error occurred was when I started a new game.
