Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1236

Resteasy yaml provider - ReaderException: Failed to decode Yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.17.Final
    • 3.0.16.Final
    • None
    • None
    • Hide

      See the attached reproducer.
      Run the test with mvn clean verify -Djboss.home=/path/to/eap

      Show
      See the attached reproducer. Run the test with mvn clean verify -Djboss.home=/path/to/eap

      When using resteasy yaml provider in EAP 7, ReaderException is thrown.

      See the attached reproducer.
      Run the test with mvn clean verify -Djboss.home=/path/to/eap

      16:50:03,966 WARN  [org.jboss.resteasy.core.ExceptionHandler] (default task-1) Failed executing POST /yaml: org.jboss.resteasy.spi.ReaderException: Failed to decode Yaml
      	at org.jboss.resteasy.plugins.providers.YamlProvider.readFrom(YamlProvider.java:65)
      	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)
      	at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)
      	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)
      	at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor.aroundReadFrom(DigitalVerificationInterceptor.java:32)
      	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
      	at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)
      	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)
      ...
      

              rsigal@redhat.com Ronald Sigal
              kanovotn Katerina Odabasi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: