Error:Printer halted. kill() called! When printing cube.gcode using Pronterface I get:

Print started at: 23:07:31


After 8 seconds I get:

Error:Printer halted. kill() called!
Error:Printer halted. kill() called!


What is the reason?
How can I see logs?

Additional information:

I connected only three motors, and set the following in Configuration.h of Marlin Firmware:

#define TEMP_SENSOR_0 999
...
#define TEMP_SENSOR_BED 999
...
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
...


(Also for min max for XYZ)

In 8 second X motor and Z motor were running.

This is the link to G-Code print file (cube.gcode).

I'm using Marlin 1.1.x on a Arduino Mega 2560 + RAMPS 1.4 without endstops.
Your G-code file contains the G28 command to home the printer, as you do not have endstops, execution of this command fails. If you do not use endstops, you should never home the printer, instead you must position the print head at the origin yourself (generally this would be at coordinate [x=0, y=0, z="paper thickness"]) and remove homing commands from your G-code file.