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

NPE while accessing VDB via OData access

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.11
    • Component/s: None
    • Labels:

      Description

      If wrong odata URL is provided, an internal error is displayed:
      URL: http://localhost:8080/odata/
      Exception: org.teiid.core.TeiidRuntimeException: TEIID16008 VDB name not defined on the URL. The url format is http://

      {host}

      :

      {port}

      /odata/

      {vdb-name}

      [.

      {vdb-version}

      ]/...
      org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:88)
      org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:47)
      ....
      This behavior is quite expected.

      URL: http://localhost:8080/odata
      Exception: java.lang.NullPointerException
      org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:80)
      org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:47)
      ...
      I expect that teiid should return similar exception

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rareddy Ramesh Reddy
                Reporter:
                jdurani Juraj DurĂ¡ni
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: