On Apr 8, 2006, at 10:30 PM, [EMAIL PROTECTED] 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