Error message: Exception in thread "AWT-EventQueue-0": java.lang.​AbstractMe​thodError:

6 views (last 30 days)
Hi,
I'm running MATLAB R2021b on CentOS. Output of hostnamectlis:
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-1160.el7.x86_64
Architecture: x86-64
I'm using MATLAB to run the Statistical Parametric Mapping toolbox, SPM12, which makes heavy use of MATLAB's GUI functions. When clicking on one of the buttons in the GUI, the GUI doesn't update as expected and I get the following errors:
Exception in thread "AWT-EventQueue-0": java.lang.AbstractMethodError: ice.pilots.html4.DocPaneXml.setCursorChangeable(Z)V
at ice.pilots.html4.ThePilot.setCursorChangeable(ThePilot.java:703)
at com.mathworks.mlwidgets.html.ICERenderer.setWaitCursor(ICERenderer.java:1813)
at com.mathworks.mlwidgets.html.ICERenderer.finishedLoading(ICERenderer.java:1685)
at com.mathworks.mlwidgets.html.ICERenderer.access$2400(ICERenderer.java:107)
at com.mathworks.mlwidgets.html.ICERenderer$MyPropertyChangeListener.propertyChange(ICERenderer.java:1552)
at ice.storm.StormBase.firePropertyChangeEvent(StormBase.java:528)
at ice.storm.StormBase.sendViewportMessage(StormBase.java:511)
at ice.storm.Pilot.firePropertyChange(Pilot.java:243)
at ice.pilots.html4.ObjectPool.fireOutstandingImagesEvent(ObjectPool.java:68)
at ice.pilots.html4.ObjectPool.fireOutstandingImagesEvent(ObjectPool.java:73)
at ice.pilots.html4.ThePilot.onLoadingDone(ThePilot.java:959)
at ice.storm.Viewport$3.run(Viewport.java:986)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0": java.lang.AbstractMethodError: ice.pilots.html4.DocPaneXml.setCursorChangeable(Z)V
at ice.pilots.html4.ThePilot.setCursorChangeable(ThePilot.java:703)
at com.mathworks.mlwidgets.html.ICERenderer.setWaitCursor(ICERenderer.java:1813)
at com.mathworks.mlwidgets.html.ICERenderer.access$2900(ICERenderer.java:107)
at com.mathworks.mlwidgets.html.ICERenderer$CursorHandler.run(ICERenderer.java:1843)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0": java.lang.AbstractMethodError: ice.pilots.html4.DocPaneXml.setCursorChangeable(Z)V
at ice.pilots.html4.ThePilot.setCursorChangeable(ThePilot.java:703)
at com.mathworks.mlwidgets.html.ICERenderer.setWaitCursor(ICERenderer.java:1813)
at com.mathworks.mlwidgets.html.ICERenderer.finishedLoading(ICERenderer.java:1685)
at com.mathworks.mlwidgets.html.ICERenderer.access$2400(ICERenderer.java:107)
at com.mathworks.mlwidgets.html.ICERenderer$MyPropertyChangeListener.propertyChange(ICERenderer.java:1552)
at ice.storm.StormBase.firePropertyChangeEvent(StormBase.java:528)
at ice.storm.StormBase.sendViewportMessage(StormBase.java:511)
at ice.storm.Pilot.firePropertyChange(Pilot.java:243)
at ice.pilots.html4.ObjectPool.fireOutstandingImagesEvent(ObjectPool.java:68)
at ice.pilots.html4.ObjectPool.fireOutstandingImagesEvent(ObjectPool.java:73)
at ice.pilots.html4.ThePilot.onLoadingDone(ThePilot.java:959)
at ice.storm.Viewport$3.run(Viewport.java:986)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
What does this error mean? I am aware of a couple of threads on Mathworks that mention the error Exception in thread "AWT-EventQueue-0" but none of them mention the error java.lang.AbstractMethodError, which follows it.
What is the meaning of all this?
Cheers,
Michael
  1 Comment
Michael Bannert
Michael Bannert on 27 Oct 2022
I have tried different MATLAB versions now. In R2020b, the GUI button likewise does not respond as expected. It does not throw an error in the Command Window. In R2019b, the GUI does respond as expected. So the error is not reproducible in R2019b. I will keep using this MATLAB version for now.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!