[
https://issues.apache.org/jira/browse/LENS-920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095662#comment-15095662
]
Amruth S edited comment on LENS-920 at 1/13/16 6:02 AM:
--------------------------------------------------------
Hi [~amareshwari], The issue happens when a generic type has to be serialized
to a JSON through Jersey (uses MoxyJsonProvider).
I tried debugging MoxyJsonProvider's code. The concrete type info gets missed
during the process in MoxyJsonProvider s impl.
Ill do some more analysis over this weekend and update the thread.
was (Author: amrk7):
Hi [~amareshwari], The issue happens when a generic type has to be serialized
to a JSON through Jersey (uses MoxyJsonProvider).
I tried debugging MoxyJsonProvider's code. The concrete type info gets missed
during the process in MoxyJsonProvider s impl.
Ill do some more analysis in the weekend and update the thread.
> Error marshalling LensAPIResult to json
> ---------------------------------------
>
> Key: LENS-920
> URL: https://issues.apache.org/jira/browse/LENS-920
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Amruth S
>
> Rest apis should be able to work with both application/xml and
> application/json accept headers.
> But some APIs that return LensAPIResult<?> does not work with
> application/json accept header.
> To reproduce
> 1) Hit the /lensapi/queryapi/queries with one more additional header
> Accept - application/json
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)