adding provenance source code into eclipse
Hi
I can import source code of kepler into eclipse, but as long as i add provenance , or other component to kepler adding their source code into eclipse cause lot's of errors. some of these errors are related to versioning.( i mean 2 version of same component are exist in source code like actor and actor-2.1.0)
i try both version of kelper ( ant change-to -Dsuite=kepler-2.1 and ant change-to -Dsuite=kepler). after adding provenance component , i import them to eclipse but they can not run.
i follow manual to import source code ( there is not any problem without adding additional components to source code.)
i will appreciate if help me to import provenance source code into eclipse.
Cheers
HI Daniel
1-the main problem is that after running the kepler from eclipse with lot's of error which you can see below.when i want to use provenance recorder, after drag and drop the icon, exception error come into the screen :"Change failed can not create entity without a class name. in[external stream] at line 2 and column 29".
2-as long as i add provenance , or other component to kepler adding their source code into eclipse, 2 version of same component appear into eclipse in source code like "actor" and "actor-2.1.0". So after compiling or running a red cross appears next to "actor-2.1.0" and other added components
this is the console log and errors :
----
Checking for patches...
Building Kars...
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
Failed to find splash screen image.Ignoring, use the Java coffee cup
java.lang.NullPointerException
at org.kepler.gui.SplashWindow.<init>(SplashWindow.java:158)
at org.kepler.gui.SplashWindow.splash(SplashWindow.java:240)
at org.kepler.gui.SplashWindow.splash(SplashWindow.java:285)
at org.kepler.gui.SplashWindow.splash(SplashWindow.java:275)
at org.kepler.gui.KeplerApplication.main(KeplerApplication.java:90)
at org.kepler.Kepler.parseArgsAndRun(Kepler.java:351)
at org.kepler.Kepler.main(Kepler.java:260)
Kepler Initializing...
INFO (org.kepler.objectmanager.library.LibraryManager:buildLibrary:338) Building Library...
java.sql.SQLException: Column count does not match in statement [insert into KARS_CACHED (file, lsid, version, reponame, lastmodified) values ( ?, ?, ?, ?, ? )]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at org.kepler.kar.KARCacheManager.<init>(KARCacheManager.java:91)
at org.kepler.kar.KARCacheManager$KARCacheManagerHolder.<clinit>(KARCacheManager.java:691)
at org.kepler.kar.KARCacheManager.getInstance(KARCacheManager.java:687)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:342)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
INFO (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:246) Scanning Local Repositories for KAR files...
Error checking if /Users/medisarikhani/KeplerData/modules/actors/kar/CoreActors.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/modules/dataturbine/kar/DataTurbine.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/modules/directors/kar/CoreDirectors.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/workflows/MyWorkflows/helloworld-1.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/workflows/MyWorkflows/ProvenanceRecorder_Example_1-run10.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/workflows/MyWorkflows/ProvenanceRecorder_Example_1-run14.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/modules/opendap/kar/OpendapDataSource.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/modules/provenance/kar/ProvenanceRecorder.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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 checking if /Users/medisarikhani/KeplerData/modules/r/kar/RExpression.kar is in cache.
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.getLastModifiedTimeOfFileInCache(KARCacheManager.java:664)
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:336)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
java.lang.NullPointerException
at org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KARCacheManager.java:374)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:345)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:395) The Cache was out of sync with KAR files in Local Repositories.
INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:397) The Cache has been syncronized with KAR files in Local Repositories.
INFO (org.kepler.objectmanager.library.LibIndex:rebuild:255) Building LibIndex...
java.lang.ClassNotFoundException: org.kepler.objectmanager.cache.WorkflowRunCacheObject
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.kepler.kar.KARFile.isSubclass(KARFile.java:486)
at org.kepler.objectmanager.library.LibIndex.determineLibIndexType(LibIndex.java:634)
at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:548)
at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:363)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
java.lang.ClassNotFoundException: org.kepler.util.WorkflowRun
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.kepler.kar.KARFile.isSubclass(KARFile.java:486)
at org.kepler.objectmanager.library.LibIndex.determineLibIndexType(LibIndex.java:650)
at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:548)
at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:363)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
java.lang.ClassNotFoundException: org.kepler.objectmanager.cache.WorkflowRunCacheObject
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.kepler.kar.KARFile.isSubclass(KARFile.java:486)
at org.kepler.objectmanager.library.LibIndex.determineLibIndexType(LibIndex.java:634)
at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:548)
at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:363)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
java.lang.ClassNotFoundException: org.kepler.util.WorkflowRun
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.kepler.kar.KARFile.isSubclass(KARFile.java:486)
at org.kepler.objectmanager.library.LibIndex.determineLibIndexType(LibIndex.java:650)
at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:548)
at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:363)
at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:222)
at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:350)
at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:367)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1273)
at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:497)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:244)
at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:111)
at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
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)
The exception error"Change failed can not create entity without a class name. in[external stream] at line 2 and column 29" will be appear after drag and drop every component into kepler.
Hi Mehdi,
Is there a reason you want both Kepler and Kepler 2.1 in the same Eclipse workspace? I'd recommend having different workspaces for different Kepler versions.
Also, if you quit Kepler and remove ~/.kepler/, this might fix some of the runtime errors you see.
Hi Daniel
To come up with versioning problem, i installed version 2.3.0. but i can't run it in eclipse. It doesn't recognize main class.( i entered "org.kepler.Kepler" as main class base on manual) . More over there are 101 error.
i attached error page picture.
Cheers,
Hi Mehdi,
How did you install Kepler 2.3.0 into Eclipse?
Here's how I would do it:
1. check out the 2.3 sources:
mkdir kepler.modules-2.3
cd kepler.modules-2.3
svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area
cd build-area
ant change-to -Dsuite=reporting-2.3
2. generate Eclipse projects:
cd build-area
ant eclipse
3. open Eclipse, and in a new, empty workspace import all the projects in kepler.modules-2.3
The full instructions for importing Kepler sources into Eclipse can be found here:
Hi Daniel
Thank you very much. i really appreciate your nice consideration to my case.
i hope one day i can help others like you.
i follow your manual and i can run provenance by ant with all component that i need like provenance and workflow run manager, while i have problems when iimport source code into eclipse. to be more specific, i import source code into eclipse and i can run keper gui from eclipse, but there is two problems:
1- the "ptolemy-kepler-2.3" has 14 error, when i want to write my actor source code and use ptolemy class (like , import ptolemy.kernel.CompositeEntity;) into my source code i face with lot's of error.
2-When i run kepler from eclipse, in orde to use "provenance" and "work-run-manager" component i should add them into kepler gui every time from "tools/Module manager/available suites and module/available suites".So for next run i should add it again.More over, when ever i add these component into gui the same source code of kepler is added to kepler source code directory (i mean actor-2.3.0 was added to actor-2.3)
Cheers,
Mehdi
Hi Mehdi,
I can duplicate the first problem: 14 errors relating to ExportPDFAction.java. I'll get this fixed for ptolemy-kepler-2.3, but in the meantime, you can delete the file (ptolemy-kepler-2.3/src/ptolemy/vergil/basic/itextpdf/ExportPDFAction.java), then refresh ptolemy-kepler-2.3, and it should compile without errors.
I'm not sure what is happening in your second problem. When you run "ant change-to reporting-2.3", modules.txt is updated so that provenance and workflow-run-manager are active when you run Kepler. When the provenance module is active, you should see a button on the toolbar with the letter "P".
Hi Mehdi,
In my instructions for checking out Kepler 2.3, I gave you the wrong URL for build-area. The following gets the correct version:
cd kepler.modules-2.3
mv build-area build-area-trunk
svn co http://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.3/ build-area
cd build-area
ant change-to -Dsuite=reporting-2.3
ant update
ant eclipse
This should fix the errors in ptolemy-kepler-2.3. You'll need to re-import the _kepler.build project to Eclipse.