[kepler-users] No menu bar in Kepler 1.x

Daniel Crawl crawl at sdsc.edu
Fri Feb 5 09:32:46 PST 2010


Hi Anne and Tomasz,

What is the default locale on your computer?

I get a similar behavior if I rename uiMenuMappings_en_US.xml,
in modules/gui/resources/configurations/, to, e.g.,
uiMenuMappings_fi_FI.xml, and restart Kepler (and clean out
KeplerData and .kepler).

Chad, what does the configuration manager do when it cannot
find the config file for the current locale?

   --dan


On 2/5/10 7:52 AM, Ngu, Anne Hee Hiong wrote:
> Tomasz,
>
> I just did a fresh checkout of kepler under mac os and compiled it with JDK 1.6, the menu bar did not appear as well.
> I am interested in the answer to that problem as well.
>
> Anne
>
> ________________________________________
> From: kepler-users-bounces at kepler-project.org [kepler-users-bounces at kepler-project.org] On Behalf Of Chad Berkley [berkley at nceas.ucsb.edu]
> Sent: Thursday, February 04, 2010 2:06 PM
> To: Tomasz Żok
> Cc: kepler-users at kepler-project.org
> Subject: Re: [kepler-users] No menu bar in Kepler 1.x
>
> Hmm, that's really weird.  I just did a fresh checkout any everything
> worked.  I'm using JDK 1.5.0_19, but I think others are using 1.6 with
> no problems.  Let us know if you figure it out.
>
> chad
>
>
> Tomasz Żok wrote:
>    
>> Hi Chad,
>>
>> Today I tried many different combinations:
>> - Kepler from head revision and Ptolemy from stable revision (does not compile
>> due to some broken dependency)
>> - Kepler from head revision and Ptolemy from head revision (compiles, but
>> doesn't have menu bar)
>>
>> I also tried revision from yesterday and the day before yesterday, both with no
>> success. At one moment I thought it is a JDK problem, as I have the newest one
>> 1.6u18 released just recently. But switching to my backup 1.6u16 did not help.
>>
>> All these trials suggest that there is something wrong on my side. I will try
>> again tomorrow to install everything from scratch as you said.
>>
>> Thanks,
>> Tomek
>>
>>
>> On czwartek 04 luty 2010 at 20:43:07 Chad Berkley wrote:
>>      
>>> Hi Tomek,
>>>
>>> If you've deleted your .kepler directory and run an 'ant clean-all', I'm
>>> actually not sure what the problem could be.  You might make sure that
>>> all of the code updated correctly.  You can run the 'ant change-to
>>> -Dsuite=kepler' command again to make sure you got all of the source.
>>> You can also run 'ant update' to pull any new changes from SVN.
>>>
>>> If you still can't get it to work, I'd recommend trying everything from
>>> scratch again.  Delete your ~/.kepler directory and your ~/KeplerData
>>> directory, then checkout the build-area again, and do a new change-to.
>>>
>>> Let me know if you figure it out.
>>>
>>> thanks,
>>> chad
>>>
>>> Tomasz Żok wrote:
>>>        
>>>> 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-sy
>>>>> ste 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(VergilApplica
>>>>> ti on.java:401) at
>>>>>
>>>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationAppli
>>>>> ca tion.java:1121) at
>>>>>   ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
>>>>> at
>>>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplicati
>>>>> on .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.jav
>>>>> a: 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(LibraryMana
>>>>> ge 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(VergilAppli
>>>>> ca tion.java:330) at
>>>>>
>>>>> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplica
>>>>> ti on.java:347) at
>>>>>
>>>>> ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationAppli
>>>>> ca tion.java:1121) at
>>>>>   ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
>>>>> at
>>>>> ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplicati
>>>>> on .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.jav
>>>>> a: 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?
>>>>>            
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
> _______________________________________________
> 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