Matlab crashes on startup (java.lang​.NullPoint​erExceptio​n) on Fedora Linux

247 ビュー (過去 30 日間)
Andrea Bonanno
Andrea Bonanno 2022 年 7 月 26 日
コメント済み: Jared Brzenski 2025 年 2 月 12 日 18:24
As soon as I launch matlab with ./matlab the window opens and I get this message. What can I do?
When I close the error window matlab stays open but I can't click on anything and it crashes a few seconds later.

回答 (2 件)

Doug
Doug 2022 年 9 月 2 日
This issue cropped up on me today; I was able to resolve it by blowing away (well ... moving, to be safe) my ~/.matlab/R2022a folder and letting MATLAB create a new one on startup. I'm not sure which file(s) caused the problem, but I just copied my history over to the newly created directory and that was good enough for me ...
  3 件のコメント
Pablo
Pablo 2023 年 9 月 8 日
I'm running MATLAB R2023a on WSL - Ubuntu, I can run command line matlab, but opening files on the GUI isn't working and throws this exception.
Even clearing (moving) this ~/.matlab directory didn't solve the issue.
Jared Brzenski
Jared Brzenski 2025 年 2 月 12 日 18:24
This worked for R2023a when these error messages appeared after updating Ubuntu.

サインインしてコメントする。


Tom Hearn
Tom Hearn 2022 年 7 月 28 日
I have the exact same question after updateing to fedora 36 today. So I reinstalled matlab. This was a chore as I had to remove the libfreetype libraries to get it to work and then make sure root had access to the proper libraries. I got it reinstalled but it didn't solve the problem! What is going on?
  2 件のコメント
Image Analyst
Image Analyst 2022 年 7 月 28 日
What did tech support say when you called them? You DID call them, right?
Tom Hearn
Tom Hearn 2022 年 7 月 28 日
Well, I was hoping someone would respond here but I'll have to contact them.

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by