Cayenne Newbe Question

From: JR Ruggentaler (j..pv.com)
Date: Fri Aug 02 2002 - 11:47:38 EDT

  • Next message: Andrus: "Cayenne JDK 1.3 port progress"

    I created a simple model and I think I have everything setup correctly by I
    get the following exception:

    Aug 2, 2002 10:30:53 AM org.objectstyle.cayenne.conf.Configuration
    initSharedConfig
    SEVERE: Error initializing shared Configuration
    org.xml.sax.SAXParseException: Domain 'name' attribute must be not null.
    at
    org.objectstyle.cayenne.conf.DomainHelper$DomainHandler.init(DomainHelper.ja
    va:420)
    at
    org.objectstyle.cayenne.conf.DomainHelper$DomainsHandler.startElement(Domain
    Helper.java:392)
    at
    org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.j
    ava:342)
    at
    org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator
    .java:401)
    at
    org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBin
    der.java:809)
    at
    org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.ja
    va:556)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidato
    r.java:2678)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java
    :782)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDo
    cumentFragmentScannerImpl.java:747)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
    her.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume
    ntFragmentScannerImpl.java:328)
    at
    org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
    nfiguration.java:479)
    at
    org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
    nfiguration.java:521)
    at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148) at
    org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:972
    )
    at
    org.objectstyle.cayenne.conf.DomainHelper.loadDomains(DomainHelper.java:193)

    at
    org.objectstyle.cayenne.conf.DomainHelper.loadDomains(DomainHelper.java:223)

    at org.objectstyle.cayenne.conf.Configuration.init(Configuration.java:207)
    at
    org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.ja
    va:173)
    at
    org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.ja
    va:165)
    at
    org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.ja
    va:147)
    at
    org.objectstyle.cayenne.conf.Configuration.getSharedConfig(Configuration.jav
    a:119)
    at CayenneTst.<init>(CayenneTst.java:10)
    at CayenneTst.main(CayenneTst.java:21) java.lang.RuntimeException: Error
    initializing shared Configuration
    at
    org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.ja
    va:177)
    at
    org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.ja
    va:165)
    at
    org.objectstyle.cayenne.conf.Configuration.initSharedConfig(Configuration.ja
    va:147)
    at
    org.objectstyle.cayenne.conf.Configuration.getSharedConfig(Configuration.jav
    a:119)
    at CayenneTst.<init>(CayenneTst.java:10)
    at CayenneTst.main(CayenneTst.java:21) Exception in thread "main" Process
    Exit...

    Does anyone know what attribute 'name' refers to?

    J.R.



    This archive was generated by hypermail 2.0.0 : Fri Aug 02 2002 - 11:47:33 EDT