[kepler-users] installing Kepler 2.1 with eclipse

Derik Barseghian barseghian at nceas.ucsb.edu
Fri Jun 17 11:55:56 PDT 2011


Hi Ufuk,

FYI, we released Kepler 2.2 two days ago, so if you're trying to build kepler from trunk using eclipse, it's not 2.1, but rather post-2.2, or simply "kepler trunk". 

tools.jar doesn't exist on OS X, those classes are included in classes.jar, so that shouldn't be your problem (those of you on other OSes will need to add tools.jar to your path, please see the build instructions page).

I'm not sure what's causing your error, I can currently build from trunk with eclipse. Sometimes on trunk we make changes that require you delete your configuration files (we avoid doing this for releases). You might try deleting all xml files found in ~/KeplerData/modules/ (they store settings and are regenerated on restart) and your ~/.kepler cache directory. If you don't have any workflows, provenance history, etc. that you care about, you might also try moving your entire ~/KeplerData somewhere else and letting this directory be regenerated. Then attempt to restart.

Derik

On Jun 17, 2011, at 2:24 AM, Ufuk Utku Turuncoglu (BE) wrote:

> Hi,
> 
> I try to install the latest version of Kepler into my machine (Mac OS 10.6.7) using eclipse but when i try to run it, it gives the following error messages and i could not see the actors in the left panel. I think that it could be related with tools.jar but i could  not find it in the Mac OS java installation path. Do you have any suggestion?
> 
> Best regards
> 
> Ufuk Turuncoglu
> 
> ------
> log4j:WARN No appenders could be found for logger (org.apache.commons.configuration.ConfigurationUtils).
> log4j:WARN Please initialize the log4j system properly.
> Checking for patches...
> Found OS Extension file: /Volumes/dali/ActiveWorks/works/kepler.earth/workspace/kepler/apple-extensions/module-info/osextension.txt
> java.lang.ClassNotFoundException: org.kepler.osx.KeplerApplicationListener
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>    at java.lang.Class.forName0(Native Method)
>    at java.lang.Class.forName(Class.java:169)
>    at org.kepler.Kepler.main(Kepler.java:192)
> Ran additional initialization for module core from class org.kepler.module.core.Initialize
> Ran additional initialization for module gui from class org.kepler.module.gui.Initialize
> Kepler Initializing...
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) entered
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) exited
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: setDatabasePath(0,/Users/turuncu/.kepler/cache-2.1/cachedata/hsqldb)
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) entered
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) exited
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: setDatabaseName(0,hsqldb)
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) entered
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) exited
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: setPort(9001)
> [Server at 6487cd5c]: [Thread[AWT-EventQueue-0,6,main]]: setSilent(true)
> [Server at 6487cd5c]: Initiating startup sequence...
> [Server at 6487cd5c]: Server socket opened successfully in 2 ms.
> [Server at 6487cd5c]: Database [index=0, id=0, db=file:/Users/turuncu/.kepler/cache-2.1/cachedata/hsqldb, alias=hsqldb] opened sucessfully in 94 ms.
> [Server at 6487cd5c]: Startup sequence completed in 96 ms.
> [Server at 6487cd5c]: 2011-06-17 11:11:10.560 HSQLDB server 1.8.0 is online
> [Server at 6487cd5c]: To close normally, connect and execute SHUTDOWN SQL
> [Server at 6487cd5c]: From command line, use [Ctrl]+[C] to abort abruptly
> java.lang.NullPointerException
>    at org.kepler.sms.util.OntologyConfiguration.initializePaths(OntologyConfiguration.java:110)
>    at org.kepler.sms.util.OntologyConfiguration.initialize(OntologyConfiguration.java:88)
>    at org.kepler.sms.OntologyCatalog.initialize(OntologyCatalog.java:462)
>    at org.kepler.sms.OntologyCatalog.initialize(OntologyCatalog.java:451)
>    at org.kepler.sms.OntologyCatalog.<init>(OntologyCatalog.java:102)
>    at org.kepler.sms.OntologyCatalog.instance(OntologyCatalog.java:120)
>    at org.kepler.objectmanager.library.LibIndex.assureOntologyComponent(LibIndex.java:675)
>    at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:267)
>    at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:353)
>    at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
>    at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
>    at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
>    at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
>    at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
>    at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1257)
>    at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
>    at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:228)
>    at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>    at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
>    at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
>    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
>    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.awt.EventQueue.dispatchEvent(EventQueue.java:648)
>    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)
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) entered
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) exited
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: setDatabasePath(0,/Users/turuncu/KeplerData/modules/core/coreDB)
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) entered
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) exited
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: setDatabaseName(0,coreDB)
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) entered
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(false) exited
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: setPort(9003)
> [Server at 173a0067]: [Thread[AWT-EventQueue-0,6,main]]: setSilent(true)
> [Server at 173a0067]: Initiating startup sequence...
> [Server at 173a0067]: Server socket opened successfully in 0 ms.
> [Server at 173a0067]: Database [index=0, id=1, db=file:/Users/turuncu/KeplerData/modules/core/coreDB, alias=coredb] opened sucessfully in 258 ms.
> [Server at 173a0067]: Startup sequence completed in 258 ms.
> [Server at 173a0067]: 2011-06-17 11:11:14.146 HSQLDB server 1.8.0 is online
> [Server at 173a0067]: To close normally, connect and execute SHUTDOWN SQL
> [Server at 173a0067]: From command line, use [Ctrl]+[C] to abort abruptly
> java.lang.NullPointerException
>    at org.kepler.gui.FilteredVisibleTreeModel.addTreeModelListener(FilteredVisibleTreeModel.java:174)
>    at javax.swing.JTree.setModel(JTree.java:855)
>    at javax.swing.JTree.<init>(JTree.java:650)
>    at ptolemy.vergil.tree.PTree.<init>(PTree.java:72)
>    at org.kepler.gui.AnnotatedPTree.<init>(AnnotatedPTree.java:89)
>    at org.kepler.gui.ComponentLibraryTab.initLibraryTree(ComponentLibraryTab.java:239)
>    at org.kepler.gui.ComponentLibraryTab.initializeTab(ComponentLibraryTab.java:207)
>    at org.kepler.gui.TabPaneFactory.createTabPaneTabs(TabPaneFactory.java:110)
>    at org.kepler.gui.TabManager.initializeTabs(TabManager.java:87)
>    at org.kepler.gui.KeplerGraphFrame._initBasicGraphFrame(KeplerGraphFrame.java:372)
>    at ptolemy.vergil.basic.BasicGraphFrame.<init>(BasicGraphFrame.java:223)
>    at ptolemy.vergil.basic.ExtendedGraphFrame.<init>(ExtendedGraphFrame.java:95)
>    at ptolemy.vergil.actor.ActorGraphFrame.<init>(ActorGraphFrame.java:125)
>    at org.kepler.gui.KeplerGraphFrame.<init>(KeplerGraphFrame.java:184)
>    at org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:365)
>    at org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:428)
>    at ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
>    at ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
>    at ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:584)
>    at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:401)
>    at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1257)
>    at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
>    at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:228)
>    at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>    at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
>    at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
>    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
>    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.awt.EventQueue.dispatchEvent(EventQueue.java:648)
>    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)
> Could not create tab pane.: null
> java.lang.NullPointerException
>    at org.kepler.gui.FilteredVisibleTreeModel.addTreeModelListener(FilteredVisibleTreeModel.java:174)
>    at javax.swing.JTree.setModel(JTree.java:855)
>    at javax.swing.JTree.<init>(JTree.java:650)
>    at ptolemy.vergil.tree.PTree.<init>(PTree.java:72)
>    at org.kepler.gui.AnnotatedPTree.<init>(AnnotatedPTree.java:89)
>    at org.kepler.gui.ComponentLibraryTab.initLibraryTree(ComponentLibraryTab.java:239)
>    at org.kepler.gui.ComponentLibraryTab.initializeTab(ComponentLibraryTab.java:207)
>    at org.kepler.gui.TabPaneFactory.createTabPaneTabs(TabPaneFactory.java:110)
>    at org.kepler.gui.TabManager.initializeTabs(TabManager.java:87)
>    at org.kepler.gui.KeplerGraphFrame._initBasicGraphFrame(KeplerGraphFrame.java:372)
>    at ptolemy.vergil.basic.BasicGraphFrame.<init>(BasicGraphFrame.java:223)
>    at ptolemy.vergil.basic.ExtendedGraphFrame.<init>(ExtendedGraphFrame.java:95)
>    at ptolemy.vergil.actor.ActorGraphFrame.<init>(ActorGraphFrame.java:125)
>    at org.kepler.gui.KeplerGraphFrame.<init>(KeplerGraphFrame.java:184)
>    at org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:365)
>    at org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:428)
>    at ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
>    at ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
>    at ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:584)
>    at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:401)
>    at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1257)
>    at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
>    at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:228)
>    at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
>    at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
>    at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
>    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:678)
>    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.awt.EventQueue.dispatchEvent(EventQueue.java:648)
>    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)
> error: TabPane is null.  This problem can be fixed by adding a tabPaneFactory property in the configuration.xml file.
> ERROR: no tab named Components in the view Workflow. (Perhaps the tab's getTabName() does not match the name given in configuration.xml?)
> ERROR: no tab named Data in the view Workflow. (Perhaps the tab's getTabName() does not match the name given in configuration.xml?)
> ERROR: no tab named Outline in the view Workflow. (Perhaps the tab's getTabName() does not match the name given in configuration.xml?)
> -----
> 
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users




More information about the Kepler-users mailing list