MATLAB: Exception in thread “Thread-5”: java.lang.​NullPointe​rException after exiting [Matlab 2018b]

"thread-5": java.lang.nullpointerexceptionMATLAB

Dear Matlab experts
I've encountered the following error messages from terminal after exiting Matlab 2018b on Ubuntu 16.04.5 LTS.
  • Exception in thread "Thread-5": 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)
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
Thanks for considering my request.

Best Answer

It looks like the known bug. You can find workaround here:
https://www.mathworks.com/support/bugreports/1765886
Related Question