tool_rollback.lua:237: attempt to index a nil value #1616

Closed
opened 2022-03-24 16:46:11 +00:00 by AliasAlreadyTaken · 2 comments

2022-03-24 16:18:46: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'yl_commons' in callback on_playerReceiveFields(): ...test_live/bin/../mods/yl_commons/tools/tool_rollback.lua:237: attempt to index a nil value
2022-03-24 16:18:46: ERROR[Main]: stack traceback:
2022-03-24 16:18:46: ERROR[Main]: ...test_live/bin/../mods/yl_commons/tools/tool_rollback.lua:237: in function 'func'
2022-03-24 16:18:46: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100>
2022-03-24 16:18:46: ERROR[Main]: ...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:425: in function <...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:409>

2022-03-24 16:18:46: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'yl_commons' in callback on_playerReceiveFields(): ...test_live/bin/../mods/yl_commons/tools/tool_rollback.lua:237: attempt to index a nil value 2022-03-24 16:18:46: ERROR[Main]: stack traceback: 2022-03-24 16:18:46: ERROR[Main]: ...test_live/bin/../mods/yl_commons/tools/tool_rollback.lua:237: in function 'func' 2022-03-24 16:18:46: ERROR[Main]: ...inetest_live/bin/../builtin/profiler/instrumentation.lua:107: in function <...inetest_live/bin/../builtin/profiler/instrumentation.lua:100> 2022-03-24 16:18:46: ERROR[Main]: ...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:425: in function <...ive/5.5.0/Minetest_live/bin/../builtin/game/register.lua:409>
AliasAlreadyTaken added the
1. kind/bug
label 2022-03-24 16:46:16 +00:00
AliasAlreadyTaken added the
2. prio/critical
label 2022-03-31 13:46:49 +00:00
Author
Owner

I changed this part to

core.log("error","[MOD] #1616 yl_commons/tool_rollback: " ..

This will log what happened and then (maybe) crash anyways. But at least we will know what happened.

I changed this part to ``` core.log("error","[MOD] #1616 yl_commons/tool_rollback: " .. ``` This will log what happened and then (maybe) crash anyways. But at least we will know what happened.
AliasAlreadyTaken added this to the 1.1.109 milestone 2022-04-08 18:53:31 +00:00
Author
Owner

I'll close this until it happens again.

I'll close this until it happens again.
AliasAlreadyTaken added the
5. result/fixed
label 2022-04-08 18:54:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#1616
No description provided.