Bug #5411
closedfile->save to xml does not work
0%
Description
An error occurs when saving to xml:
java.io.FileNotFoundException: /Users/crawl/KeplerData/Users/crawl/KeplerData/Unnamed1.xml (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at java.io.FileWriter.<init>(FileWriter.java:73)
at ptolemy.actor.gui.PtolemyEffigy.writeFile(PtolemyEffigy.java:208)
at ptolemy.actor.gui.PtolemyFrame._writeFile(PtolemyFrame.java:463)
at ptolemy.vergil.basic.BasicGraphFrame._writeFile(BasicGraphFrame.java:2583)
at ptolemy.actor.gui.TableauFrame._saveAsHelperFileDialog(TableauFrame.java:1259)
at ptolemy.actor.gui.TableauFrame._saveAsHelper(TableauFrame.java:1109)
at org.kepler.gui.KeplerGraphFrame._saveAs(KeplerGraphFrame.java:1462)
at ptolemy.actor.gui.PtolemyFrame._saveAs(PtolemyFrame.java:368)
at ptolemy.actor.gui.TableauFrame._save(TableauFrame.java:1051)
at ptolemy.gui.Top$FileMenuListener.actionPerformed(Top.java:1208)
at org.kepler.gui.MenuMapper$1.actionPerformed(MenuMapper.java:386)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
at java.awt.MenuItem.processEvent(MenuItem.java:586)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:683)
at java.awt.EventQueue.access$000(EventQueue.java:86)
at java.awt.EventQueue$1.run(EventQueue.java:639)
at java.awt.EventQueue$1.run(EventQueue.java:637)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:653)
at java.awt.EventQueue$2.run(EventQueue.java:651)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Updated by Daniel Crawl over 13 years ago
This no longer occurs. I fix a bug in KeplerGraphFrame in r27705 and I believe Ptolemy r61130 helped too.