You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importjavax.ws.rs.client.Client;
importjavax.ws.rs.client.ClientBuilder;
importjavax.ws.rs.client.ClientRequestFilter;
publicstaticvoidmain(Stringargs[]) {
ClientBuilderclientBuilder = ClientBuilder.newBuilder();
for (ClientRequestFilterfilter : filters) {
// following line has NPEclientBuilder.register(filter);
}
}
Output of uname -a or ver
Darwin C02YD0B0JG5J.corp.proofpoint.com 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64 x86_64
Output of java -version
openjdk version "11.0.12" 2021-07-20
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.1.Final
Build tool (ie. output of mvnw --version or gradlew --version)
Describe the bug
When using classic jaxrs ClientBuilder with implementation from Resteasy Reactive Client jars, the configuration is not initialized.
Expected behavior
ClientRequestFilter(s) successfully registered with classic ClientBuilder
Actual behavior
NullPointerException thrown from
org.jboss.resteasy.reactive.client.impl.ClientBuilderImpl, line 313
How to Reproduce?
With dependencies:
Use the following code:
Output of
uname -a
orver
Darwin C02YD0B0JG5J.corp.proofpoint.com 20.6.0 Darwin Kernel Version 20.6.0: Wed Jan 12 22:22:42 PST 2022; root:xnu-7195.141.19~2/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.12" 2021-07-20
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Additional information
No response
The text was updated successfully, but these errors were encountered: