When i close Matlab error!

2 次查看(过去 30 天)
Jon Tang
Jon Tang 2021-3-23
评论: Jon Tang 2021-3-26
I am using Ubuntu 20.10 and everytime i exit Matlab i get this error below:
And MATLAB Version: 9.5.0.944444 (R2018b)
MATLAB is selecting SOFTWARE OPENGL rendering.
Exception in thread "Thread-9": java.lang.NullPointerException
at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.c(Unknown Source)
at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.b(Unknown Source)
at com.teamdev.jxbrowser.chromium.internal.ipc.IPC.a(Unknown Source)
at com.teamdev.jxbrowser.chromium.internal.ipc.b.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Is it some libraries that doesn't exist or?

回答(1 个)

Kiran Felix Robert
Kiran Felix Robert 2021-3-26
Hi Jon,
I recommend you to upgrade MATLAB to the newest version R2021a.
Or you can also consider referring this answer thread to fix the java exception.
The Bug Report from the answer thread - (Bug Report 1885601) gives you a workaround by installing the following library,
sudo apt-get install libgconf2-4
  1 个评论
Jon Tang
Jon Tang 2021-3-26
Hi @Kiran Felix Robert i did this but i got back below:
sudo apt-get install libgconf2-4
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgconf2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libgconf2-4' has no installation candidate

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by