[teiid-issues] [JBoss JIRA] (TEIID-2678) Query against OData source throwing java.lang.NullPointerException

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Tue Oct 1 15:57:02 EDT 2013


     [ https://issues.jboss.org/browse/TEIID-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy updated TEIID-2678:
--------------------------------

    Workaround Description: 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.
                Workaround: Workaround Exists

    
> Query against OData source throwing java.lang.NullPointerException
> ------------------------------------------------------------------
>
>                 Key: TEIID-2678
>                 URL: https://issues.jboss.org/browse/TEIID-2678
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.4.1
>            Reporter: Van Halbert
>            Assignee: Ramesh Reddy
>            Priority: Critical
>              Labels: alpha1
>             Fix For: 8.4.1, 8.6
>
>
> 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'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list