"Startup Class Loader Error"

6 visualizzazioni (ultimi 30 giorni)
Alex Tam
Alex Tam il 15 Mar 2019
Risposto: Muskan il 25 Set 2024
Whenever I load up Matlab, I keep getting this warning:
Exception in thread "Startup Class Loader": java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.mde.desk.StartupClassLoader$LoadInfo.<init>(StartupClassLoader.java:106)
at com.mathworks.mde.desk.StartupClassLoader.createLoadInfos(StartupClassLoader.java:188)
at com.mathworks.mde.desk.StartupClassLoader.access$400(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:209)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: Settings file malformed or could not be loaded for "comparisons": C:\Users\alextam\AppData\Roaming\MathWorks\MATLAB\R2018b\comparisons.settings LineNum=1 ColNum=11 invalid document structure
at com.mathworks.services.settings.Setting.nativeExists(Native Method)
at com.mathworks.services.settings.SettingPath.<init>(SettingPath.java:271)
at com.mathworks.comparisons.prefs.SettingsPreferenceRetriever.getSetting(SettingsPreferenceRetriever.java:41)
at com.mathworks.comparisons.prefs.SettingsPreferenceRetriever.getValue(SettingsPreferenceRetriever.java:28)
at com.mathworks.comparisons.prefs.ComparisonPreferenceManager.getValue(ComparisonPreferenceManager.java:70)
at com.mathworks.toolbox.difflink.server.AutoStart.<clinit>(AutoStart.java:17)
... 7 more
I've noticed that in some of my apps (the Signal Analyzer), I cannot save my session or my plots. Do I have to reinstall Matlab to fix this issue?

Risposte (1)

Muskan
Muskan il 25 Set 2024
Hi,
As per my understanding of the issue, this error may be resolved by regenerating your MATLAB preferences. A set of instructions regarding how to locate and regenerate the preferences can be found at the following MATLAB Answers link: http://www.mathworks.com/matlabcentral/answers/99625-how-do-i-regenerate-my-matlab-preferences

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by