MATLAB ERROR I/O? IT IS A BUG?

Why matlab gives me these errors only occasionally and only after a few minutes of processing? I believe that 92160800 is a generated file while matlab writing xls file.
ERROR:
FileSystemView.getShellFolder: f=D:\problema\92160800
java.io.FileNotFoundException: File D:\problema\92160800 not found
at sun.awt.shell.Win32ShellFolderManager2.createShellFolder(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2.createShellFolder(Unknown Source)
at sun.awt.shell.ShellFolder.getShellFolder(Unknown Source)
at javax.swing.filechooser.FileSystemView.getShellFolder(Unknown Source)
at javax.swing.filechooser.FileSystemView.getSystemIcon(Unknown Source)
at com.mathworks.jmi.MLFileIconUtils.getNativeFileIcon(MLFileIconUtils.java:242)
at com.mathworks.jmi.MLFileIconUtils.getFileIcon(MLFileIconUtils.java:102)
at com.mathworks.mlwidgets.explorer.extensions.basic.DefaultFileInfoProvider$1.run(DefaultFileInfoProvider.java:64)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$DeferHandler.run(FileDecorationModel.java:390)
at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$2.get(FileDecorationModel.java:275)
at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils.getDecorationSynchronously(UiFileSystemUtils.java:125)
at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils.getDecorationSynchronously(UiFileSystemUtils.java:98)
at com.mathworks.mlwidgets.explorer.model.table.FileSystemExpansionProvider.getDecoration(FileSystemExpansionProvider.java:124)
at com.mathworks.mlwidgets.explorer.model.table.FileSystemExpansionProvider.getDecoration(FileSystemExpansionProvider.java:129)
at com.mathworks.mlwidgets.explorer.model.table.IconColumn$1.convert(IconColumn.java:38)
at com.mathworks.mlwidgets.explorer.model.table.IconColumn$1.convert(IconColumn.java:35)
at com.mathworks.widgets.grouptable.GroupingTableColumn.getValue(GroupingTableColumn.java:141)
at com.mathworks.widgets.grouptable.GroupingTableRow.getValueAt(GroupingTableRow.java:474)
at com.jidesoft.grid.TreeTableModel.getValueAt(Unknown Source)
at javax.swing.JTable.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:66)
at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paintSpanCells(GroupingTableUIDelegate.java:373)
at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paint(GroupingTableUIDelegate.java:141)
at com.jidesoft.plaf.basic.BasicCellSpanTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at com.jidesoft.grid.CellStyleTable.paintComponent(Unknown Source)
at com.mathworks.widgets.grouptable.GroupingTable.paintComponent(GroupingTable.java:267)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

1 个评论

I find "xlsread" as tag. Does the problem occur during you run xlsread? This would be important. But then you write "92160800 is a generated file while matlab writing xls" - so do you write an XLS-file? Why do you assume, that this file is generated, although the error message tells, that this file does not exist?
Please post the commands, which causes this error and tell us mot about the 92160800-file.

请先登录,再进行评论。

 采纳的回答

Image Analyst
Image Analyst 2013-5-15

0 个投票

Occasionally I get java errors like that. They've not been reproducible, and fortunately they're rare. (Sometimes it seems like they're more common if I'm sharing my desktop with someone over the LAN.) Restarting MATLAB seems to get rid of them.

更多回答(1 个)

Mario
Mario 2013-5-15

0 个投票

Each 100 writes to the same file .xls the program crashes. It is a very serious problem and annoying. Is there also a method that allows you to write data to a sqlite database?

2 个评论

I don't use databases with MATLAB. If you have code that will reliably/repeatably cause the java crashes, then send it to the Mathworks and have them research it.
Jan
Jan 2013-5-16
编辑:Jan 2013-5-16
If each 100 writing fails, what about writing 99 files only and hide the 100th writing in a TRY/CATCH?
Or open the Java.exe in a text editor and search for "100". Set it to "10000" and try it again, when this number is sufficient.
;-)
Sorry, I hate hate hate this instable Java stuff. How can I install a large project with several 100'000 lines of Matlab code, which is debugged exhaustively with a sophisticated quality control, unit-tests, automatic integration tests and all bells and whistles for a serious application like clinical decision making, when Matlab crashes due to forgotton syncs between java threads?! It is like driving an expensive and comfortable car, when one of the wheels is exploding every 100 km.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Environment and Settings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by