[wheybags] [0.17.75] NPE crash, accessing deleted entity in on_ai_command_completed()

This subforum contains all the issues which we already resolved.
luziferius
Inserter
Inserter
Posts: 39
Joined: Thu Jun 01, 2017 12:59 pm
Contact:

[wheybags] [0.17.75] NPE crash, accessing deleted entity in on_ai_command_completed()

Post by luziferius »

Background: I did an NPE play-through to find some issues. I don’t know what exactly caused this. Compilatron approached the coal mine in the starting location, I think because I placed a chest collecting coal. (It seems if you do so, Compilatron sometimes approaches it to tell you that you can take the items in it).

I think a script deleted some building at the miners, while Compilatron drove there, then the game crashed.

When I reloaded the last autosave, I wasn’t able to reproduce it.

This happened in the initial starting area.

Code: Select all

911.518 Error MainLoop.cpp:1195: Exception at tick 5206646: Szenario level hat einen unbehebbaren Fehler verursacht.
Bitte informiere den Autor des Szenarios über diesen Fehler.

Error while running event level::on_ai_command_completed (ID 113)
Given entity doesn't exist anymore.
stack traceback:
	__base__/lualib/compi.lua:233: in function 'indicate'
	__base__/lualib/compi.lua:806: in function '?'
	__base__/lualib/function_save.lua:15: in function 'run'
	__base__/lualib/command_callback.lua:47: in function '?'
	__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4>
stack traceback:
	[C]: in function 'create_entity'
	__base__/lualib/compi.lua:233: in function 'indicate'
	__base__/lualib/compi.lua:806: in function '?'
	__base__/lualib/function_save.lua:15: in function 'run'
	__base__/lualib/command_callback.lua:47: in function '?'
	__base__/lualib/event_handler.lua:7: in function <__base__/lualib/event_handler.lua:4

Edit: Seems to be a duplicate of: 65162
I should have searched the forum a bit more before posting.
Attachments
factorio-current.log
(9.78 KiB) Downloaded 163 times

User avatar
wheybags
Former Staff
Former Staff
Posts: 328
Joined: Fri Jun 02, 2017 1:50 pm
Contact:

Re: [0.17.75] NPE crash, accessing deleted entity in on_ai_command_completed()

Post by wheybags »

Thanks for the report. Fixed for the next release.

Post Reply

Return to “Resolved Problems and Bugs”