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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0
    • 7.0
    • Editors, VDB & Execution
    • None

      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)

              teiid John Verhaeg (Inactive)
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: