When i close Matlab error!

4 visualizzazioni (ultimi 30 giorni)
Jon Tang
Jon Tang il 23 Mar 2021
Commentato: Jon Tang il 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?

Risposte (1)

Kiran Felix Robert
Kiran Felix Robert il 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 Commento
Jon Tang
Jon Tang il 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

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by