java.util.​MissingRes​ourceExcep​tion when trying to open any folder

조회 수: 6 (최근 30일)
Andrej Ivanis
Andrej Ivanis 2018년 5월 16일
답변: JIAQI QU 2019년 10월 7일
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
Adaktk
Adaktk 2018년 6월 2일
Hi Andrej, I have a very similar problem. Have you solved it yet?
Tarik Kazaz
Tarik Kazaz 2018년 11월 17일
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

댓글을 달려면 로그인하십시오.

답변 (3개)

Andrej Ivanis
Andrej Ivanis 2018년 11월 27일
Hi all,
I don't use Mac version any more but you can try this solution. This is the reply I got from customer support:
I am working on this issue and have an understanding that you are facing this issue on “Mac” OS where the language configured seems to be “Serbian-latin_BA”. I am not sure if you are using MATLAB version -“R2018a” or some other version. Please let me know if you are using any other previous version and facing this issue.
It probably seems to be a bug in MATLAB R2018a for the support of language “Serbian-latin_BA” on Mac. For us to investigate the root cause of this issue, we would like to get the output of the below command:
>> feature(‘locale’)
MATLAB on startup searches the user locale and there seems to be an issue with support of “Serbian-latin_BA” language. As a workaround I suggest you change the OS language before start of MATLAB and revert the changes after MATLAB starts. Since MATLAB doesn’t recheck for language changes after it has been started. The steps are:
1 Change the language of OS to English (any variant) using language selection panel.
2 Restart the MATLAB
3 Revert the language of OS to “Serbian-latin_BA”
Please try these steps and let me know, if it helps you resolve the issue or not.
We regret the inconvenience caused.

Andrej Ivanis
Andrej Ivanis 2018년 11월 19일
No, I never found a solution. If you close the panel with folder hierarchy you can kind of use matlab. Navigate with cd commnd.

JIAQI QU
JIAQI QU 2019년 10월 7일
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by