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

32 次查看(过去 30 天)
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 ...
  2 个评论
Lukas Brändli
Lukas Brändli 2022-12-24
Thank you!
This solved my exact same issue with R2022b on Manjaro Linux (Arch derivate).
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.

请先登录,再进行评论。


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?

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by