[
https://issues.jboss.org/browse/TEIID-2718?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-2718:
-------------------------------------
Added to 8.4.x branch, due to some commit issues, I had to redo changes manually
https://github.com/teiid/teiid/commit/3eb27ec89e8b8ba20613209b20b7d2549fa...
I did not include the classpath and integration test from TEIID-2717 in this commit as it
working fine there.
NPE During OData Access
-----------------------
Key: TEIID-2718
URL:
https://issues.jboss.org/browse/TEIID-2718
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.3
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.4.1, 8.6
While issuing a query like
{code}
http://localhost:8080/odata/{vdb-name}.1/SYS.Properties
{code}
it resulted in
{code}
12:07:38,308 ERROR [org.teiid.ODATA] (http-/127.0.0.1:8080-2) null TEIID16013 Error
occured producing OData result.: java.lang.NullPointerException
at org.teiid.odata.ODataSQLBuilder.selectString(ODataSQLBuilder.java:210) [classes:]
at org.teiid.odata.TeiidProducer.getNavProperty(TeiidProducer.java:86) [classes:]
at org.teiid.odata.TeiidProducer.getEntities(TeiidProducer.java:79) [classes:]
at
org.odata4j.producer.resources.EntitiesRequestResource.getEntitiesImpl(EntitiesRequestResource.java:371)
[odata4j-core-0.8.0-SNAPSHOT-redhat.jar:]
at
org.odata4j.producer.resources.EntitiesRequestResource.getEntities(EntitiesRequestResource.java:266)
[odata4j-core-0.8.0-SNAPSHOT-redhat.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_35]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_35]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_35]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_35]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-redhat-1]
at
org.teiid.odata.ODataServletContainerDispatcher.service(ODataServletContainerDispatcher.java:97)
[classes:]
at org.teiid.odata.ODataServlet.service(ODataServlet.java:61) [classes:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
[resteasy-jaxrs-2.3.6.Final-redhat-1.jar:2.3.6.Final-red
{code}
--
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