Startup error messages and malfunction of plot

1 visualización (últimos 30 días)
JooDong
JooDong el 19 de Jun. de 2018
Comentada: Walter Roberson el 19 de Jun. de 2018
I am working on MATLAB R2018a in Ubuntu 18.04. It had been worked until yesterday, but now following error message occurs when I startup MATLAB program. Furthermore, plot function does not working. What is the problem?
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x6d9982c9, isOwner false, <7f3cd1db, 389b2ff>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
Exception in thread "Startup Class Loader" java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped
at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2047)
at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1917)
at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1866)
at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1835)
at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:79)
at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:229)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:215)
at com.mathworks.hg.peer.JavaSceneServerPeer.initializeJOGL(JavaSceneServerPeer.java:150)
at com.mathworks.hg.peer.JavaSceneServerPeer.<clinit>(JavaSceneServerPeer.java:120)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:241)
at com.mathworks.mde.desk.StartupClassLoader.access$800(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:228)
at java.lang.Thread.run(Thread.java:748)
>> x=1:100;
>> figure; plot(x)
Caught unexpected fl::except::IInternalException

Respuestas (1)

Walter Roberson
Walter Roberson el 19 de Jun. de 2018
  2 comentarios
JooDong
JooDong el 19 de Jun. de 2018
Thank you for your attention. It was partially helpful.
After following the four instructions in the link, some messages which occurs at startup are missing. However, I still have following error messages, and plot function still does not work.
Exception in thread "Startup Class Loader" java.lang.NoClassDefFoundError: com/jogamp/opengl/GLException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:241) at com.mathworks.mde.desk.StartupClassLoader.access$800(StartupClassLoader.java:25) at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:228) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.ClassNotFoundException: com.jogamp.opengl.GLException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 6 more
>> plot(1:100)
Caught unexpected fl::except::IInternalException
Walter Roberson
Walter Roberson el 19 de Jun. de 2018
I would recommend creating a technical support case.

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by