Re: [CXF2.2] Runtime exception with no message

2009-03-25 Thread Sergey Beryozkin
Hi Gabo It apperas that the root cause of it is that a subresource method is invoked and it returns null. Now, JAXRSInvoker does check for 'null' but I can see now that the check is faulty, as the null is wrapped in a CXF specific wrapper initiallyI'll update the code nowCan you confirm

Re: [CXF2.2] Runtime exception with no message

2009-03-25 Thread Sergey Beryozkin
Hi Gabo NPE is always a bug - so I need to investigate. Can you please post the spring configuration which you use (in sample form but with the same relationships between beans, etc...) ? And a sample MyService bean ? By the way is there any chance that spring 2.0.6 is still hanging around somew

Re: [CXF2.2] Runtime exception with no message

2009-03-25 Thread Sergey Beryozkin
x27;s WebApplicationException or not. There's a default WebApplicationException mapper there your RuntimeException one is chosen instead of it. Cheers, Sergey - Original Message - From: "Sergey Beryozkin" To: Sent: Wednesday, March 25, 2009 11:13 AM Subject: Re: [CXF2.2] Runtime excep

Re: [CXF2.2] Runtime exception with no message

2009-03-25 Thread Sergey Beryozkin
t; To: Sent: Wednesday, March 25, 2009 5:35 AM Subject: Re: [CXF2.2] Runtime exception with no message Hi All, Just to add, the exception does not have a cause. fault.getCause() returns null. :( Gabo Gabo Manuel wrote: Hi All, I encountered this during one of my test: Serv

Re: [CXF2.2] Runtime exception with no message

2009-03-25 Thread Gabo Manuel
Hi All, On another occassion. The cause of the problem is obviously the path used. Not sure why a NPE was thrown instead. [25/Mar/2009:08:04:49] info (26158): for host 222.127.215.98 trying to GET /some/path/MyService/searchobjectid='1'+and+balance+between+1+and+2/objectid/1/10, service-j2e

Re: [CXF2.2] Runtime exception with no message

2009-03-24 Thread Gabo Manuel
Hi All, Just to add, the exception does not have a cause. fault.getCause() returns null. :( Gabo Gabo Manuel wrote: Hi All, I encountered this during one of my test: Service.java: @GET @Path("/search/") @WebMethod public MyObjects getMyObjects( @HeaderParam("uri")

[CXF2.2] Runtime exception with no message

2009-03-24 Thread Gabo Manuel
Hi All, I encountered this during one of my test: Service.java: @GET @Path("/search/") @WebMethod public MyObjects getMyObjects( @HeaderParam("uri") @WebParam(name="searchObject") SearchObject so) { } SearchObject.java: @XmlRootElement @XmlType(na