Ramesh Reddy created TEIID-2412:
-----------------------------------
Summary: OData does not handle exceptions correctly
Key: TEIID-2412
URL:
https://issues.jboss.org/browse/TEIID-2412
Project: Teiid
Issue Type: Bug
Components: Server
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 8.3
When a unexpected exception occurs, OData implementation masks correct error occurred and
throws following
{code}
org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:53)
$Proxy33.getBaseUri(Unknown Source)
org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:54) org.teiid.odata.TeiidProducerProvider.getContext(TeiidProducerProvider.java:37) org.odata4j.producer.resources.ExceptionMappingProvider.getODataProducer(ExceptionMappingProvider.java:85) org.odata4j.producer.resources.ExceptionMappingProvider.toResponse(ExceptionMappingProvider.java:53)
org.odata4j.producer.resources.ExceptionMappingProvider.toResponse(ExceptionMappingProvider.java:35) org.jboss.resteasy.core.SynchronousDispatcher.executeExceptionMapper(SynchronousDispatcher.java:324)
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:229) org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:123)
org.teiid.odata.ODataServletContainerDispatcher.service(ODataServletContainerDispatcher.java:97)
org.teiid.odata.ODataServlet.service(ODataServlet.java:61) org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
{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