[kepler-users] actor library

Chad Berkley berkley at nceas.ucsb.edu
Tue Nov 17 09:37:08 PST 2009


I get similar behavior, but I don't get an exception.  I just get this 
message on the console:

[run] INFO 
(org.kepler.objectmanager.library.LibraryManager:buildLibrary:616) 
Building Library...
       [run] INFO 
(org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:245) 
Scanning Local Repositories for KAR files...
       [run] INFO 
(org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:299) 
The Cache is in sync with KAR files in Local Repositories.
       [run] INFO 
(org.kepler.objectmanager.library.SemanticTypeIndex:build:114) Found 0 
Actors using 0 Semantic Types.
       [run] INFO 
(org.kepler.objectmanager.library.LibraryIndex:build:131) Building 
Library Index...
       [run] INFO 
(org.kepler.objectmanager.library.LibraryManager:generateActorLibrary:889) 
Generating Actor Library...

I'm running WRP, I'll try it on the kepler suite as well.

chad

Chris Weed wrote:
> Hi,
> I have Kepler Dev from SVN building from Eclipse, and after running 'ant 
> clean-cache' I see all of the actors.
> THen, when I close Kepler and build/run it again, the actors are all 
> gone and I get this error:
> 
> /home/cweed/code/kepler-build
> Found OS Extension file: 
> /home/cweed/code/kepler-build/apple-extensions/module-info/osextension.txt
> Building Kars...
> Ran additional initialization for module util from class 
> org.kepler.module.util.Initialize
> Kepler Initializing...
> INFO  (org.kepler.gui.KeplerInitializer:initializeSystem:160) Making 
> directory /home/cweed/.kepler/cache/
> INFO  (org.kepler.gui.KeplerInitializer:initializeSystem:160) Making 
> directory /home/cweed/.kepler/cache/cachedata/
> INFO  (org.kepler.gui.KeplerInitializer:initializeSystem:160) Making 
> directory /home/cweed/.kepler/cache/objects/
> INFO  (org.kepler.gui.KeplerInitializer:initializeSystem:160) Making 
> directory /home/cweed/.kepler/cache/RawData/
> INFO  (org.kepler.objectmanager.library.LibraryManager:buildLibrary:616) 
> Building Library...
> INFO 
>  (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:245) 
> Scanning Local Repositories for KAR files...
> INFO 
>  (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:299) 
> The Cache is in sync with KAR files in Local Repositories.
> INFO  (org.kepler.objectmanager.library.SemanticTypeIndex:build:114) 
> Found 0 Actors using 0 Semantic Types.
> java.lang.NullPointerException
> INFO  (org.kepler.objectmanager.library.LibraryIndex:build:131) Building 
> Library Index...
> at 
> org.kepler.objectmanager.cache.CacheManager.deserializeCacheObject(CacheManager.java:734)
> at 
> org.kepler.objectmanager.cache.CacheManager.getCacheObjectIterator(CacheManager.java:775)
> at 
> org.kepler.objectmanager.cache.CacheManager.getHighestRevisionCacheObjectIterator(CacheManager.java:678)
> at 
> org.kepler.objectmanager.library.SemanticTypeIndex.build(SemanticTypeIndex.java:94)
> at org.kepler.objectmanager.library.LibraryIndex.init(LibraryIndex.java:107)
> at 
> org.kepler.objectmanager.library.LibraryIndex.<init>(LibraryIndex.java:97)
> at 
> org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:654)
> at 
> org.kepler.objectmanager.library.LibraryManager.initialize(LibraryManager.java:1036)
> at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:75)
> 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:322)
> at 
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:339)
> at 
> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1116)
> at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:469)
> at 
> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
> at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
> at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:104)
> at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:211)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
> at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
> at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> org.kepler.objectmanager.cache.CacheException: Error creating 
> CacheObjectInterface iterator. Try removing the ~/.kepler directory?: null
> at 
> org.kepler.objectmanager.cache.CacheManager.getCacheObjectIterator(CacheManager.java:783)
> at 
> org.kepler.objectmanager.cache.CacheManager.getHighestRevisionCacheObjectIterator(CacheManager.java:678)
> at 
> org.kepler.objectmanager.library.SemanticTypeIndex.build(SemanticTypeIndex.java:94)
> at org.kepler.objectmanager.library.LibraryIndex.init(LibraryIndex.java:107)
> at 
> org.kepler.objectmanager.library.LibraryIndex.<init>(LibraryIndex.java:97)
> at 
> org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:654)
> at 
> org.kepler.objectmanager.library.LibraryManager.initialize(LibraryManager.java:1036)
> at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:75)
> 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:322)
> at 
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:339)
> at 
> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1116)
> at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:469)
> at 
> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
> at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
> at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:104)
> at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:211)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
> at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
> at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> INFO 
>  (org.kepler.objectmanager.library.LibraryManager:generateActorLibrary:889) 
> Generating Actor Library...
> *** Attempting to get ResourceBundle for SVG defaults ***
> *** svgRenderingMethod = SVG_BATIK_RENDERING ***
> ModelDirectory: purging 
> file:/home/cweed/code/kepler-build/common/target/eclipse/classes/ptolemy/configs/kepler/configuration.xml
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users



More information about the Kepler-users mailing list