MATLAB Answers

When i close Matlab error!

9 views (last 30 days)
Jon Tang
Jon Tang on 23 Mar 2021
Commented: Jon Tang on 26 Mar 2021
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?

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 26 Mar 2021
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 Comment
Jon Tang
Jon Tang on 26 Mar 2021
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

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!