Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2828

ResteasyEnabler fails with OTHER model types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.7, 8.4.2
    • 8.4
    • Server
    • None

    Description

      If a vdb contains OTHER type models (typically used for .xsd), then the schema lookup will produce a null and result in an NPE:

      java.lang.NullPointerException
      at org.teiid.jboss.rest.ResteasyEnabler.hasRestMetadata(ResteasyEnabler.java:146) [teiid-jboss-integration-8.4.1-redhat-2.jar:8.4.1-redhat-2]
      at org.teiid.jboss.rest.ResteasyEnabler.finishedDeployment(ResteasyEnabler.java:81) [teiid-jboss-integration-8.4.1-redhat-2.jar:8.4.1-redhat-2]
      at org.teiid.deployers.VDBRepository.notifyFinished(VDBRepository.java:351) [teiid-runtime-8.4.1-redhat-2.jar:8.4.1-redhat-2]

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: