On Apr 8, 2006, at 10:30 PM, crai..ynect.com wrote:
> Exception in thread "main" java.lang.NullPointerException
> at
> org.objectstyle.cayenne.conf.ConfigSaver.storeDomains
> (ConfigSaver.java:94)
It fails because it expects a ConfigSaveDelegate. Default delegate
implementor, RuntimeSaveDelegate, in turn expects a Configuration
instance that holds domains. In other words ConfigSaver can do all
saving work for you if you give it a fully assembled access stack:
Configuration -> DataDomain -> DataNode.
Andrus
This archive was generated by hypermail 2.0.0 : Mon Apr 10 2006 - 05:07:54 EDT