Hi Francesco

I reproduced it. Looking into it - can't guarantee a fix today - will have to sign off in few hours, but it's the only issue I'm dealing with next.

Thanks, Sergey


On 19/08/13 12:41, Francesco Chicchiriccò wrote:
On 16/08/2013 21:24, Sergey Beryozkin wrote:
Hi
On 16/08/13 10:56, ilgrosso wrote:
Sergey Beryozkin wrote
Hi Robert

I'm hoping I've fixed it as part of
https://issues.apache.org/jira/browse/CXF-5204

Please try the snapshots a bit later on

Hi Sergey,
after a while, this morning I have re-built Apache Syncope trunk
(featuring
CXF 2.7.7-SNAPSHOT) and started getting internal server errors (not much
more info than this, actually...) when accessing generic methods.

Could it be that changes for CXF-5204 interfere with fixes you have
provided
during our last discussion [1] in CXF-5140?


We have all the tests I added as part of our earlier work passing, so
I'm not sure at the moment. I'll look into it in Monday: if you happen
to have an example of (the class/method signature) where you see
failures then please paste them here, otherwise I can build Syncope
trunk myself,

Hi Sergey,
for example, any request to the Schema service [2] ends up with
(Content-Type: application/json)

11:27:50.017 INFO  org.apache.syncope.core.rest.AbstractTest -
Performing IT with content type application/json
11:27:50.086 ERROR
org.apache.syncope.core.rest.utils.RestServiceExceptionMapper -
Exception thrown by REST method: Can not construct instance of
org.apache.syncope.core.services.AbstractServiceImpl, problem: abstract
types either need to be mapped to concrete types, have custom
deserializer, or be instantiated with additional type information
  at [Source:
org.apache.cxf.transport.http.AbstractHTTPDestination$1@1c3d5104; line:
1, column: 1]
com.fasterxml.jackson.databind.JsonMappingException: Can not construct
instance of org.apache.syncope.core.services.AbstractServiceImpl,
problem: abstract types either need to be mapped to concrete types, have
custom deserializer, or be instantiated with additional type information
  at [Source:
org.apache.cxf.transport.http.AbstractHTTPDestination$1@1c3d5104; line:
1, column: 1]
     at
com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)
~[jackson-databind-2.2.2.jar:2.2.2]
[...]

while with (Content-type: application/xml) everything is working fine
but list() that ends up with

Response-Code: 500
Encoding: UTF-8
Content-Type: text/plain;charset=UTF-8
Headers: {connection=[close], Content-Length=[67],
content-type=[text/plain;charset=UTF-8], Date=[Mon, 19 Aug 2013 09:37:47
GMT], Server=[Apache-Coyote/1.1]}
Payload: No message body writer has been found for response class
ArrayList.

Any clue? Thanks.

Regards.

Thanks for your support.
Regards.

[1]
http://cxf.547215.n5.nabble.com/Cannot-deserialize-JSON-via-JacksonJaxbJsonProvider-that-works-via-Jackson-s-ObjectMapperm-anyway-td5731029.html


[2]
https://svn.apache.org/repos/asf/syncope/trunk/common/src/main/java/org/apache/syncope/common/services/SchemaService.java



Reply via email to