java.util.MissingResourceException when trying to open any folder
Show older comments
I can't change my current folder at all, if I click on Open button and select a folder or change the folder path in the bar I get the following console output and empty current folder. Eventually the GUI starts disappearing, a screenshot is attached. How to fix this? Thank you.

Exception in thread "AWT-EventQueue-0" java.util.MissingResourceException: Can't find bundle for base name mldatx:general, locale sr-latn_BA
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:890)
at com.mathworks.fl.i18n.XMLMessageSystem.getBundle(Unknown Source)
at com.mathworks.fl.i18n.XMLMessageSystem.getBundle(Unknown Source)
at com.mathworks.toolbox.shared.mldatx.MLDATXFileInfo.getCatalogString(MLDATXFileInfo.java:109)
at com.mathworks.toolbox.shared.mldatx.MLDATXFileInfo.getExtension(MLDATXFileInfo.java:60)
at com.mathworks.toolbox.shared.mldatx.MLDATXFileInfoProvider.isApplicable(MLDATXFileInfoProvider.java:61)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel.installExtensions(FileDecorationModel.java:80)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel.<init>(FileDecorationModel.java:61)
at com.mathworks.mlwidgets.explorer.model.FileDecorationCache.getDecorations(FileDecorationCache.java:94)
at com.mathworks.mlwidgets.explorer.model.table.UiFileList.getDecorations(UiFileList.java:167)
at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils.getDecorationSynchronously(UiFileSystemUtils.java:74)
at com.mathworks.mlwidgets.explorer.model.table.FileSystemExpansionProvider.getDecoration(FileSystemExpansionProvider.java:130)
at com.mathworks.mlwidgets.explorer.model.table.FileSystemExpansionProvider.getDecoration(FileSystemExpansionProvider.java:135)
at com.mathworks.mlwidgets.explorer.model.table.IconColumn$1.convert(IconColumn.java:37)
at com.mathworks.mlwidgets.explorer.model.table.IconColumn$1.convert(IconColumn.java:34)
at com.mathworks.widgets.grouptable.GroupingTableColumn.getValue(GroupingTableColumn.java:171)
at com.mathworks.widgets.grouptable.GroupingTableRow.getValueAt(GroupingTableRow.java:484)
at com.jidesoft.grid.TreeTableModel.getValueAt(Unknown Source)
at javax.swing.JTable.getValueAt(JTable.java:2717)
at com.jidesoft.grid.JideTable.getValueAt(Unknown Source)
at com.jidesoft.grid.CellSpanTable.getValueAt(Unknown Source)
at com.jidesoft.grid.JideTable.prepareRenderer(Unknown Source)
at com.jidesoft.grid.CellStyleTable.prepareRenderer(Unknown Source)
at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paintCell(GroupingTableUIDelegate.java:64)
at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paintSpanCells(GroupingTableUIDelegate.java:390)
at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paint(GroupingTableUIDelegate.java:153)
at com.jidesoft.plaf.basic.BasicCellSpanTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at com.jidesoft.grid.CellStyleTable.paintComponent(Unknown Source)
at com.mathworks.widgets.grouptable.GroupingTable.paintComponent(GroupingTable.java:313)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
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:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
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)
4 Comments
Astarag Chattopadhyay
on 28 May 2018
Hi,
You can try the following set of commands in your MATLAB Command window and observe if the issue get resolved:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
Andrej Ivanis
on 28 May 2018
Adaktk
on 2 Jun 2018
Hi Andrej, I have a very similar problem. Have you solved it yet?
Tarik Kazaz
on 17 Nov 2018
I am having same issue with 2018b. When I click on button to open exsisting file I get:
Exception in thread "AWT-EventQueue-0": java.util.MissingResourceException: Can't find bundle for base name mldatx:general, locale bs-latn_BA
Is there solution to this issue?
Kind Regards,
Tarik
Answers (3)
Andrej Ivanis
on 27 Nov 2018
1 vote
Andrej Ivanis
on 19 Nov 2018
0 votes
JIAQI QU
on 7 Oct 2019
0 votes
I have tried the method of changing the OS language, and it worked. There are no errors or warnings when I reopen MATLAB. Thanks a lot.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!