Matter Control not working on MAC OS Mojave 10.14.3



  • Hi folks.
    I'm a newbie at the 3d printing world, I've downloaded the last version of MatterControl and when I try to run it crashes to desktop. It's a MacBook Pro (Retina, 15 pulgadas, mids 2014) running MAC OS Mojave 10.14.3 The printer is an I3 Steel with RAMPS1.4+ARDUINO MEGA2560+4988 drivers, loaded with the last release of Marlin firmware.
    If I run from terminal I get this:
    /Applications/MatterControl.app/Contents/MacOS/MatterControlMac ; exit;
    Time to '': 184
    2019-02-12 14:11:34.449 MatterControlMac[67012:801670]
    Unhandled Exception:
    System.TypeInitializationException: The type initializer for 'MatterHackers.MatterControl.SlicerConfiguration.ProfileManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
    at MatterHackers.MatterControl.AppContext.get_Theme () [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController.get_Theme () [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController..ctor () [0x00098] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController.get_Instance () [0x00007] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.PrinterInfo.set_ID (System.String value) [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.DataStorage.ClassicDB.ClassicSqlitePrinterProfiles.ImportPrinter (MatterHackers.MatterControl.DataStorage.Printer printer, MatterHackers.MatterControl.SlicerConfiguration.ProfileManager profileData, System.String profilePath) [0x00021] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.DataStorage.ClassicDB.ClassicSqlitePrinterProfiles.ImportPrinters (MatterHackers.MatterControl.SlicerConfiguration.ProfileManager profileData, System.String profilePath) [0x00028] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.EnsurePrintersImported () [0x00026] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.Load (System.String userName) [0x00052] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.ReloadActiveUser () [0x0005b] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager..cctor () [0x00016] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    --- End of inner exception stack trace ---
    at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.add_UserChanged (System.EventHandler value) [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController..ctor () [0x0007d] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController.get_Instance () [0x00007] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.DialogPage..ctor (System.String cancelButtonText, System.Boolean useOverflowBar) [0x00038] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at LicenseAgreementPage..ctor (System.Action acceptAction) [0x0000d] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.Application+<>c__DisplayClass5_0.b__2 (System.Object s, System.EventArgs e) [0x00023] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.Agg.UI.GuiWidget.OnLoad (System.EventArgs args) [0x0000a] in <4d176e336ae140988af12ff0893dabe2>:0
    at MatterHackers.Agg.UI.GuiWidget.OnDraw (MatterHackers.Agg.Graphics2D graphics2D) [0x00008] in <4d176e336ae140988af12ff0893dabe2>:0
    at MatterHackers.MatterControl.RootSystemWindow.OnDraw (MatterHackers.Agg.Graphics2D graphics2D) [0x00021] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterControlMac.MacPlatformWindow.<.ctor>b__18_1 (System.Object s, OpenTK.FrameEventArgs e) [0x0004f] in :0
    at OpenTK.Platform.MacOS.MonoMacGameView.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00010] in <325fbbce19e1498fa0e49ab3a88973fd>:0
    at OpenTK.Platform.MacOS.MonoMacGameView.RenderScene () [0x000fc] in <325fbbce19e1498fa0e49ab3a88973fd>:0
    at OpenTK.Platform.MacOS.MonoMacGameView.DrawRect (CoreGraphics.CGRect dirtyRect) [0x00031] in <325fbbce19e1498fa0e49ab3a88973fd>:0
    at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
    at AppKit.NSApplication.Main (System.String[] args) [0x00040] in <3e1eecfdb2534f518bea4f1a21972847>:0
    at MatterControlMac.MainClass.Main (System.String[] args) [0x00007] in :0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'MatterHackers.MatterControl.SlicerConfiguration.ProfileManager' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
    at MatterHackers.MatterControl.AppContext.get_Theme () [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController.get_Theme () [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController..ctor () [0x00098] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController.get_Instance () [0x00007] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.PrinterInfo.set_ID (System.String value) [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.DataStorage.ClassicDB.ClassicSqlitePrinterProfiles.ImportPrinter (MatterHackers.MatterControl.DataStorage.Printer printer, MatterHackers.MatterControl.SlicerConfiguration.ProfileManager profileData, System.String profilePath) [0x00021] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.DataStorage.ClassicDB.ClassicSqlitePrinterProfiles.ImportPrinters (MatterHackers.MatterControl.SlicerConfiguration.ProfileManager profileData, System.String profilePath) [0x00028] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.EnsurePrintersImported () [0x00026] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.Load (System.String userName) [0x00052] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.ReloadActiveUser () [0x0005b] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager..cctor () [0x00016] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    --- End of inner exception stack trace ---
    at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
    at MatterHackers.MatterControl.SlicerConfiguration.ProfileManager.add_UserChanged (System.EventHandler value) [0x00000] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController..ctor () [0x0007d] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.ApplicationController.get_Instance () [0x00007] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.DialogPage..ctor (System.String cancelButtonText, System.Boolean useOverflowBar) [0x00038] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at LicenseAgreementPage..ctor (System.Action acceptAction) [0x0000d] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.MatterControl.Application+<>c__DisplayClass5_0.b__2 (System.Object s, System.EventArgs e) [0x00023] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterHackers.Agg.UI.GuiWidget.OnLoad (System.EventArgs args) [0x0000a] in <4d176e336ae140988af12ff0893dabe2>:0
    at MatterHackers.Agg.UI.GuiWidget.OnDraw (MatterHackers.Agg.Graphics2D graphics2D) [0x00008] in <4d176e336ae140988af12ff0893dabe2>:0
    at MatterHackers.MatterControl.RootSystemWindow.OnDraw (MatterHackers.Agg.Graphics2D graphics2D) [0x00021] in <1762a8cd9d4c4aad9b96d09c8bb222cd>:0
    at MatterControlMac.MacPlatformWindow.<.ctor>b__18_1 (System.Object s, OpenTK.FrameEventArgs e) [0x0004f] in :0
    at OpenTK.Platform.MacOS.MonoMacGameView.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00010] in <325fbbce19e1498fa0e49ab3a88973fd>:0
    at OpenTK.Platform.MacOS.MonoMacGameView.RenderScene () [0x000fc] in <325fbbce19e1498fa0e49ab3a88973fd>:0
    at OpenTK.Platform.MacOS.MonoMacGameView.DrawRect (CoreGraphics.CGRect dirtyRect) [0x00031] in <325fbbce19e1498fa0e49ab3a88973fd>:0
    at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
    at AppKit.NSApplication.Main (System.String[] args) [0x00040] in <3e1eecfdb2534f518bea4f1a21972847>:0
    at MatterControlMac.MainClass.Main (System.String[] args) [0x00007] in :0
    logout
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.

    [Process completed]

    Any idea how to make it work?
    Thanks in advance

    CoNiCiO


  • MatterHackers

    Hey @conicio

    It looks like this is likely going to be a compatibility issue with Mac OS going on but past that I am not much help here. @LarsBrubaker might be able to kick in an idea as to what is going on here.

    Most of the time when we get an unhandled exception I try to upload them over to our GitHub and see if the dev team can find the error but this might take some time. If you like you can go here and drop the information in for the team and it can be another avenue to a possible solution. https://github.com/MatterHackers/MatterControl

    Thanks!



  • @michael-petitclerc Thanks for your answer.I have already opened an issue on github.
    Thank you



  • I just upgraded my computer to 10.14.3 from 10.13.6, I had a few moments where the printer didn't want to connect but after cycling the printer and restarting the app I'm printing again. Not sure if I had extensions loaded that were from my previous setup, I don't remember installing anything specific just for the printer.

    I checked my log right after the computer was upgraded and found the following actions attributed to MatterControl:

    default 17:37:11.559224 -0600 MatterControlMac LaunchServices observer: Uninstalled plugins
    default 17:37:11.608893 -0600 MatterControlMac Failed to find plugin with UUID
    default 17:37:11.611080 -0600 MatterControlMac LaunchServices observer: Uninstalled plugins
    default 17:37:11.635755 -0600 MatterControlMac LaunchServices observer: Installed plugins

    Not sure if that will ring a bell with anyone familiar with that background processes.

    I've had the shutdown/crash issue with version 2.0 but I found restarting the computer between prints trends to eliminate the crash. I'm monitoring other threads on this forum to see if there is a fix for that.

    Computer: Mac Pro (late 2013) w/ 512GB SSD, 64GB RAM
    OS: 10.14.3
    Printer: SeeMeCNC RoStock MAX 2.0
    MatterControl Version: 2.19.1.10123


Log in to reply
 

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