[kepler-dev] [Bug 5412] saving with an open plot window crashes

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu May 26 15:49:14 PDT 2011


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5412

--- Comment #2 from Daniel Crawl <crawl at sdsc.edu> 2011-05-26 15:49:14 PDT ---
I added throw new RuntimeException to Plot.java and saving to XML generates an
exception, but saving to KAR exits Kepler.

I updated Plot.java to r61046 to get your fix, and still get errors, but these
don't appear related to Plot. In both cases, Kepler does not exit.

Saving to XML:

java.lang.NullPointerException
    at org.kepler.gui.KeplerGraphFrame._saveAs(KeplerGraphFrame.java:1491)
    at ptolemy.actor.gui.TableauFrame._saveAs(TableauFrame.java:1071)
    at ptolemy.actor.gui.PtolemyFrame._saveAs(PtolemyFrame.java:360)
    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)

Saving to KAR:

      [run] java.lang.NullPointerException
      [run]     at
org.kepler.objectmanager.library.LibraryManager.deleteKAR(LibraryManager.java:543)
      [run]     at org.keINFO  (org.kepler.kar.KARBuilder:writeKARFile:581)
done writing KAR file to
/Users/crawl/KeplerData/workflows/MyWorkflows/Unnamed1.kar
      [run]
pler.gui.kar.ExportArchiveAction.actionPerformed(ExportArchiveAction.java:389)
      [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)

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list