matlab 2015b java kazası


1

Matlab 2015b'de Yosemite'deki Matlab 2015b'de bir şey yaptığımda Java çökmesine maruz kalıyorum: Matlab'ı açmak gibi.

Daha önceki Matlab sürümleri için verilen yamalar vardı, ancak 2015 için hiçbir şey yoktu.

Lütfen bunun nasıl düzeltileceğini açıklayın?

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: java.io.FileNotFoundException: /Users/johnknowles/Documents/MATLAB/OccfertSept2015.dtd (No such file or directory)
    at com.mathworks.project.impl.plugin.XmlReaderImpl.parseInput(XmlReaderImpl.java:138)
    at com.mathworks.project.impl.plugin.XmlReaderImpl.<init>(XmlReaderImpl.java:73)
    at com.mathworks.project.impl.plugin.PluginManager$2.read(PluginManager.java:161)
    at com.mathworks.project.impl.model.ProjectManager.getStandardProjectXml(ProjectManager.java:733)
    at com.mathworks.project.impl.model.ProjectManager$3.run(ProjectManager.java:580)
    at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$DeferHandler.run(FileDecorationModel.java:386)
    at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$2.get(FileDecorationModel.java:275)
    at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$1$2.run(FileDecorationModel.java:182)
    at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$DeferHandler.run(FileDecorationModel.java:386)
    at com.mathworks.mlwidgets.explorer.model.FileDecorationModel$2.get(FileDecorationModel.java:275)
    at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils.getDecorationSynchronously(UiFileSystemUtils.java:124)
    at com.mathworks.mlwidgets.explorer.util.UiFileSystemUtils.getDecorationSynchronously(UiFileSystemUtils.java:97)
    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:149)
    at com.mathworks.widgets.grouptable.GroupingTableRow.getValueAt(GroupingTableRow.java:471)
    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:65)
    at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paintSpanCells(GroupingTableUIDelegate.java:372)
    at com.mathworks.widgets.grouptable.GroupingTableUIDelegate.paint(GroupingTableUIDelegate.java:140)
    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:779)
    at com.jidesoft.grid.CellStyleTable.paintComponent(Unknown Source)
    at com.mathworks.widgets.grouptable.GroupingTable.paintComponent(GroupingTable.java:277)
    at javax.swing.JComponent.paint(JComponent.java:1055)
    at javax.swing.JComponent.paintChildren(JComponent.java:888)
    at javax.swing.JComponent.paint(JComponent.java:1064)
    at javax.swing.JViewport.paint(JViewport.java:731)
    at javax.swing.JComponent.paintChildren(JComponent.java:888)
    at javax.swing.JComponent.paint(JComponent.java:1064)
    at javax.swing.JComponent.paintChildren(JComponent.java:888)
    at javax.swing.JComponent.paint(JComponent.java:1064)
    at javax.swing.JComponent.paintChildren(JComponent.java:888)
    at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1047)
    at javax.swing.JComponent.paint(JComponent.java:1064)
    at javax.swing.JComponent.paintChildren(JComponent.java:888)
    at javax.swing.JComponent.paint(JComponent.java:1064)
    at com.mathworks.mde.explorer.Explorer.paint(Explorer.java:1077)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5232)
    at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529)
    at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
    at javax.swing.JComponent._paintImmediately(JComponent.java:5180)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4991)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:808)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
    at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
    at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
    at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:738)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:699)
    at java.awt.EventQueue$3.run(EventQueue.java:697)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:708)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.io.FileNotFoundException: /Users/johnknowles/Documents/MATLAB/OccfertSept2015.dtd (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at java.io.FileInputStream.<init>(FileInputStream.java:101)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
    at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at com.mathworks.project.impl.plugin.XmlReaderImpl.parseInput(XmlReaderImpl.java:125)
    ... 74 more

Cevap, uygulamanın ilk satırındadır. Bu dosyayı kaçırıyorsunuz /Users/johnknowles/Documents/MATLAB/OccfertSept2015.dtd(Böyle bir dosya veya dizin yok) `
DavidPostill

Sağol David. Matlab'ın önceki sürümlerinde böyle bir dosya olmadığını eklemeliydim (2013, 2014), bu yüzden yeni Matlab'da (2015b) varsayılan olarak neyin eksik olduğunu bulmam gerekiyor. Matlab ile birlikte gelen Java sürümü ve işletim sistemi sürümü arasında bir çeşit uyumsuzluk olduğundan şüpheleniyorum, ancak bu benim anlayışımı genişletiyor; Uzman tavsiyesi olmadan daha ileri gidemeyeceğimi hissediyorum.
user3053066 19:15

Maalesef, Matlab veya OSX kullanmıyorum, bu yüzden daha fazla yardım
edemem

MATLAB'ı kurduğun yer burası mı? Sanırım bir yerlere sıkışmış. Bu isimde boş bir dosya oluşturmayı deneyin ve ne olduğunu görün.
16'da
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.