Project

General

Profile

Actions

Bug #5412

closed

saving with an open plot window crashes

Added by Daniel Crawl over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
05/26/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5412

Description

If there is a plot window open, the following error occurs when saving and crashes Kepler. It also partially writes out the model file, leaving it corrupt.

[run] java.lang.RuntimeException: Internal Error.  Mark style 0 not supported.
[run] at ptolemy.plot.Plot.writeFormat(Plot.java:1071)
[run] at ptolemy.actor.lib.gui.PlotterBase._exportMoMLContents(PlotterBase.java:509)
[run] at ptolemy.kernel.util.NamedObj.exportMoML(NamedObj.java:933)
[run] at ptolemy.kernel.InstantiableNamedObj.exportMoML(InstantiableNamedObj.java:218)
[run] at ptolemy.kernel.util.NamedObj.exportMoML(NamedObj.java:839)
[run] at ptolemy.kernel.util.NamedObj.exportMoML(NamedObj.java:767)
[run] at org.kepler.objectmanager.ActorMetadata.toString(ActorMetadata.java:1106)
[run] at org.kepler.kar.KARBuilder.handleInitiatorList(KARBuilder.java:202)
[run] at org.kepler.kar.KARBuilder.generateKAR(KARBuilder.java:313)
[run] at org.kepler.kar.SaveKAR.saveToDisk(SaveKAR.java:154)
[run] at org.kepler.gui.kar.ExportArchiveAction.actionPerformed(ExportArchiveAction.java:403)
[run] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
[run] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
[run] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
[run] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
[run] at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
[run] at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
[run] at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
[run] at java.awt.MenuItem.processEvent(MenuItem.java:586)
[run] at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337)
[run] at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325)
[run] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:683)
[run] at java.awt.EventQueue.access$000(EventQueue.java:86)
[run] at java.awt.EventQueue$1.run(EventQueue.java:639)
[run] at java.awt.EventQueue$1.run(EventQueue.java:637)
[run] at java.security.AccessController.doPrivileged(Native Method)
[run] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
[run] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
[run] at java.awt.EventQueue$2.run(EventQueue.java:653)
[run] at java.awt.EventQueue$2.run(EventQueue.java:651)
[run] at java.security.AccessController.doPrivileged(Native Method)
[run] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:650)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Actions

Also available in: Atom PDF