Why do I get Java exception java.lang.​NoSuchMeth​odError: javax.medi​a.opengl.G​LCapabilit​ies when using CFTOOL in the Curve Fitting Toolbox 3.4 (R2013b)?

1 visualización (últimos 30 días)
I'm trying to use cftool to fit a simple data set with a line. The App finds a fit but the plot window in the App is empty. Also, I get these error messages in my MATLAB command window:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: javax.media.opengl.GLCapabilities.<init>(Ljavax/media/opengl/GLProfile;)V
at com.mathworks.hg.peer.JavaSceneServerPeer.getCaps(JavaSceneServerPeer.java:125)
at com.mathworks.hg.peer.JavaSceneServerPeer.doCreateCanvas(JavaSceneServerPeer.java:915)
at com.mathworks.hg.peer.JavaSceneServerPeer.access$200(JavaSceneServerPeer.java:44)
at com.mathworks.hg.peer.JavaSceneServerPeer$2.run(JavaSceneServerPeer.java:887)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 1 de Abr. de 2021
Editada: MathWorks Support Team el 7 de Abr. de 2021
This is a bug in the Curve Fitting Toolbox R2013b which is caused due to some other version of JOGL shadowing the one installed by MATLAB. 
The workaround for this issue can be found here:https://www.mathworks.com/support/bugreports/1084573

Más respuestas (0)

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by