"Startup Class Loader Error"

7 ビュー (過去 30 日間)
Alex Tam
Alex Tam 2019 年 3 月 15 日
回答済み: Naga 2025 年 1 月 28 日 8:50
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?

回答 (1 件)

Naga
Naga 2025 年 1 月 28 日 8:50
It seems that the issue you're experiencing might be resolved by regenerating your MATLAB preferences. You can find a detailed guide on how to locate and regenerate these preferences at the following MATLAB Answers link: http://www.mathworks.com/matlabcentral/answers/99625-how-do-i-regenerate-my-matlab-preferences

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by