Warning: An error occurred while reading the desktop configuration file.

33 views (last 30 days)
Warning: The desktop configuration file is corrupt or improperly formatted.
null
Warning: An error occurred while reading the desktop configuration file.
Using the default configuration.
Warning: The desktop configuration file is corrupt or improperly formatted.
null
Warning: An error occurred while reading the desktop configuration file.
Exception in thread "AWT-EventQueue-0": java.lang.NullPointerException
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.showEditorInBrowser(LiveEditorTabManager.java:932)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.handleClientDisplayed(LiveEditorTabManager.java:310)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager$2.run(LiveEditorTabManager.java:293)
  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.NullPointerException
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.showEditorInBrowser(LiveEditorTabManager.java:932)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.handleClientDisplayed(LiveEditorTabManager.java:310)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.handleClientHierarchyChanged(LiveEditorTabManager.java:276)
  at com.mathworks.mde.liveeditor.LiveEditorClient$46.hierarchyChanged(LiveEditorClient.java:1885)
  at java.awt.AWTEventMulticaster.hierarchyChanged(AWTEventMulticaster.java:499)
  at java.awt.Component.processHierarchyEvent(Component.java:6706)
  at java.awt.Component.processEvent(Component.java:6325)
  at java.awt.Container.processEvent(Container.java:2239)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2297)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.Component.createHierarchyEvents(Component.java:5555)
  at java.awt.Container.createHierarchyEvents(Container.java:1448)
  at java.awt.Container.createHierarchyEvents(Container.java:1444)
  at java.awt.Container.createHierarchyEvents(Container.java:1444)
  at java.awt.Component.show(Component.java:1639)
  at java.awt.Component.show(Component.java:1671)
  at java.awt.Component.setVisible(Component.java:1623)
  at javax.swing.JComponent.setVisible(JComponent.java:2644)
  at com.mathworks.widgets.desk.DTTabbedDocumentPane.show(DTTabbedDocumentPane.java:371)
  at com.mathworks.widgets.desk.DTTabbedDocumentPane.toFront(DTTabbedDocumentPane.java:251)
  at com.mathworks.widgets.desk.DTDocumentContainer.toFront(DTDocumentContainer.java:532)
  at com.mathworks.widgets.desk.DTDocumentContainer.propertyChange(DTDocumentContainer.java:1817)
  at com.mathworks.widgets.desk.DTOccupant.forwardPropertyChange(DTOccupant.java:1197)
  at com.mathworks.widgets.desk.DTClient.itemStateChanged(DTClient.java:1641)
  at com.mathworks.widgets.desk.DTInternalFrame.setSelected(DTInternalFrame.java:364)
  at com.mathworks.widgets.desk.DTClient.setSelected(DTClient.java:488)
  at com.mathworks.widgets.desk.DTOccupant.setSelected(DTOccupant.java:822)
  at com.mathworks.widgets.desk.DTDocumentContainer.setSelected(DTDocumentContainer.java:1071)
  at com.mathworks.widgets.desk.DTDocumentContainer.setSelected(DTDocumentContainer.java:1037)
  at com.mathworks.widgets.desk.DTGroup.setSelected(DTGroup.java:1077)
  at com.mathworks.widgets.desk.DTSelectionManager.eventDispatched(DTSelectionManager.java:421)
  at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2427)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2319)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2318)
  at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2277)
  at java.awt.Component.dispatchEventImpl(Component.java:4785)
  at java.awt.Container.dispatchEventImpl(Container.java:2297)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4532)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
  at java.awt.Container.dispatchEventImpl(Container.java:2283)
  at java.awt.Window.dispatchEventImpl(Window.java:2746)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
  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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
  at java.awt.EventQueue$4.run(EventQueue.java:733)
  at java.awt.EventQueue$4.run(EventQueue.java:731)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
  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.NullPointerException
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.showEditorInBrowser(LiveEditorTabManager.java:932)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.handleClientDisplayed(LiveEditorTabManager.java:310)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.handleClientHierarchyChanged(LiveEditorTabManager.java:276)
  at com.mathworks.mde.liveeditor.LiveEditorClient$46.hierarchyChanged(LiveEditorClient.java:1885)
  at java.awt.AWTEventMulticaster.hierarchyChanged(AWTEventMulticaster.java:499)
  at java.awt.Component.processHierarchyEvent(Component.java:6706)
  at java.awt.Component.processEvent(Component.java:6325)
  at java.awt.Container.processEvent(Container.java:2239)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2297)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.Component.createHierarchyEvents(Component.java:5555)
  at java.awt.Container.createHierarchyEvents(Container.java:1448)
  at java.awt.Container.createHierarchyEvents(Container.java:1444)
  at java.awt.Container.createHierarchyEvents(Container.java:1444)
  at java.awt.Component.show(Component.java:1639)
  at java.awt.Component.show(Component.java:1671)
  at java.awt.Component.setVisible(Component.java:1623)
  at javax.swing.JComponent.setVisible(JComponent.java:2644)
  at com.mathworks.widgets.desk.DTTabbedDocumentPane.show(DTTabbedDocumentPane.java:371)
  at com.mathworks.widgets.desk.DTTabbedDocumentPane.toFront(DTTabbedDocumentPane.java:251)
  at com.mathworks.widgets.desk.DTDocumentContainer.toFront(DTDocumentContainer.java:532)
  at com.mathworks.widgets.desk.DTDocumentContainer.propertyChange(DTDocumentContainer.java:1817)
  at com.mathworks.widgets.desk.DTOccupant.forwardPropertyChange(DTOccupant.java:1197)
  at com.mathworks.widgets.desk.DTClient.itemStateChanged(DTClient.java:1641)
  at com.mathworks.widgets.desk.DTInternalFrame.setSelected(DTInternalFrame.java:364)
  at com.mathworks.widgets.desk.DTClient.setSelected(DTClient.java:488)
  at com.mathworks.widgets.desk.DTOccupant.setSelected(DTOccupant.java:822)
  at com.mathworks.widgets.desk.DTOccupant.setSelected(DTOccupant.java:810)
  at com.mathworks.widgets.desk.DTClient.activate(DTClient.java:1502)
  at com.mathworks.widgets.desk.DTClient$ClientSelectAction.actionPerformed(DTClient.java:1975)
  at com.mathworks.widgets.desk.DTDocumentTabs$Tab.select(DTDocumentTabs.java:1237)
  at com.mathworks.widgets.desk.DTDocumentTabs$Tab.mouseReleased(DTDocumentTabs.java:1714)
  at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
  at java.awt.Component.processMouseEvent(Component.java:6539)
  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
  at java.awt.Component.processEvent(Component.java:6304)
  at java.awt.Container.processEvent(Container.java:2239)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2297)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
  at java.awt.Container.dispatchEventImpl(Container.java:2283)
  at java.awt.Window.dispatchEventImpl(Window.java:2746)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
  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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
  at java.awt.EventQueue$4.run(EventQueue.java:733)
  at java.awt.EventQueue$4.run(EventQueue.java:731)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
  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.NullPointerException
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.showEditorInBrowser(LiveEditorTabManager.java:932)
  at com.mathworks.mde.liveeditor.LiveEditorTabManager.handleClientDisplayed(LiveEditorTabManager.java:310)
  at com.mathworks.mde.liveeditor.LiveEditorClient$45.clientActivated(LiveEditorClient.java:1771)
  at com.mathworks.widgets.desk.DTClient.fireClientEvent(DTClient.java:1454)
  at com.mathworks.widgets.desk.DTClient.itemStateChanged(DTClient.java:1644)
  at com.mathworks.widgets.desk.DTInternalFrame.setSelected(DTInternalFrame.java:364)
  at com.mathworks.widgets.desk.DTClient.setSelected(DTClient.java:488)
  at com.mathworks.widgets.desk.DTOccupant.setSelected(DTOccupant.java:822)
  at com.mathworks.widgets.desk.DTOccupant.setSelected(DTOccupant.java:810)
  at com.mathworks.widgets.desk.DTClient.activate(DTClient.java:1502)
  at com.mathworks.widgets.desk.DTClient$ClientSelectAction.actionPerformed(DTClient.java:1975)
  at com.mathworks.widgets.desk.DTDocumentTabs$Tab.select(DTDocumentTabs.java:1237)
  at com.mathworks.widgets.desk.DTDocumentTabs$Tab.mouseReleased(DTDocumentTabs.java:1714)
  at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
  at java.awt.Component.processMouseEvent(Component.java:6539)
  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
  at java.awt.Component.processEvent(Component.java:6304)
  at java.awt.Container.processEvent(Container.java:2239)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2297)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
  at java.awt.Container.dispatchEventImpl(Container.java:2283)
  at java.awt.Window.dispatchEventImpl(Window.java:2746)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
  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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
  at java.awt.EventQueue$4.run(EventQueue.java:733)
  at java.awt.EventQueue$4.run(EventQueue.java:731)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
  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)
  3 Comments
Manoj Manoj
Manoj Manoj on 24 Sep 2024
Once MATLAB is launched I get those error and I am not able to write anything in command window or editor. Not able to open file
Hitesh
Hitesh on 7 Oct 2024
If the above references does not resolve your error then, this might be best handled with MathWorks tech support. Could you submit a technical support request?
Feel free to link to this page in the request.
Thanks,
Hitesh

Sign in to comment.

Answers (1)

Kautuk Raj
Kautuk Raj on 24 Oct 2024 at 6:02
Edited: Kautuk Raj on 24 Oct 2024 at 6:02
Hello Manoj,
I encountered the same issue with MATLAB version R2022a. Before this problem arose, I installed Zoom (the videotelephony software), which required the installation of the compat-libstdc++ package. After installing this package, I noticed that MATLAB stopped working.
It is likely that the compat-libstdc++ package is causing a conflict with MATLAB. I resolved the issue by uninstalling Zoom. I recommend uninstalling any recently installed conflicting software to see if it resolves the problem for you as well.

Categories

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

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!