Attempt to index a nil value in function 'create wall'

Summary: I briefly mentioned it in the “Buildings That Will Not Build-Thread”, but there doesn’t seem to be a fomal bug report for this. At least I couldn’t find one. Issue: When trying to autobuild walls with a layout similar to the following screenshot the error message appears. It does work without any errors with freestanding walls, though.

Steps to reproduce:

  1. Lay out a rectangular floor and add singular tiles in front of the sides.
  2. Click on “walls” and auto-raise the wall-layout
  3. Get an error message after which removal of the layout isn’t possible anymore. New layouts also don’t work.

Expected Results: No error.

Actual Results: Error.

Notes:
develop-2867 (x64)stonehearth/components/wall/wall_component.lua:334: attempt to index a nil valuestack traceback:
[C]: ?
stonehearth/components/wall/wall_component.lua:334: in function ‘connect_to_columns’
stonehearth/services/server/build/build_service.lua:1153: in function ‘init_fn’
stonehearth/services/server/build/build_service.lua:468: in function ‘_create_blueprint’
stonehearth/services/server/build/build_service.lua:1151: in function ‘_create_wall’
stonehearth/services/server/build/build_service.lua:1138: in function ‘_add_wall_span’
stonehearth/services/server/build/build_service.lua:983: in function ‘visitor_fn’
stonehearth/lib/build_util.lua:670: in function ‘grow_walls_around’
stonehearth/services/server/build/build_service.lua:982: in function ‘grow_walls’
stonehearth/services/server/build/build_service.lua:954: in function ‘cb’
stonehearth/services/server/build/build_service.lua:1431: in function ‘do_command’
stonehearth/services/server/build/build_service.lua:953: in function <stonehearth/services/server/build/build_service.lua:951>
develop-2867 (x64)c++ exception: lua runtime errorstack traceback:

Attachments:

Version Number and Mods in use: Develop 2867

System Information: Core i5 3740, GTX 970, 8 GB RAM, Win 7 64 Bit

Steps to reproduce:

  1. Lay out a Square building
  2. Add footings for a wall off 2 corners.
  3. Click on “walls” and auto-raise the wall-layout

Expected Results: Hoped for auto build tool to manage.
Actual Results: Error.
Notes:
The walls for each tower in the picture were also displayed in “ghost” planned form.
After I exited the error message to capture a screen shot, only the very long L wall remained.

develop-2867 (x64)
stonehearth/components/wall/wall_component.lua:337: attempt to index a nil value
stack traceback:
[C]: ?
stonehearth/components/wall/wall_component.lua:337: in function ‘connect_to_columns’
stonehearth/services/server/build/build_service.lua:1153: in function ‘init_fn’
stonehearth/services/server/build/build_service.lua:468: in function ‘_create_blueprint’
stonehearth/services/server/build/build_service.lua:1151: in function ‘_create_wall’
stonehearth/services/server/build/build_service.lua:1138: in function ‘_add_wall_span’
stonehearth/services/server/build/build_service.lua:983: in function ‘visitor_fn’
stonehearth/lib/build_util.lua:670: in function ‘grow_walls_around’
stonehearth/services/server/build/build_service.lua:982: in function ‘grow_walls’
stonehearth/services/server/build/build_service.lua:954: in function ‘cb’
stonehearth/services/server/build/build_service.lua:1431: in function ‘do_command’
stonehearth/services/server/build/build_service.lua:953: in function <stonehearth/services/server/build/build_service.lua:951>

develop-2867 (x64)
c++ exception: lua runtime error
stack traceback:

System
Win 10, i5 (6600 @3.3Ghtz), 16Gb, GtX750Ti

1 Like

Playing release-789. Made an incomplete “loop” with foundation and used the non free standing wall to place walls. Barely started the new game.

20180211180615_11518390408671.rar (2.7 MB)

The save is attached

1 Like