cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanmitra ijeri (JIRA)" <>
Subject [jira] [Created] (CXF-5655) Catching Exception Issue in CXF RS 2.7.0
Date Thu, 27 Mar 2014 09:12:38 GMT
sanmitra ijeri created CXF-5655:

             Summary: Catching Exception Issue in CXF RS 2.7.0
                 Key: CXF-5655
             Project: CXF
          Issue Type: Bug
            Reporter: sanmitra ijeri
            Priority: Blocker

Exception in thread "main"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(
	at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(
	at com.sun.proxy.$Proxy15.getPlayers(Unknown Source)
	at rs.PlayerServiceClient.main(

Server is throwing exception with appropriate message but client is not to able to catch that
exception. This is happening only for cxf 2.7.x (i.e not able to create an appropriate WebApplicationException)
but when I run with 2.6.0 it works fine(i.e CXF 2.6's ServerWebApplicationException is thrown).

This message was sent by Atlassian JIRA

View raw message