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

Query against OData source throwing java.lang.NullPointerException

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      This error only occurs in the Designer based VDBs, when you are using the "Teiid Connection Importer" aka DDL based importer that reads metadata from translator directly. Use Dynamic VDBs does not have this issue.

      Show
      This error only occurs in the Designer based VDBs, when you are using the "Teiid Connection Importer" aka DDL based importer that reads metadata from translator directly. Use Dynamic VDBs does not have this issue.

    Description

      Queries against a deployed vdb (using odata translator) are throwing java.lang.NullPointerException. The vdb is connecting to NetWeaver Flight test site . Full log is attached along with vdb. Resource-adapter can be provided if needed. This failure has been verified by two different users.

      12:47:16,401 ERROR [org.teiid.CONNECTOR] (Worker1_QueryProcessorQueue13) Connector worker process failed for atomic-request=t53q6HQwO5Rs.6.0.0: java.lang.NullPointerException
      at org.odata4j.format.xml.AtomFeedFormatParser.getEntitySet(AtomFeedFormatParser.java:304)
      at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:156)
      at org.odata4j.format.xml.AtomFeedFormatParser.parse(AtomFeedFormatParser.java:44)
      at org.teiid.translator.odata.BaseQueryExecution.parse(BaseQueryExecution.java:93)
      at org.teiid.translator.odata.BaseQueryExecution.executeWithReturnEntity(BaseQueryExecution.java:124)
      at org.teiid.translator.odata.ODataQueryExecution.execute(ODataQueryExecution.java:108)
      at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:254) [teiid-engine-8.4.1-redhat-2.jar:8.4.1-redhat-2]

      It should also be noted that when previewing FlightCollection in Designer the following error was produced. Not sure if it is related to the server NullPointer situation.

      2:46:00,788 INFO [org.teiid.PROCESSOR] (Worker2_QueryProcessorQueue12) TEIID31105 Returing warning to client: TEIID17013 Wrong response from source with status 404 code 005056A509B11EE1B9A8FEC11C21D78E and message Resource not found for the segment 'flightDetails_distanceUnit'.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rareddy Ramesh Reddy
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: