[Jersey-issues] [JIRA] Commented: (JERSEY-1664) Subresources with overridden generic methods give media type conflicts

  • From: "epapegaaij (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [Jersey-issues] [JIRA] Commented: (JERSEY-1664) Subresources with overridden generic methods give media type conflicts
  • Date: Tue, 22 Jan 2013 11:27:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


    [ 
http://java.net/jira/browse/JERSEY-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=354023#action_354023
 ] 

epapegaaij commented on JERSEY-1664:
------------------------------------

It seems I'm not allowed to add attachments. You can find the showcase at 
https://github.com/papegaaij/jaxrs-bug, clone ;
git://github.com/papegaaij/jaxrs-bug.git and switch to the 'glassfish' branch.

> Subresources with overridden generic methods give media type conflicts
> ----------------------------------------------------------------------
>
>                 Key: JERSEY-1664
>                 URL: http://java.net/jira/browse/JERSEY-1664
>             Project: jersey
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.11
>            Reporter: epapegaaij
>
> A subresource that defines methods with generic parameters which are 
> overridden in a subclass results in a 'Consuming media type conflict.' 
> message, causing the resource to fail:
> SEVERE: The following errors and warnings have been detected with resource 
> and/or provider classes:
>   SEVERE: Consuming media type conflict. The resource methods public 
> javax.ws.rs.core.Response 
> nl.topicus.rest.AbstractCrudRestService.create(java.lang.Object) and public 
> javax.ws.rs.core.Response 
> nl.topicus.rest.AbstractCrudRestService.create(java.lang.Object) can 
> consume the same media type
> SEVERE: The RuntimeException could not be mapped to a response, re-throwing 
> to the HTTP container
> I've attached a showcase of this problem. Simply open 
> http://localhost:8080/jaxrsbug/rest/identity/address to trigger the ;
> exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Jersey-issues] [JIRA] Created: (JERSEY-1664) Subresources with overridden generic methods give media type conflicts

epapegaaij (JIRA) 01/22/2013

[Jersey-issues] [JIRA] Commented: (JERSEY-1664) Subresources with overridden generic methods give media type conflicts

epapegaaij (JIRA) 01/22/2013

[Jersey-issues] [JIRA] Updated: (JERSEY-1664) Subresources with overridden generic methods give media type conflicts

Marek Potociar (JIRA) 01/28/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close