quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.58k stars 2.63k forks source link

RESTEASY: Unable to find a MessageBodyReader for media type: text/plain; charset=us-ascii and class type java.util.Map #13539

Closed MarcusBiel closed 3 years ago

MarcusBiel commented 3 years ago
    @POST
    @Path("/import")
    @Consumes({MediaType.MULTIPART_FORM_DATA})
    @Produces({MediaType.APPLICATION_JSON})
    @Transactional
    public Response myFileImport(@MultipartForm MyImportData importData) {
         [...]
    }

public class MyImportData {

    @FormParam("myFile")
    @PartType(MediaType.APPLICATION_OCTET_STREAM)
    public InputStream inputStream;

    @FormParam("myMapping")
    @PartType(MediaType.APPLICATION_JSON)
    public Map<Integer, String> myMapping;
}

Exception:

Marcus Biel: java.lang.RuntimeException: RESTEASY007545: Unable to find a MessageBodyReader for media type: text/plain; charset=us-ascii and class type java.util.Map
at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl$PartImpl.getBody(MultipartInputImpl.java:226)
at org.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationReader.setFields(MultipartFormAnnotationReader.java:189)
at org.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationReader.readFrom(MultipartFormAnnotationReader.java:79)
at org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:101)
at org.jboss.resteasy.core.interception.jaxrs.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:63)
at org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:80)

media type: text/plain is confusing, since I set APPLICATION_JSON as the type - but it gave me the hint for a quick hack: Putting media type: text/plain and a String Java type, then converting the raw Json String with a Jackson Objectmapper in my Java code myself. I guess I need to provide a custom MessageBodyReader, but I couldn't get this to work quickly, so I went with my hack instead.

MarcusBiel commented 3 years ago

Seems like I am onto something here - I updated my POM to 1.10.2 today - and now the issue has become worse - I get the same kind of issue for a simple boolean now:

14:18:03 ERROR [co.ma.co.er.ApplicationExceptionHandler]] (executor-thread-1) java.lang.RuntimeException: RESTEASY007545: Unable to find a MessageBodyReader for media type: text/plain; charset=us-ascii and class type boolean, errorId:8366066b-e181-412a-9e10-f9c3f15ca5d3: java.lang.RuntimeException: RESTEASY007545: Unable to find a MessageBodyReader for media type: text/plain; charset=us-ascii and class type boolean
    at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl$PartImpl.getBody(MultipartInputImpl.java:226)
MarcusBiel commented 3 years ago

Rollback back to 1.8.1.Final. This is a BIG blocker for me.

geoand commented 3 years ago

Thanks for checking.

@asoldano any chance the RESTEasy team can look into this one?

geoand commented 3 years ago

@gastaldi, @gsmet as you guys have used multipart support more than anyone else I know, any idea what might be going on here?

gsmet commented 3 years ago

Well, I have absolutely no knowledge of RESTEasy. We need someone from RESTEasy having a look.

But we also need a complete reproducer.

gastaldi commented 3 years ago

Sounds like a RESTEasy bug, @MarcusBiel can you provide a simple project reproducing the issue?

Basheyev commented 3 years ago

I'm having the same issue.

gastaldi commented 3 years ago

It's easier to fix with a sample reproducer project ;)

gsmet commented 3 years ago

Maybe https://github.com/quarkusio/quarkus/pull/13704 will help but I'm not sure given I don't have any reproducer.

Basheyev commented 3 years ago

I'm having the same issue.

solved by removing "content-type" from header in Postman 🤦‍♂️

MarcusBiel commented 3 years ago

Reproducer: https://github.com/MarcusBiel/quarkus-multipart-reproducer

hantsy commented 3 years ago

https://github.com/hantsy/quarkus-sandbox/tree/master/multipart

In this simple sample, there are several types in the @MultipartForm class, it worked well.

But another project which set java to 16, too many deps in this project, not sure where is wrong, it still reports this issue.

I am using Quarkus 1.13.3 Final. The following exception was thrown in the @QuarkusTest test.

Installed features: [agroal, cdi, flyway, hibernate-orm, hibernate-orm-panache, hibernate-validator, jdbc-mariadb, mutiny, narayana-jta, oidc, quart
z, rest-client, rest-client-jackson, resteasy, resteasy-jackson, resteasy-multipart, scheduler, security, security-properties-file, smallrye-context-propagation, smallrye-fault-tolerance
, smallrye-reactive-messaging, smallrye-reactive-messaging-amqp, vertex]
...

 java.lang.RuntimeException: RESTEASY0
07545: Unable to find a MessageBodyReader for media type: text/plain; charset=US-ASCII and class type boolean: java.lang.RuntimeException: RESTEASY007545: Unable to find a MessageBodyR
eader for media type: text/plain; charset=US-ASCII and class type boolean
        at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl$PartImpl.getBody(MultipartInputImpl.java:226)
        at org.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationReader.setFields(MultipartFormAnnotationReader.java:189)
        at org.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationReader.readFrom(MultipartFormAnnotationReader.java:79)
        at org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:101)
        at org.jboss.resteasy.core.interception.jaxrs.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:63)
        at org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:80)
        at org.jboss.resteasy.plugins.interceptors.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:123)
        at org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:88)
        at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:213)
        at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:95)
        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:128)
        at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:643)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:507)
        at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:457)
        at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:419)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:393)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:68)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
        at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
        at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
        at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
        at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
        at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
        at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
        at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
        at java.base/java.lang.Thread.run(Thread.java:831)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)

It seems the defaults paramconverter are not applied, and not sure where is wrong ?

hantsy commented 3 years ago

The result of mvn dependency:tree is

...
[INFO] +- io.quarkus:quarkus-resteasy-multipart:jar:1.13.3.Final:compile
[INFO] |  \- org.jboss.resteasy:resteasy-multipart-provider:jar:4.5.9.Final:compile
[INFO] |     +- org.jboss.resteasy:resteasy-core-spi:jar:4.5.9.Final:compile
[INFO] |     |  +- org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar:2.0.1.Final:compile
[INFO] |     |  \- org.reactivestreams:reactive-streams:jar:1.0.3:compile
[INFO] |     +- org.jboss.resteasy:resteasy-core:jar:4.5.9.Final:compile
[INFO] |     |  \- com.ibm.async:asyncutil:jar:0.1.0:compile
[INFO] |     +- org.jboss.resteasy:resteasy-jaxb-provider:jar:4.5.9.Final:compile
[INFO] |     +- com.sun.mail:jakarta.mail:jar:1.6.6:compile
[INFO] |     +- org.apache.james:apache-mime4j-dom:jar:0.8.3:compile
[INFO] |     |  \- org.apache.james:apache-mime4j-core:jar:0.8.3:compile
[INFO] |     +- org.apache.james:apache-mime4j-storage:jar:0.8.3:compile
[INFO] |     \- org.eclipse.microprofile.config:microprofile-config-api:jar:1.4:compile
[INFO] +- io.quarkus:quarkus-resteasy-jackson:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-jackson:jar:1.13.3.Final:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.1:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.1:compile
[INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.1:compile
[INFO] |  +- org.jboss.resteasy:resteasy-jackson2-provider:jar:4.5.9.Final:compile
[INFO] |  |  +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.1:compile
[INFO] |  |  |  +- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.1:compile
[INFO] |  |  |  \- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.12.1:compile
[INFO] |  |  \- com.github.java-json-tools:json-patch:jar:1.13:compile
[INFO] |  |     +- com.github.java-json-tools:msg-simple:jar:1.2:compile
[INFO] |  |     |  \- com.github.java-json-tools:btf:jar:1.3:compile
[INFO] |  |     \- com.github.java-json-tools:jackson-coreutils:jar:2.0:compile
[INFO] |  \- org.jboss.spec.javax.xml.bind:jboss-jaxb-api_2.3_spec:jar:2.0.0.Final:compile
[INFO] +- io.quarkus:quarkus-resteasy:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-vertx-http:jar:1.13.3.Final:compile
[INFO] |  |  +- io.quarkus:quarkus-security-runtime-spi:jar:1.13.3.Final:compile
[INFO] |  |  +- io.quarkus:quarkus-vertx-http-dev-console-runtime-spi:jar:1.13.3.Final:compile
[INFO] |  |  \- io.vertx:vertx-web:jar:3.9.6:compile
[INFO] |  |     +- io.vertx:vertx-web-common:jar:3.9.6:compile
[INFO] |  |     +- io.vertx:vertx-auth-common:jar:3.9.6:compile
[INFO] |  |     \- io.vertx:vertx-bridge-common:jar:3.9.6:compile
[INFO] |  \- io.quarkus:quarkus-resteasy-server-common:jar:1.13.3.Final:compile
[INFO] |     \- jakarta.validation:jakarta.validation-api:jar:2.0.2:compile
[INFO] +- io.quarkus:quarkus-hibernate-orm-panache:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-hibernate-orm:jar:1.13.3.Final:compile
[INFO] |  |  +- org.hibernate:hibernate-core:jar:5.4.29.Final:compile
[INFO] |  |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  |  +- org.dom4j:dom4j:jar:2.1.3:compile
[INFO] |  |  |  \- org.hibernate.common:hibernate-commons-annotations:jar:5.1.2.Final:compile
[INFO] |  |  +- org.hibernate:hibernate-graalvm:jar:5.4.29.Final:compile
[INFO] |  |  +- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
[INFO] |  |  |  +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
[INFO] |  |  |  \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
[INFO] |  |  +- jakarta.persistence:jakarta.persistence-api:jar:2.2.3:compile
[INFO] |  |  +- org.hibernate:quarkus-local-cache:jar:0.1.0:compile
[INFO] |  |  |  \- com.github.ben-manes.caffeine:caffeine:jar:2.9.0:compile
[INFO] |  |  \- io.quarkus:quarkus-caffeine:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-hibernate-orm-panache-common:jar:1.13.3.Final:compile
[INFO] |  |  \- io.quarkus:quarkus-panache-hibernate-common:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-arc:jar:1.13.3.Final:compile
[INFO] |  |  +- io.quarkus.arc:arc:jar:1.13.3.Final:compile
[INFO] |  |  \- org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:jar:1.0.1:compile
[INFO] |  \- io.quarkus:quarkus-panache-common:jar:1.13.3.Final:compile
[INFO] +- io.quarkus:quarkus-jdbc-mariadb:jar:1.13.3.Final:compile
[INFO] |  \- org.mariadb.jdbc:mariadb-java-client:jar:2.7.2:compile
[INFO] +- io.quarkus:quarkus-flyway:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-core:jar:1.13.3.Final:compile
[INFO] |  |  +- jakarta.inject:jakarta.inject-api:jar:1.0:compile
[INFO] |  |  +- io.quarkus:quarkus-ide-launcher:jar:1.13.3.Final:compile
[INFO] |  |  +- io.quarkus:quarkus-development-mode-spi:jar:1.13.3.Final:compile
[INFO] |  |  +- io.smallrye.config:smallrye-config:jar:1.11.1:compile
[INFO] |  |  |  +- io.smallrye.common:smallrye-common-expression:jar:1.5.0:compile
[INFO] |  |  |  |  \- io.smallrye.common:smallrye-common-function:jar:1.5.0:compile
[INFO] |  |  |  +- io.smallrye.common:smallrye-common-constraint:jar:1.5.0:compile
[INFO] |  |  |  +- io.smallrye.common:smallrye-common-classloader:jar:1.5.0:compile
[INFO] |  |  |  \- io.smallrye.config:smallrye-config-common:jar:1.11.1:compile
[INFO] |  |  +- org.jboss.logmanager:jboss-logmanager-embedded:jar:1.0.9:compile
[INFO] |  |  +- org.jboss.logging:jboss-logging-annotations:jar:2.2.0.Final:compile
[INFO] |  |  +- org.jboss.threads:jboss-threads:jar:3.2.0.Final:compile
[INFO] |  |  +- org.jboss.slf4j:slf4j-jboss-logmanager:jar:1.1.0.Final:compile
[INFO] |  |  +- org.graalvm.sdk:graal-sdk:jar:21.0.0:compile
[INFO] |  |  +- org.wildfly.common:wildfly-common:jar:1.5.4.Final-format-001:compile
[INFO] |  |  \- io.quarkus:quarkus-bootstrap-runner:jar:1.13.3.Final:compile
[INFO] |  +- org.flywaydb:flyway-core:jar:7.7.3:compile
[INFO] |  +- io.quarkus:quarkus-narayana-jta:jar:1.13.3.Final:compile
[INFO] |  |  +- io.smallrye:smallrye-context-propagation-jta:jar:1.1.0:compile
[INFO] |  |  +- io.smallrye.reactive:smallrye-reactive-converter-api:jar:1.4.0:compile
[INFO] |  |  \- io.smallrye.reactive:smallrye-reactive-converter-mutiny:jar:1.4.0:compile
[INFO] |  \- io.quarkus:quarkus-datasource-common:jar:1.13.3.Final:compile
[INFO] +- io.quarkus:quarkus-agroal:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-datasource:jar:1.13.3.Final:compile
[INFO] |  +- org.jboss.narayana.jta:narayana-jta:jar:5.10.6.Final:compile
[INFO] |  |  +- org.jboss:jboss-transaction-spi:jar:7.6.0.Final:compile
[INFO] |  |  \- org.jboss.spec.javax.resource:jboss-connector-api_1.7_spec:jar:1.0.0.Final:compile
[INFO] |  +- org.jboss.narayana.jts:narayana-jts-integration:jar:5.10.6.Final:compile
[INFO] |  +- jakarta.transaction:jakarta.transaction-api:jar:1.3.3:compile
[INFO] |  +- io.agroal:agroal-api:jar:1.11:compile
[INFO] |  +- io.agroal:agroal-narayana:jar:1.11:compile
[INFO] |  +- io.agroal:agroal-pool:jar:1.11:compile
[INFO] |  \- io.quarkus:quarkus-credentials:jar:1.13.3.Final:compile
[INFO] +- io.quarkus:quarkus-smallrye-fault-tolerance:jar:1.13.3.Final:compile
[INFO] |  +- io.smallrye:smallrye-fault-tolerance:jar:4.3.2:compile
[INFO] |  |  +- org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-api:jar:2.1.1:compile
[INFO] |  |  +- io.smallrye:smallrye-fault-tolerance-api:jar:4.3.2:compile
[INFO] |  |  +- io.smallrye:smallrye-fault-tolerance-core:jar:4.3.2:compile
[INFO] |  |  +- jakarta.enterprise.concurrent:jakarta.enterprise.concurrent-api:jar:1.1.2:compile
[INFO] |  |  +- org.eclipse.microprofile.metrics:microprofile-metrics-api:jar:2.3:compile
[INFO] |  |  \- io.smallrye:smallrye-metrics-api:jar:2.4.6:compile
[INFO] |  +- jakarta.enterprise:jakarta.enterprise.cdi-api:jar:2.0.2:compile
[INFO] |  |  \- jakarta.el:jakarta.el-api:jar:3.0.3:compile
[INFO] |  +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile
[INFO] |  +- io.quarkus:quarkus-smallrye-context-propagation:jar:1.13.3.Final:compile
[INFO] |  |  \- io.smallrye:smallrye-context-propagation:jar:1.1.0:compile
[INFO] |  |     +- io.smallrye:smallrye-context-propagation-api:jar:1.1.0:compile
[INFO] |  |     \- io.smallrye:smallrye-context-propagation-storage:jar:1.1.0:compile
[INFO] |  \- io.smallrye:smallrye-fault-tolerance-context-propagation:jar:4.3.2:compile
[INFO] +- io.quarkus:quarkus-hibernate-validator:jar:1.13.3.Final:compile
[INFO] |  +- org.hibernate.validator:hibernate-validator:jar:6.2.0.Final:compile
[INFO] |  |  \- com.fasterxml:classmate:jar:1.3.4:compile
[INFO] |  \- org.glassfish:jakarta.el:jar:3.0.3:compile
[INFO] +- io.quarkus:quarkus-quartz:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-scheduler:jar:1.13.3.Final:compile
[INFO] |  |  \- com.cronutils:cron-utils:jar:9.1.3:compile
[INFO] |  \- org.quartz-scheduler:quartz:jar:2.3.2:compile
[INFO] |     \- com.mchange:mchange-commons-java:jar:0.2.15:compile
[INFO] +- io.quarkus:quarkus-smallrye-reactive-messaging-amqp:jar:1.13.3.Final:compile
[INFO] |  +- io.smallrye.reactive:smallrye-reactive-messaging-amqp:jar:2.9.0:compile
[INFO] |  |  +- io.smallrye.reactive:smallrye-mutiny-vertx-amqp-client:jar:1.5.0:compile
[INFO] |  |  +- io.vertx:vertx-amqp-client:jar:3.9.6:compile
[INFO] |  |  |  \- io.vertx:vertx-proton:jar:3.9.6:compile
[INFO] |  |  |     \- org.apache.qpid:proton-j:jar:0.33.8:compile
[INFO] |  |  \- io.smallrye.reactive:mutiny:jar:0.14.0:compile
[INFO] |  +- io.quarkus:quarkus-mutiny-reactive-streams-operators:jar:1.13.3.Final:compile
[INFO] |  |  +- org.eclipse.microprofile.reactive-streams-operators:microprofile-reactive-streams-operators-api:jar:1.0.1:compile
[INFO] |  |  +- org.eclipse.microprofile.reactive-streams-operators:microprofile-reactive-streams-operators-core:jar:1.0.1:compile
[INFO] |  |  +- io.smallrye.reactive:mutiny-reactive-streams-operators:jar:0.14.0:compile
[INFO] |  |  \- io.smallrye.reactive:mutiny-smallrye-context-propagation:jar:0.14.0:compile
[INFO] |  +- io.quarkus:quarkus-smallrye-reactive-messaging:jar:1.13.3.Final:compile
[INFO] |  |  +- io.smallrye.common:smallrye-common-annotation:jar:1.5.0:compile
[INFO] |  |  \- io.smallrye.reactive:smallrye-reactive-messaging-health:jar:2.9.0:compile
[INFO] |  |     \- org.eclipse.microprofile.health:microprofile-health-api:jar:2.2:compile
[INFO] |  +- io.quarkus:quarkus-vertx:jar:1.13.3.Final:compile
[INFO] |  |  +- io.quarkus:quarkus-netty:jar:1.13.3.Final:compile
[INFO] |  |  |  +- io.netty:netty-codec:jar:4.1.49.Final:compile
[INFO] |  |  |  \- io.netty:netty-handler:jar:4.1.49.Final:compile
[INFO] |  |  \- io.smallrye.reactive:smallrye-mutiny-vertx-core:jar:1.5.0:compile
[INFO] |  |     +- io.smallrye.reactive:smallrye-mutiny-vertx-runtime:jar:1.5.0:compile
[INFO] |  |     \- io.smallrye.reactive:vertx-mutiny-generator:jar:1.5.0:compile
[INFO] |  |        \- io.vertx:vertx-codegen:jar:3.9.6:compile
[INFO] |  |           \- org.mvel:mvel2:jar:2.4.12.Final:compile
[INFO] |  \- io.smallrye.reactive:smallrye-reactive-messaging-provider:jar:2.9.0:compile
[INFO] |     +- io.smallrye.reactive:smallrye-reactive-messaging-api:jar:2.9.0:compile
[INFO] |     |  \- io.opentelemetry:opentelemetry-api:jar:1.0.1:compile
[INFO] |     |     \- io.opentelemetry:opentelemetry-context:jar:1.0.1:compile
[INFO] |     +- io.reactivex.rxjava2:rxjava:jar:2.2.21:compile
[INFO] |     \- org.jboss:jandex:jar:2.2.3.Final:compile
[INFO] +- io.quarkus:quarkus-oidc:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-vertx-core:jar:1.13.3.Final:compile
[INFO] |  |  \- io.vertx:vertx-core:jar:3.9.6:compile
[INFO] |  |     +- io.netty:netty-common:jar:4.1.49.Final:compile
[INFO] |  |     +- io.netty:netty-buffer:jar:4.1.49.Final:compile
[INFO] |  |     +- io.netty:netty-transport:jar:4.1.49.Final:compile
[INFO] |  |     +- io.netty:netty-handler-proxy:jar:4.1.49.Final:compile
[INFO] |  |     |  \- io.netty:netty-codec-socks:jar:4.1.49.Final:compile
[INFO] |  |     +- io.netty:netty-codec-http:jar:4.1.49.Final:compile
[INFO] |  |     +- io.netty:netty-codec-http2:jar:4.1.49.Final:compile
[INFO] |  |     +- io.netty:netty-resolver:jar:4.1.49.Final:compile
[INFO] |  |     \- io.netty:netty-resolver-dns:jar:4.1.49.Final:compile
[INFO] |  |        \- io.netty:netty-codec-dns:jar:4.1.49.Final:compile
[INFO] |  +- io.quarkus:quarkus-security:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-jsonp:jar:1.13.3.Final:compile
[INFO] |  |  \- org.glassfish:jakarta.json:jar:1.1.6:compile
[INFO] |  +- io.quarkus:quarkus-oidc-common:jar:1.13.3.Final:compile
[INFO] |  |  \- io.smallrye.reactive:smallrye-mutiny-vertx-web-client:jar:1.5.0:compile
[INFO] |  |     +- io.vertx:vertx-web-client:jar:3.9.6:compile
[INFO] |  |     \- io.smallrye.reactive:smallrye-mutiny-vertx-web-common:jar:1.5.0:compile
[INFO] |  \- io.smallrye:smallrye-jwt:jar:2.4.4:compile
[INFO] |     +- org.eclipse.microprofile.jwt:microprofile-jwt-auth-api:jar:1.1.1:compile
[INFO] |     +- org.bitbucket.b_c:jose4j:jar:0.7.6:compile
[INFO] |     \- io.smallrye:smallrye-jwt-common:jar:2.4.4:compile
[INFO] +- io.quarkus:quarkus-smallrye-jwt-build:jar:1.13.3.Final:compile
[INFO] |  \- io.smallrye:smallrye-jwt-build:jar:2.4.4:compile
[INFO] +- io.quarkus:quarkus-rest-client:jar:1.13.3.Final:compile
[INFO] |  +- io.quarkus:quarkus-resteasy-common:jar:1.13.3.Final:compile
[INFO] |  |  \- com.sun.activation:jakarta.activation:jar:1.2.1:compile
[INFO] |  +- org.jboss.resteasy:resteasy-client-microprofile:jar:4.5.9.Final:compile
[INFO] |  |  +- org.jboss.resteasy:resteasy-client:jar:4.5.9.Final:compile
[INFO] |  |  |  \- org.jboss.resteasy:resteasy-client-api:jar:4.5.9.Final:compile
[INFO] |  |  \- org.eclipse.microprofile.rest.client:microprofile-rest-client-api:jar:1.4.1:compile
[INFO] |  +- jakarta.interceptor:jakarta.interceptor-api:jar:1.2.5:compile
[INFO] |  \- org.apache.httpcomponents:httpasyncclient:jar:4.1.4:compile
[INFO] |     +- org.apache.httpcomponents:httpcore:jar:4.4.14:compile
[INFO] |     \- org.apache.httpcomponents:httpcore-nio:jar:4.4.14:compile
[INFO] +- io.quarkus:quarkus-rest-client-jackson:jar:1.13.3.Final:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] +- org.apache.commons:commons-csv:jar:1.8:compile
[INFO] +- commons-validator:commons-validator:jar:1.7:compile
[INFO] |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] |  +- commons-digester:commons-digester:jar:2.1:compile
[INFO] |  +- commons-logging:commons-logging:jar:1.2:compile
[INFO] |  \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] +- ch.digitalfondue.vatchecker:vatchecker:jar:1.5.0:compile
[INFO] +- org.jboss.logging:commons-logging-jboss-logging:jar:1.0.0.Final:compile
[INFO] |  \- org.jboss.logging:jboss-logging:jar:3.4.1.Final:compile
[INFO] +- org.jsoup:jsoup:jar:1.13.1:compile
[INFO] +- com.sparkpost:sparkpost-lib:jar:0.23:compile
[INFO] |  +- log4j:log4j:jar:1.2.17:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.8.6:compile
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.14:compile
[INFO] |  +- com.google.code.findbugs:annotations:jar:3.0.0:compile
[INFO] |  +- com.yepher.jsondoc:annotations:jar:0.0.2:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.7.30:compile
[INFO] +- com.stripe:stripe-java:jar:20.41.0:compile
[INFO] +- com.auth0:auth0:jar:1.29.0:compile
[INFO] |  +- com.squareup.okhttp3:okhttp:jar:3.14.9:runtime
[INFO] |  |  \- com.squareup.okio:okio:jar:1.17.2:runtime
[INFO] |  +- com.squareup.okhttp3:logging-interceptor:jar:3.14.9:runtime
[INFO] |  \- com.fasterxml.jackson.core:jackson-databind:jar:2.12.1:compile
[INFO] +- com.auth0:java-jwt:jar:3.15.0:compile
[INFO] +- org.apache.pdfbox:pdfbox:jar:2.0.22:compile
[INFO] |  \- org.apache.pdfbox:fontbox:jar:2.0.22:compile
[INFO] +- com.bugsnag:bugsnag:jar:3.6.2:compile
[INFO] +- org.assertj:assertj-core:jar:3.19.0:test
[INFO] +- io.quarkus:quarkus-junit5-mockito:jar:1.13.3.Final:test
[INFO] |  +- io.quarkus:quarkus-arc-deployment:jar:1.13.3.Final:test
[INFO] |  |  +- io.quarkus:quarkus-core-deployment:jar:1.13.3.Final:test
[INFO] |  |  |  +- io.quarkus.gizmo:gizmo:jar:1.0.7.Final:test
[INFO] |  |  |  |  \- org.ow2.asm:asm-util:jar:9.1:test
[INFO] |  |  |  |     +- org.ow2.asm:asm-tree:jar:9.1:test
[INFO] |  |  |  |     \- org.ow2.asm:asm-analysis:jar:9.1:test
[INFO] |  |  |  +- io.quarkus:quarkus-class-change-agent:jar:1.13.3.Final:test
[INFO] |  |  |  +- io.quarkus:quarkus-devtools-utilities:jar:1.13.3.Final:test
[INFO] |  |  |  \- io.quarkus:quarkus-builder:jar:1.13.3.Final:test
[INFO] |  |  +- io.quarkus:quarkus-vertx-http-dev-console-spi:jar:1.13.3.Final:test
[INFO] |  |  \- io.quarkus.arc:arc-processor:jar:1.13.3.Final:test
[INFO] |  +- org.mockito:mockito-core:jar:3.8.0:test
[INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.10.20:compile
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.10.20:test
[INFO] |  |  \- org.objenesis:objenesis:jar:3.1:test
[INFO] |  \- io.quarkus:quarkus-mutiny:jar:1.13.3.Final:compile
[INFO] +- io.quarkus:quarkus-junit5:jar:1.13.3.Final:test
[INFO] |  +- io.quarkus:quarkus-bootstrap-core:jar:1.13.3.Final:test
[INFO] |  |  +- io.quarkus:quarkus-bootstrap-app-model:jar:1.13.3.Final:test
[INFO] |  |  +- io.quarkus:quarkus-bootstrap-maven-resolver:jar:1.13.3.Final:test
[INFO] |  |  |  +- org.apache.maven:maven-embedder:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-settings:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-core:jar:3.6.3:test
[INFO] |  |  |  |  |  +- org.apache.maven:maven-artifact:jar:3.6.3:test
[INFO] |  |  |  |  |  \- org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:test
[INFO] |  |  |  |  +- org.apache.maven:maven-plugin-api:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-model:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-model-builder:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-builder-support:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:test
[INFO] |  |  |  |  +- org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:test
[INFO] |  |  |  |  +- org.apache.maven.shared:maven-shared-utils:jar:3.2.1:test
[INFO] |  |  |  |  +- com.google.inject:guice:jar:no_aop:4.2.1:test
[INFO] |  |  |  |  +- org.codehaus.plexus:plexus-utils:jar:3.2.1:test
[INFO] |  |  |  |  +- org.codehaus.plexus:plexus-classworlds:jar:2.6.0:test
[INFO] |  |  |  |  \- commons-cli:commons-cli:jar:1.4:test
[INFO] |  |  |  +- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.4:test
[INFO] |  |  |  +- org.apache.maven:maven-settings-builder:jar:3.6.3:test
[INFO] |  |  |  |  +- org.codehaus.plexus:plexus-interpolation:jar:1.25:test
[INFO] |  |  |  |  \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:test
[INFO] |  |  |  |     \- org.sonatype.plexus:plexus-cipher:jar:1.4:test
[INFO] |  |  |  +- org.apache.maven:maven-resolver-provider:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven:maven-repository-metadata:jar:3.6.3:test
[INFO] |  |  |  |  +- org.apache.maven.resolver:maven-resolver-spi:jar:1.4.1:test
[INFO] |  |  |  |  \- org.apache.maven.resolver:maven-resolver-impl:jar:1.4.1:test
[INFO] |  |  |  +- org.apache.maven.resolver:maven-resolver-connector-basic:jar:1.4.1:test
[INFO] |  |  |  +- org.apache.maven.resolver:maven-resolver-transport-wagon:jar:1.4.1:test
[INFO] |  |  |  +- org.apache.maven.wagon:wagon-http:jar:3.3.4:test
[INFO] |  |  |  |  +- org.apache.maven.wagon:wagon-http-shared:jar:3.3.4:test
[INFO] |  |  |  |  \- org.apache.maven.wagon:wagon-provider-api:jar:3.3.4:test
[INFO] |  |  |  \- org.apache.maven.wagon:wagon-file:jar:3.3.4:test
[INFO] |  |  +- io.quarkus:quarkus-bootstrap-gradle-resolver:jar:1.13.3.Final:test
[INFO] |  |  \- io.smallrye.common:smallrye-common-io:jar:1.5.0:compile
[INFO] |  +- org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.4:test
[INFO] |  +- io.quarkus:quarkus-test-common:jar:1.13.3.Final:test
[INFO] |  |  \- io.quarkus:quarkus-jsonp-deployment:jar:1.13.3.Final:test
[INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
[INFO] |  |  |  +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] |  |  |  \- org.junit.platform:junit-platform-commons:jar:1.7.1:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test
[INFO] |  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
[INFO] |  |     \- org.junit.platform:junit-platform-engine:jar:1.7.1:test
[INFO] |  +- io.quarkus:quarkus-datasource-deployment-spi:jar:1.13.3.Final:test
[INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.4.16:test
[INFO] |     \- io.github.x-stream:mxparser:jar:1.2.1:test
[INFO] |        \- xmlpull:xmlpull:jar:1.1.3.1:test
[INFO] +- io.rest-assured:rest-assured:jar:4.3.3:test
[INFO] |  +- org.codehaus.groovy:groovy:jar:3.0.5:test
[INFO] |  +- org.codehaus.groovy:groovy-xml:jar:3.0.7:test
[INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.5.13:test
[INFO] |  +- org.hamcrest:hamcrest:jar:2.1:test
[INFO] |  +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test
[INFO] |  +- io.rest-assured:json-path:jar:4.3.3:test
[INFO] |  |  +- org.codehaus.groovy:groovy-json:jar:3.0.5:test
[INFO] |  |  \- io.rest-assured:rest-assured-common:jar:4.3.3:test
[INFO] |  \- io.rest-assured:xml-path:jar:4.3.3:test
[INFO] |     +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test
[INFO] |     |  \- jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
[INFO] |     \- com.sun.xml.bind:jaxb-impl:jar:2.3.3:test
[INFO] +- com.github.tomakehurst:wiremock-jre8:jar:2.27.2:test
[INFO] |  +- org.eclipse.jetty:jetty-server:jar:9.4.36.v20210114:test
[INFO] |  |  +- javax.servlet:javax.servlet-api:jar:3.1.0:test
[INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-servlet:jar:9.4.36.v20210114:test
[INFO] |  |  +- org.eclipse.jetty:jetty-security:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-servlets:jar:9.4.36.v20210114:test
[INFO] |  |  +- org.eclipse.jetty:jetty-continuation:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty:jetty-util:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-webapp:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty:jetty-xml:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-proxy:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty:jetty-client:jar:9.4.36.v20210114:test
[INFO] |  +- com.google.guava:guava:jar:30.1-jre:test
[INFO] |  |  +- com.google.guava:failureaccess:jar:1.0.1:test
[INFO] |  |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:test
[INFO] |  |  +- com.google.code.findbugs:jsr305:jar:3.0.2:test
[INFO] |  |  +- org.checkerframework:checker-qual:jar:2.5.2:test
[INFO] |  |  +- com.google.errorprone:error_prone_annotations:jar:2.2.0:compile
[INFO] |  |  \- com.google.j2objc:j2objc-annotations:jar:1.3:test
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.12.1:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.1:compile
[INFO] |  +- org.xmlunit:xmlunit-core:jar:2.7.0:test
[INFO] |  |  \- javax.xml.bind:jaxb-api:jar:2.3.1:test
[INFO] |  |     \- javax.activation:javax.activation-api:jar:1.2.0:test
[INFO] |  +- org.xmlunit:xmlunit-legacy:jar:2.7.0:test
[INFO] |  +- org.xmlunit:xmlunit-placeholders:jar:2.7.0:test
[INFO] |  +- com.jayway.jsonpath:json-path:jar:2.4.0:test
[INFO] |  |  \- net.minidev:json-smart:jar:2.3:test
[INFO] |  |     \- net.minidev:accessors-smart:jar:1.2:test
[INFO] |  +- org.ow2.asm:asm:jar:9.1:test
[INFO] |  +- net.sf.jopt-simple:jopt-simple:jar:5.0.3:test
[INFO] |  +- com.github.jknack:handlebars:jar:4.2.0:test
[INFO] |  +- com.github.jknack:handlebars-helpers:jar:4.2.0:test
[INFO] |  +- com.flipkart.zjsonpatch:zjsonpatch:jar:0.4.4:test
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.4:test
[INFO] |  |  \- commons-io:commons-io:jar:2.8.0:compile
[INFO] |  +- org.eclipse.jetty.http2:http2-server:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty.http2:http2-common:jar:9.4.36.v20210114:test
[INFO] |  |     \- org.eclipse.jetty.http2:http2-hpack:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-alpn-server:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-alpn-conscrypt-server:jar:9.4.36.v20210114:test
[INFO] |  +- org.eclipse.jetty:jetty-alpn-conscrypt-client:jar:9.4.36.v20210114:test
[INFO] |  |  \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.36.v20210114:test
[INFO] |  +- org.conscrypt:conscrypt-openjdk-uber:jar:2.2.1:test
[INFO] |  \- net.javacrumbs.json-unit:json-unit-core:jar:2.12.0:test
[INFO] |     +- org.opentest4j:opentest4j:jar:1.1.1:test
[INFO] |     \- org.hamcrest:hamcrest-core:jar:2.1:test
[INFO] +- com.nimbusds:nimbus-jose-jwt:jar:9.8.1:test
[INFO] |  \- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:test
[INFO] +- io.quarkus:quarkus-test-h2:jar:1.13.3.Final:test
[INFO] |  \- com.h2database:h2:jar:1.4.197:test
[INFO] +- io.quarkus:quarkus-elytron-security-properties-file:jar:1.13.3.Final:test
[INFO] |  +- io.quarkus:quarkus-elytron-security:jar:1.13.3.Final:test
[INFO] |  |  \- io.quarkus:quarkus-elytron-security-common:jar:1.13.3.Final:test
[INFO] |  +- org.wildfly.security:wildfly-elytron-auth-server:jar:1.15.1.Final:test
[INFO] |  |  +- org.wildfly.security:wildfly-elytron-auth:jar:1.15.1.Final:test
[INFO] |  |  +- org.wildfly.security:wildfly-elytron-base:jar:1.15.1.Final:test
[INFO] |  |  +- org.wildfly.security:wildfly-elytron-credential:jar:1.15.1.Final:test
[INFO] |  |  |  +- org.wildfly.security:wildfly-elytron-asn1:jar:1.15.1.Final:test
[INFO] |  |  |  +- org.wildfly.security:wildfly-elytron-keystore:jar:1.15.1.Final:test
[INFO] |  |  |  \- org.wildfly.security:wildfly-elytron-provider-util:jar:1.15.1.Final:test
[INFO] |  |  +- org.wildfly.security:wildfly-elytron-permission:jar:1.15.1.Final:test
[INFO] |  |  +- org.wildfly.security:wildfly-elytron-util:jar:1.15.1.Final:test
[INFO] |  |  \- org.wildfly.security:wildfly-elytron-x500:jar:1.15.1.Final:test
[INFO] |  +- org.wildfly.security:wildfly-elytron-password-impl:jar:1.15.1.Final:test
[INFO] |  +- org.wildfly.security:wildfly-elytron-realm:jar:1.15.1.Final:test
[INFO] |  +- io.quarkus.security:quarkus-security:jar:1.1.4.Final:compile
[INFO] |  +- jakarta.security.jacc:jakarta.security.jacc-api:jar:1.6.1:test
[INFO] |  \- jakarta.security.auth.message:jakarta.security.auth.message-api:jar:1.1.3:test
[INFO] +- io.quarkus:quarkus-test-security:jar:1.13.3.Final:test
[INFO] +- io.quarkus:quarkus-test-oidc-server:jar:1.13.3.Final:test
[INFO] |  \- jakarta.servlet:jakarta.servlet-api:jar:4.0.3:test
[INFO] \- org.awaitility:awaitility:jar:4.0.3:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.293 s
[INFO] Finished at: 2021-05-03T18:06:48+08:00
[INFO] ------------------------------------------------------------------------
hantsy commented 3 years ago

I tried to copy my sample to this project, the same tests failed.

MarcusBiel commented 3 years ago

Updated to Quarkus 2.1.1, but the issue is still not fixed: https://github.com/MarcusBiel/quarkus-multipart-reproducer

MarcusBiel commented 3 years ago

Issue should be reopened.