"Startup Class Loader Error"

조회 수: 6 (최근 30일)
Alex Tam
Alex Tam 2019년 3월 15일
답변: Muskan 2024년 9월 25일
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개)

Muskan
Muskan 2024년 9월 25일
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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by