java.lang.IllegalArgumentException: This method supports only the Types Cookie, CacheControl, EntityTag, NewCookie and MediaType at org.restlet.ext.jaxrs.internal.spi.RuntimeDelegateImpl.createHeaderDelegate(RuntimeDelegateImpl.java: 101) at com.sun.jersey.spi.container.ContainerResponse.getHeaderValue(ContainerResponse.java: 205) at com.sun.jersey.spi.container.servlet.WebComponent $Writer.writeHeaders(WebComponent.java:329) at com.sun.jersey.spi.container.servlet.WebComponent $Writer.finish(WebComponent.java:264) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java: 296) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java: 1035) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java: 947) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java: 938) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java: 399) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java: 478) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java: 663) at org.grails.jaxrs.web.JaxrsContext $JaxrsServiceImpl.process(JaxrsContext.java:150)

Google Groups | davide.cavestro | 6 years ago
  1. 0

    IllegalArgumentException using Responses.created

    Google Groups | 6 years ago | davide.cavestro
    java.lang.IllegalArgumentException: This method supports only the Types Cookie, CacheControl, EntityTag, NewCookie and MediaType at org.restlet.ext.jaxrs.internal.spi.RuntimeDelegateImpl.createHeaderDelegate(RuntimeDelegateImpl.java: 101) at com.sun.jersey.spi.container.ContainerResponse.getHeaderValue(ContainerResponse.java: 205) at com.sun.jersey.spi.container.servlet.WebComponent $Writer.writeHeaders(WebComponent.java:329) at com.sun.jersey.spi.container.servlet.WebComponent $Writer.finish(WebComponent.java:264) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java: 296) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java: 1035) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java: 947) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java: 938) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java: 399) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java: 478) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java: 663) at org.grails.jaxrs.web.JaxrsContext $JaxrsServiceImpl.process(JaxrsContext.java:150)
  2. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  3. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      This method supports only the Types Cookie, CacheControl, EntityTag, NewCookie and MediaType at org.restlet.ext.jaxrs.internal.spi.RuntimeDelegateImpl.createHeaderDelegate(RuntimeDelegateImpl.java: 101) at com.sun.jersey.spi.container.ContainerResponse.getHeaderValue(ContainerResponse.java: 205) at com.sun.jersey.spi.container.servlet.WebComponent $Writer.writeHeaders(WebComponent.java:329) at com.sun.jersey.spi.container.servlet.WebComponent $Writer.finish(WebComponent.java:264) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java: 296) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java: 1035) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java: 947) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java: 938) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java: 399) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java: 478) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java: 663) at org.grails.jaxrs.web.JaxrsContext $JaxrsServiceImpl.process(JaxrsContext.java:150)

      at org.grails.jaxrs.web.JaxrsService$process.call()
    2. org.grails.jaxrs
      JaxrsService$process.call
      1. org.grails.jaxrs.web.JaxrsService$process.call(Unknown Source)
      1 frame
    3. Unknown
      JaxrsController$_closure1.doCall
      1. JaxrsController$_closure1.doCall(JaxrsController.groovy:38)
      2. JaxrsController$_closure1.doCall(JaxrsController.groovy)
      2 frames