How to recover print which crashed



  • MatterControl crashed in the middle of a large print. Is there any way to identify the last gcode that executed and restart? The printer is currently on and in exactly the place it left off.

    Unhandled Exception:
    System.NullReferenceException: Object reference not set to an instance of an object
    at System.Windows.Forms.XEventQueue+PaintQueue.Dequeue () <0x41e49900 + 0x000ed> in :0
    at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) <0x41e3b8c0 + 0x003f7> in :0
    at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) <0x41e3b870 + 0x00047> in :0
    at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x41e3a200 + 0x00e4b> in :0
    at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x41e3a150 + 0x00057> in :0
    at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x41e39e30 + 0x00037> in :0
    at MatterHackers.Agg.UI.WidgetForWindowsFormsAbstract.Run () <0x41e1d620 + 0x0001f> in :0
    at MatterHackers.Agg.UI.WidgetForWindowsFormsOpenGL.Run () <0x41e1d600 + 0x0000f> in :0
    at MatterHackers.Agg.SystemWindowCreator_WindowsForms.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) <0x41d278e0 + 0x003c1> in :0
    at MatterHackers.Agg.UI.SystemWindow.ShowAsSystemWindow () <0x41d27870 + 0x0002a> in :0
    at MatterHackers.MatterControl.MatterControlApplication.get_Instance () <0x41b76920 + 0x0004f> in :0
    at MatterHackers.MatterControl.MatterControlApplication.Main () <0x41b02090 + 0x0029b> in :0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
    at System.Windows.Forms.XEventQueue+PaintQueue.Dequeue () <0x41e49900 + 0x000ed> in :0
    at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) <0x41e3b8c0 + 0x003f7> in :0
    at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) <0x41e3b870 + 0x00047> in :0
    at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x41e3a200 + 0x00e4b> in :0
    at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x41e3a150 + 0x00057> in :0
    at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x41e39e30 + 0x00037> in :0
    at MatterHackers.Agg.UI.WidgetForWindowsFormsAbstract.Run () <0x41e1d620 + 0x0001f> in :0
    at MatterHackers.Agg.UI.WidgetForWindowsFormsOpenGL.Run () <0x41e1d600 + 0x0000f> in :0
    at MatterHackers.Agg.SystemWindowCreator_WindowsForms.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) <0x41d278e0 + 0x003c1> in :0
    at MatterHackers.Agg.UI.SystemWindow.ShowAsSystemWindow () <0x41d27870 + 0x0002a> in :0
    at MatterHackers.MatterControl.MatterControlApplication.get_Instance () <0x41b76920 + 0x0004f> in :0
    at MatterHackers.MatterControl.MatterControlApplication.Main () <0x41b02090 + 0x0029b> in :0


  • MatterHackers

    @dovkruger If this happens again, power down Mattercontrol and then power the program on again and reconnect to the program. MatterControl will then display a message to resume/recover the print from where you left off. Please reference to Print Recovery to enable this feature in MatterControl.



  • I had this issue this morning. I was in the middle of trying to select other prints to generate layers while in the middle of a print, and MatterControl crashed. Confirmed that that the built-in recovery function when restarting Mattercontrol worked for mine. My mattercontrol completely crashed but the print was fine when I recovered.

    Another note:

    If you for some reason highlight another print in the queue and you have selected to recover the print, MC looks like it's going to print the "other" currently selected highlighted print even though it won't, and it will recover your print from before the crash. This by chance may only be local to my own instance of mattercontrol but I just thought it was odd and got a little nervous.

    LOVE this feature!! I was going nutso this morning because of it 😛


  • MatterHackers

    @cestlasara Thank you for the update and the feedback. I am happy to know that the feature worked for you.


Log in to reply
 

Looks like your connection to MatterHackers Community was lost, please wait while we try to reconnect.