[kepler-dev] new Kepler checkout fails! CACHECONTENTTABLE ??

Bertram Ludaescher ludaesch at ucdavis.edu
Thu Sep 3 12:25:48 PDT 2009


Who gets the "I broke the build hat" today? ;)

I'm doing a fresh checkout and the build fails. Seems it has to do
with the CACHECONTENTTABLE
declaration ... see below.

HELP!

Bertram

run:
      [run] Getting Ptolemy paths from
/Users/ludaesch/kepler/cpr/ptolemy/.classpath.default
      [run] Set environment variable: PATH =
/sw/bin:/sw/sbin:/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/Applications/Graphviz.app/Contents/MacOS/:/usr/X11R6/bin:/Users/ludaesch/kepler/cpr/comad-provenance-recorder/lib:/Users/ludaesch/kepler/cpr/provenance/lib:/Users/ludaesch/kepler/cpr/provenance-apps/lib:/Users/ludaesch/kepler/cpr/comad/lib:/Users/ludaesch/kepler/cpr/kepler/lib:/Users/ludaesch/kepler/cpr/apple-extensions/lib:/Users/ludaesch/kepler/cpr/r/lib:/Users/ludaesch/kepler/cpr/loader/lib:/Users/ludaesch/kepler/cpr/actors/lib:/Users/ludaesch/kepler/cpr/directors/lib:/Users/ludaesch/kepler/cpr/opendap/lib:/Users/ludaesch/kepler/cpr/ecogrid/lib:/Users/ludaesch/kepler/cpr/authentication-gui/lib:/Users/ludaesch/kepler/cpr/gui/lib:/Users/ludaesch/kepler/cpr/authentication/lib:/Users/ludaesch/kepler/cpr/repository/lib:/Users/ludaesch/kepler/cpr/job/lib:/Users/ludaesch/kepler/cpr/io/lib:/Users/ludaesch/kepler/cpr/ssh/lib:/Users/ludaesch/kepler/cpr/data-handling/lib:/Users/ludaesch/kepler/cpr/sms/lib:/Users/ludaesch/kepler/cpr/component-library/lib:/Users/ludaesch/kepler/cpr/util/lib:/Users/ludaesch/kepler/cpr/event-state/lib:/Users/ludaesch/kepler/cpr/core/lib:/Users/ludaesch/kepler/cpr/common/lib:/Users/ludaesch/kepler/cpr/ptII/lib:/Users/ludaesch/kepler/cpr/module-manager/lib:/Users/ludaesch/kepler/cpr/ptolemy/lib:/Users/ludaesch/kepler/cpr/ptolemy-lib/lib
      [run] Set environment variable: R_HOME =
/Library/Frameworks/R.framework/Resources
      [run] /Users/ludaesch/kepler/cpr
      [run] Found OS Extension file:
/Users/ludaesch/kepler/cpr/apple-extensions/module-info/osextension.txt
      [run] loading OS extensions for OS  Mac OS X with class
org.kepler.osx.KeplerOSXExtension
      [run] Building Kars...
      [run] Command failed
      [run] Arguments: -kepler
      [run]
      [run] java.lang.Exception: Failed to parse "-kepler"
      [run]  at
ptolemy.actor.gui.ConfigurationApplication.throwArgsException(ConfigurationApplication.java:635)
      [run]  at
ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:292)
      [run]  at
ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
      [run]  at
ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:104)
      [run]  at
ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:194)
      [run]  at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      [run]  at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
      [run]  at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      [run]  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      [run]  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      [run]  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      [run]  at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      [run] Caused by: java.lang.Exception: Failed to read configuration
'file:/Users/ludaesch/kepler/cpr/common/configs/ptolemy/configs/kepler/configuration.xml'
      [run]  at
ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:286)
      [run]  at
ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:322)
      [run]  at
ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1109)
      [run]  at
ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:452)
      [run]  at
ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
      [run]  ... 10 more
      [run] Caused by: java.lang.Exception: Failed to call application
initializer class "org.kepler.gui.KeplerInitializer".  Perhaps the
configuration file
"file:/Users/ludaesch/kepler/cpr/common/configs/ptolemy/configs/kepler/configuration.xml"
has a problem?
      [run]  at
ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:448)
      [run]  at
ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:284)
      [run]  ... 14 more
   *   [run] 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  )]*
      [run]  at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      [run]  at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
      [run]  at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source)
      [run]  at
org.kepler.gui.KeplerInitializer.initializeSystem(KeplerInitializer.java:200)
      [run]  at
org.kepler.gui.KeplerInitializer.<init>(KeplerInitializer.java:92)
      [run]  at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      [run]  at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      [run]  at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      [run]  at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      [run]  at java.lang.Class.newInstance0(Class.java:350)
      [run]  at java.lang.Class.newInstance(Class.java:303)
      [run]  at
ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:446)
      [run]  ... 15 more

BUILD SUCCESSFUL
Total time: 8 minutes 42 seconds
dhcp49-gc1:build-area ludaesch$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20090903/b0668737/attachment.html>


More information about the Kepler-dev mailing list