[kepler-users] [kepler-dev] Problem running Kepler from installer

ben leinfelder leinfelder at nceas.ucsb.edu
Mon Jul 6 23:05:21 PDT 2009


Sure! Just find the .kepler directory (usually in user's home) and  
delete it.
-ben

On Jul 6, 2009, at 10:55 PM, <Siddeswara.Guru at csiro.au> wrote:

> Hello Ben,
> Thank you for your reply. The installer do not copy build.xml in the  
> installer so I cannot run the ant commands from\build-area. Is there  
> any way I can do it?
> Thanks.
> Regards
> S.M.Guru
>
>
> -----Original Message-----
> From: ben leinfelder [mailto:leinfelder at nceas.ucsb.edu]
> Sent: Tuesday, 7 July 2009 3:37 PM
> To: Guru, Siddeswara (ICT Centre, Hobart)
> Cc: kepler-dev at kepler-project.org; kepler-users at kepler-project.org
> Subject: Re: [kepler-dev] Problem running Kepler from installer
>
> From the looks of the SQLException - it's probably due to the cache
> tables in the .kepler directory.
> Try 'ant clean-cache' and launch it again.
> -ben
>
> On Jul 6, 2009, at 8:56 PM, <Siddeswara.Guru at csiro.au> wrote:
>
>> Hello All,
>> I am creating an installer in linux machine and running on windows
>> machine. I am getting following error when I run Kepler. Any
>> suggestion is helpful. Configuration.xml is available in the
>> specified location.
>>
>> Thanks.
>> Regards
>> S.M.Guru
>>
>> Command failed
>> Arguments: -kepler
>>
>> java.lang.Exception: Failed to parse "-kepler"
>> 	at
>> ptolemy
>> .actor
>> .gui
>> .ConfigurationApplication
>> .throwArgsException(ConfigurationApplication.java:635)
>> 	at
>> ptolemy
>> .actor
>> .gui.ConfigurationApplication.<init>(ConfigurationApplication.java:
>> 292)
>> 	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: 
>> 194)
>> 	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>> 	at java.awt.EventQueue.dispatchEvent(Unknown Source)
>> 	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>> Source)
>> 	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>> Source)
>> 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> 	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>> 	at java.awt.EventDispatchThread.run(Unknown Source)
>> Caused by: java.lang.Exception: Failed to read configuration 'file:/
>> C:/Kepler-1.XDevWin/common/configs/ptolemy/configs/kepler/
>> configuration.xml'
>> 	at
>> ptolemy
>> .vergil
>> .VergilApplication
>> ._createDefaultConfiguration(VergilApplication.java:286)
>> 	at
>> ptolemy
>> .vergil
>> .VergilApplication._createEmptyConfiguration(VergilApplication.java:
>> 322)
>> 	at
>> ptolemy
>> .actor
>> .gui
>> .ConfigurationApplication._parseArgs(ConfigurationApplication.java:
>> 1109)
>> 	at
>> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:
>> 452)
>> 	at
>> ptolemy
>> .actor
>> .gui.ConfigurationApplication.<init>(ConfigurationApplication.java:
>> 226)
>> 	... 11 more
>> Caused by: java.lang.Exception: Failed to call application
>> initializer class "org.kepler.gui.KeplerInitializer".  Perhaps the
>> configuration file "file:/C:/Kepler-1.XDevWin/common/configs/ptolemy/
>> configs/kepler/configuration.xml" has a problem?
>> 	at
>> ptolemy
>> .actor
>> .gui
>> .ConfigurationApplication
>> .readConfiguration(ConfigurationApplication.java:448)
>> 	at
>> ptolemy
>> .vergil
>> .VergilApplication
>> ._createDefaultConfiguration(VergilApplication.java:284)
>> 	... 15 more
>> Caused by: java.sql.SQLException: Primary or unique constraint
>> required on main table: CACHECONTENTTABLE in statement [create
>> cached table KAR_CONTENTS ( KARLSID varchar, LSID varchar, NAME
>> varchar, TYPE varchar, PRIMARY KEY (KARLSID,LSID), FOREIGN KEY
>> (KARLSID) REFERENCES KARS_CACHED (LSID) ON DELETE CASCADE, FOREIGN
>> KEY (LSID) REFERENCES CACHECONTENTTABLE (LSID) ON DELETE CASCADE  )]
>> 	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>> 	at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
>> 	at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source)
>> 	at
>> org
>> .kepler
>> .gui.KeplerInitializer.initializeSystem(KeplerInitializer.java:200)
>> 	at org.kepler.gui.KeplerInitializer.<init>(KeplerInitializer.java: 
>> 92)
>> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>> Source)
>> 	at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>> Source)
>> 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
>> 	at java.lang.Class.newInstance0(Unknown Source)
>> 	at java.lang.Class.newInstance(Unknown Source)
>> 	at
>> ptolemy
>> .actor
>> .gui
>> .ConfigurationApplication
>> .readConfiguration(ConfigurationApplication.java:446)
>> 	... 16 more
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>
>




More information about the Kepler-users mailing list