Question about 2.2.1 Release - Validator and Resource Tests Failing.

82 views
Skip to first unread message

KimJohn Quinn

unread,
Sep 1, 2021, 9:19:32 AM9/1/21
to Quarkus Development mailing list
Quick question and I have not done any analysis yet - I went to quickly test the 2.2.1 release and these tests are failing (I verified going back to 2.1.4 does work). 

I was just wondering if offhand anything affect either the validator or the resource tests (using @TestSecurity(authorizationEnabled = false) )?  I did not see anything obvious in the release notes that would affect me.

Validation Test using Hibernate Validator:
should_validate_optional  Time elapsed: 0.003 s  <<< ERROR!
javax.validation.ValidationException: HV000149: An exception occurred during message interpolation
        at io.logicdrop.platform.services.client.ClientValidationTest.should_validate_optional(ClientValidationTest.java:32)
Caused by: java.lang.NullPointerException: Cannot invoke "org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext.getHttpHeaders()" because the return value of "org.jboss.resteasy.reactive.server.injection.ContextProducers.getContext()" is null

REST Resource Test:
should_create_feature  Time elapsed: 0.034 s  <<< FAILURE!
java.lang.AssertionError:
1 expectation failed.
Expected status code <200> but was <401>.

Georgios Andrianakis

unread,
Sep 1, 2021, 9:25:36 AM9/1/21
to KimJohn Quinn, Quarkus Development mailing list
Hi,

From a RESTEasy Reactive point of view, the 2.1.4 and 2.2.1 releases should be identical.
If you have a way to reproduce this problem, please let us know.

Thanks

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/bf0cd23f-e0e0-4b80-acd2-1146a2ad86c4n%40googlegroups.com.

KimJohn Quinn

unread,
Sep 1, 2021, 9:54:28 AM9/1/21
to Georgios Andrianakis, Quarkus Development mailing list
Threw together a reproducer, I can replicate both issues - using 2.1.4 works / 2.2.1 shows the errors.

Georgios Andrianakis

unread,
Sep 1, 2021, 11:51:50 AM9/1/21
to KimJohn Quinn, Quarkus Development mailing list
There are two different issues here.

I'll open PRs for both of them.

Thanks for reporting

Reply all
Reply to author
Forward
0 new messages