[kepler-users] No menu bar in Kepler 1.x
Tomasz Żok
tzok at man.poznan.pl
Thu Feb 4 05:54:16 PST 2010
Small update.
After `ant clean-all` I do not get this error with SQL. However the main
problem with missing menu bar is still there.
Regards,
Tomek
On czwartek 04 lutego 2010 at 12:39:41 Tomasz Żok wrote:
> Dear Kepler users and maintainers,
>
> Today I tried to install Kepler from trunk using this instruction:
> https://kepler-project.org/developers/teams/build/documentation/build-syste
> m-instructions
>
> I prepared everything and compiled Kepler, but when I try to run it, in the
> beginning I get the following exception and the menu bar in Kepler is
> missing:
>
> java.lang.NullPointerException
> at org.kepler.gui.MenuMapper.createKeplerMenuBar(MenuMapper.java:392)
> at org.kepler.gui.MenuMapper.run(MenuMapper.java:173)
> at ptolemy.gui.Top.deferIfNecessary(Top.java:235)
> at org.kepler.gui.KeplerMenuHandler.pack(KeplerMenuHandler.java:60)
> at ptolemy.actor.gui.TableauFrame.pack(TableauFrame.java:331)
> at ptolemy.actor.gui.Tableau.show(Tableau.java:355)
> at
> ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:58
> 2) at
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplicati
> on.java:401) at
> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplica
> tion.java:1121) at
> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477) 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:110) at
> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219) at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.ja
> va:269) at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> 184) at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.ja
> va: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)
>
>
> Before this exception I received another one from SQL. I am not sure if
> these two are related anyhow, but I will paste the second one as well in
> case it's needed:
>
> java.sql.SQLException: Integrity constraint violation - no parent SYS_FK_68
> table: CACHECONTENTTABLE in statement [insert into KAR_CONTENTS (file,
> lsid, name, type) values ( ?, ?, ?, ? ) ] at
> org.hsqldb.jdbc.Util.throwError(Unknown Source)
> at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
> at
> org.kepler.kar.KARCacheManager.insertEntryIntoCache(KARCacheManager.java:5
> 37) at org.kepler.kar.KARFile.cache(KARFile.java:854)
> at org.kepler.kar.KARFile.cacheKARContents(KARFile.java:567)
> at
> org.kepler.kar.KARCacheManager.synchronizeKARCacheWithLocalRepositories(KA
> RCacheManager.java:327) at
> org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManage
> r.java:332) 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:1
> 40) at
> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplica
> tion.java:330) at
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplicati
> on.java:347) at
> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplica
> tion.java:1121) at
> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477) 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:110) at
> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219) at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.ja
> va:269) at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
> 184) at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.ja
> va: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)
>
>
> I have also tested it after deleting my $HOME/.kepler directory so that it
> doesn't mix files from different installations. But it didn't help me any
> further. Can you provide me with some information about possible causes of
> such behaviour?
>
--
Tomasz Zok
Poznan Supercomputing and Networking Center
ul. Noskowskiego 10, 61-704 Poznan, POLAND
http://www.man.poznan.pl
More information about the Kepler-users
mailing list