Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1047

Resteasy yaml provider - ReaderException: Failed to decode Yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.1.CR1, 7.0.1.GA
    • 7.0.0.DR9
    • REST
    • 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
    • EAP 7.0.1

      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 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: