Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-444

Exception saving VDB with non-relational models that have no "Data Source" name value

    XMLWordPrintable

    Details

      Description

      1) Create VDB
      2) Add Virtual Model that has one Source model dependency to VDB. This should result in an "Empty" Data source name since this is not a source model.
      3) Save VDB and get following exception stating that the data source name is basically required.

      Caused by: javax.xml.bind.MarshalException

      • with linked exception:
        [org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute 'name' must appear on element 'source'.]
        at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:317)
        at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:243)
        at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:75)
        at org.teiid.designer.vdb.Vdb$2.tryToDo(Vdb.java:372)
        at com.metamatrix.core.modeler.util.OperationUtil.perform(OperationUtil.java:37)
        ... 51 more
        Caused by: org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute 'name' must appear on element 'source'.
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpav John Verhaeg
                Reporter:
                blafond Barry LaFond
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: