[kepler-dev] [Bug 5511] New: If Kepler-2.2 is running, then opening a .kar in Kepler trunk produces exceptions

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Oct 17 11:01:42 PDT 2011


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

           Summary: If Kepler-2.2 is running, then opening a .kar in
                    Kepler trunk produces exceptions
           Product: Kepler
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: module manager
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


Start up Kepler-2.2.  I had created a Kepler-2.2 kar by doing:

1. I removed my ~/.kepler and ~/KeplerData directories.
2. When I started up Kepler-2.2, I was prompted to upgrade some modules.  The
Module Manager does not allow copy and paste, but IIRC, they were some 2.2.1
modules.

3. I opened up a Ptolemy model and saved it as a .kar:
   a. Help -> Kepler Documentation -> "background information on Ptolemy" ->
Quick Tour
   b. I then clicked on any model, in this case "Noise".
   c. File -> Save As -> Save as Noise.kar


Then, while Kepler-2.2 is still running.  Start up Kepler trunk and
open the Noise.kar file.

The following appears on stdout?  I don't think this is mission critical, but
it does not lend confidence that running Kepler-2.2 and Kepler trunk at the
same time will work.


org.kepler.objectmanager.cache.CacheException: Exception occurred while
deserializing object
      [run]     at
org.kepler.objectmanager.cache.CacheManager.getObject(CacheManager.java:535)
      [run]     at
org.kepler.kar.handlers.ActorMetadataKAREntryHandler.open(ActorMetadataKAREntryHandler.java:242)
      [run]     at org.kepler.kar.KARFile.open(KARFile.java:974)
      [run]     at org.kepler.kar.KARFile.openKARContents(KARFile.java:742)
      [run]     at
org.kepler.gui.kar.OpenArchiveAction.openKAR(OpenArchiveAction.java:230)
      [run]     at
org.kepler.gui.kar.OpenArchiveAction.actionPerformed(OpenArchiveAction.java:196)
      [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:682)
      [run]     at java.awt.EventQueue.access$000(EventQueue.java:85)
      [run]     at java.awt.EventQueue$1.run(EventQueue.java:638)
      [run]     at java.awt.EventQueue$1.run(EventQueue.java:636)
      [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:652)
      [run]     at java.awt.EventQueue$2.run(EventQueue.java:650)
      [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:649)
      [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)
      [run] Caused by: java.io.FileNotFoundException:
/Users/cxh/.kepler/cache-2.1/objects/urn.lsid.kepler-project.org.ns..8281.2.1
(No such file or directory)
      [run]     at java.io.FileInputStream.open(Native Method)
      [run]     at java.io.FileInputStream.<init>(FileInputStream.java:120)
      [run]     at
org.kepler.objectmanager.cache.CacheManager.getObject(CacheManager.java:520)
      [run]     ... 33 more

-- 
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