MATLAB Answers

Ubuntu 18.04 - MATLAB 2019b fails to open Property Inspector for custom class

15 views (last 30 days)
Lyudmil Vladimirov
Lyudmil Vladimirov on 23 Oct 2019
Commented: Jack Kenney on 12 Aug 2020
I have written a bunch of custom MATLAB classes and everything works smoothly on Windows 10.
However, I recently installed MATLAB in Ubuntu 18.04 and whenever I try to open the property inspector for an instance of the custom classes, the Property Inspector never opens and I get the following error:
Exception in thread "AWT-EventQueue-0": java.lang.NullPointerException
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$500(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(
In addition, upon starting matlab, the following printout is displayed in the Terminal, which may or may not have anything to do with the above,
Gtk-Message: 00:07:13.004: Failed to load module "canberra-gtk-module"
[1024/000717.078965:INFO:context.cpp(159)] Using multi-threaded message loop for Linux
GLib-GIO-Message: 00:07:17.214: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
Any help would be highly appreciated.
I uninstalled R2019b and installed R2019a and now both the Property Inspector work normally, plus I no longer get the second set of "error" printouts when MATLAB starts.

Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by