Hi, Jon:

I just updated my system from the svn trunk and it is 29055. I did a saving and it worked perfectly.  My suite is reporting and os is Ubuntu.

Derik Barseghian, a developer at NCEAS, tried on both Ubuntu and Mac. They worked.

I looked at the code and the line 127 in KARBuilder.java is:

public void addSaveInitiator(NamedObj namedObj) {

It looks good to me.

I am not sure why it didn't work to you. What os do you use? How did you invoke the save? Did you made some local changes on your code (you may try the command svn status)?

Another suggestion is to switch to kepler suite to do a save. If this works, it means your local suite has some issue.

Thanks,

Jing



On 12/07/2011 10:43 AM, Jonathan Boright wrote:
Hello all, 

I have recently updated Kepler and now I'm unable to save my Kepler workflows...

The problem:
I can open Kepler just fine. here are the start-up messages:

[run] Set environment variable: R_HOME = C:\Program Files\R\R-2.10.1
[run] Checking for patches...
[run] Building Kars...
[run] Ran additional initialization for module core from class org.kepler.module.core.Initialize
[run] Ran additional initialization for module gui from class org.kepler.module.gui.Initialize
[run] Kepler Initializing...
[run] INFO  (org.kepler.objectmanager.library.LibraryManager:buildLibrary:338) Building Library...
[run] INFO  (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:246) Scanning Local Repositories for KAR files...
[run] INFO  (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:394) The Cache was out of sync with KAR files in Local Repositories.
[run] INFO  (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:396) The Cache has been syncronized with KAR files in Local Repositories.
[run] INFO  (org.kepler.objectmanager.library.LibIndex:rebuild:255) Building LibIndex...
[run] *** Attempting to get ResourceBundle for SVG defaults ***
[run] *** svgRenderingMethod = SVG_BATIK_RENDERING ***, but when I try to save a workflow, this is what I get:

But as soon as I try to save a workflow (makes no difference where), I get the following errors:
      [run] Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.kepler.kar.KARBuilder.addSaveInitiator(Lptolemy/kernel/ComponentEntity;)V
      [run]     at org.kepler.kar.SaveKAR.saveToDisk(SaveKAR.java:147)
      [run]     at org.kepler.gui.kar.ExportArchiveAction.actionPerformed(ExportArchiveAction.java:371)
      [run]     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      [run]     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      [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:357)
      [run]     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
      [run]     at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
      [run]     at java.awt.Component.processMouseEvent(Component.java:6267)
      [run]     at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      [run]     at java.awt.Component.processEvent(Component.java:6032)
      [run]     at java.awt.Container.processEvent(Container.java:2041)
      [run]     at java.awt.Component.dispatchEventImpl(Component.java:4630)
      [run]     at java.awt.Container.dispatchEventImpl(Container.java:2099)
      [run]     at java.awt.Component.dispatchEvent(Component.java:4460)
      [run]     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      [run]     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      [run]     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      [run]     at java.awt.Container.dispatchEventImpl(Container.java:2085)
      [run]     at java.awt.Window.dispatchEventImpl(Window.java:2478)
      [run]     at java.awt.Component.dispatchEvent(Component.java:4460)
      [run]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      [run]     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      [run]     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      [run]     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      [run]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      [run]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      [run]     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Steps I've taken:
-  cleared my cache (ant clean-cache)
-  cleared and re-built my Build-area, (rm -rf *)
-  checked out a new version of the code from the trunk (svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area .) (currently revision 29055)
-  changed my Dsuite (ant change-to -Dsuite=isciences) (we have locally stored modules... this has never posed any trouble in the past...)
-  updated (ant update) (I've also tried 'svn cleanup' and 'svn update'... just for good measure...)

Any idea why I'm having trouble all of a sudden? Anybody else experiencing similar troubles?

Any thoughts would help. 

Thanks in advance 

Jon Boright

_______________________________________________ Kepler-users mailing list Kepler-users@kepler-project.org http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users


_______________________________________________
Kepler-users mailing list
Kepler-users@kepler-project.org
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to