MATLAB Answers

fatal error on startup

23 views (last 30 days)
Matteo Gritti
Matteo Gritti on 8 May 2018
Answered: Bhargavi Maganuru on 27 Mar 2020
I recently downloaded the Mathlab R2018a version but when I try to run it I receive a "fatal error on startup". How can I solve it?

  0 Comments

Sign in to comment.

Answers (2)

Jan
Jan on 8 May 2018
Download it again. If this does not help, post any details: Operating System, error log, ... Send these details to MathWorks using the "Contact Us" link on this page.

  1 Comment

Guichen Zhang
Guichen Zhang on 5 Oct 2019
i have a similar problem. Everytime i tried to run it, I receive a "fatal error on startup". And, followed by these words:
Java exception occurred: java. lang. ExceptionlnlnitializerError at com. mathworks. mde. desk. MLDesktop.<init>(MLDesktop. java:567)
at com. mathworks. mde. desk. MLDesktop. getinstance(MLDesktop. java:655)
Caused by: java. lang. NullPointerException at sun. awt. FontConfiguration. getVersion(FontConfiguration. java:1264)
at sun. awt. FontConfiguration. readFontConfigFile(FontConfiguration. java:219)
at sun. awt. FontConfiguration. init(FontConfiguration, java:107)
at sun. awt. Win32FontManager. createFontConfiguration(Win32FontManager. java:182)
at sun. font. SunFontManager$2. run(SunFontManager. java:431)
at java. security. AccessController. doPrivileged(Native Method)
at sun. font. SunFontManager.<init>(SunFontManager. java:376)
at sun. awt. Win32FontManager.<init>(Win32FontManager. java:89)
at sun. reflect. NativeConstructorAccessorlmpl. newlnstance0(Native Method)
at sun. reflect. NativeConstructorAccessorlmpl. newlnstance(NativeConstructorAccessorlmpl. java:62)
at sun. reflect. DelegatingConstructorAccessorlmpl. newlnstance(DelegatingConstructorAccessorlmpl. java:45)
at java. lang. reflect. Constructor. newlnstance(Constructor. java:423)
at java. lang. Class. newlnstance(Class. java:442)
at sun. font. FontManagerFactory$1. run(FontManagerFactory. java:83)
at java. security. AccessController. doPrivileged(Native Method)
at sun. font. FontManagerFactory. getlnstance(FontManagerFactory. java:74)
at java. awt. Font. getFont2D(Font, java:491)
at java. awt. Font. access$000(Font, java:224)
at java. awt. FontSFontAccesslmpl. getFont2D(Font. java:228)
at sun. font. FontUtilities. getFont2D(FontUtilities. java:180)
at sun. font. FontUtilities. fontSupportsDefaultEncoding(FontUtilities. java:338)
at com. sun, java. swing, plaf: windows. WindowsLookAndFeelSWindowsFontProperty. configureValue(WindowsLookAndFeel. java:2293)
at com. sun. java. swing. plaf. windows. DesktopProperty. createValue(DesktopProperty. java:154)
at javax. swing. UIDefaults. getFromHashtable(UIDefaults, java:231)
at javax. swing. UIDefaults. get(UIDefaults, java:161)
at javax. swing. MultiUIDefaults. get(MultiUIDefaults. java:64)
at javax. swing. UIDefaults. getFont(UIDefaults, java:388)
at javax. swing. UIManager. getFont(UlManager. java:672)
at javax. swing. LookAndFeel. installColorsAndFont(LookAndFeel, java:208)
at javax. swing. plaf. basic. BasicPanelUl. installDefaults(BasicPanelUl., java:66)
at javax. swing. plaf. basic. BasicPanelUL. installUI(BasicPanelUl, java:56)
at javax. swing. JComponent. setUI(JComponent. java:666)
at javax. swing. JPanel. setUI(JPanel. java:153)
at javax. swing. JPanel. updateUI(JPanel. java:126)
at javax. swing. JPanel.<init>(JPanel. java:86)
at javax. swing. JPanel.<init>(JPanel. java:109)
at javax. swing. JPanel.<init>(JPaneljava:117)
at com. mathworks. mde. explorer. Explorer.<clinit>(Explorer. java:156)
.2 more

Sign in to comment.


Bhargavi Maganuru
Bhargavi Maganuru on 27 Mar 2020
This error can occur when MATLAB get's corrupted during the installation process.
To resolve this issue, disable any security software or allow exceptions for the MATLAB application and then perform an clean installation of MATLAB.
If the issue still persists after performing a clean installation, obtain the crash logs and contact MathWorks support.

  0 Comments

Sign in to comment.