[
https://issues.jboss.org/browse/WFLY-12191?page=com.atlassian.jira.plugin...
]
Brian Stansberry commented on WFLY-12191:
-----------------------------------------
[~asoldano] [~ron_sigal] I attached as zip that packages up the two classes from
[~dwuysan] into a maven project. Zip includes a built war, the maven project and a
server.log when I executed
http://localhost:8080/playground-webapplication/rest/batch/test. One time I executed it I
got a StackOverflowError; in the one attached it was an OOME.
The cycle is this:
{code}
at org.jboss.playground.Authenticator.filter(Authenticator.java:56)
at
org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.filterRequest(ClientInvocation.java:590)
at
org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:440)
at
org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:62)
at
org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.method(ClientInvocationBuilder.java:297)
at org.jboss.playground.Authenticator.filter(Authenticator.java:56)
{code}
With WildFly 16 this doesn't happen. With 16 the request fails as well, but
that's just because the test app is making a REST invocation against a non-existent
dummy URL.
StackOverflowError is thrown when invoking a REST end-point, with
ClientRequestFilter/ClientResponseFilter registered
---------------------------------------------------------------------------------------------------------------------
Key: WFLY-12191
URL:
https://issues.jboss.org/browse/WFLY-12191
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 17.0.0.Final
Environment: Fedora 30, Oracle JDK 1.8.0_181
Reporter: Deny Wuysan
Assignee: Alessio Soldano
Priority: Major
Attachments: Authenticator.java, BatchManager.java, WFLY-12191.zip
Please find attached the two Java files corresponding to the error. When setting debugger
on line 50 for Authenticator.java, notice repetitive calls occurred, ONLY on Wildfly
17.0.0.Final.
Have re-tested this case on Wildfly 16.0.0.Final and the REST call made successfully.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)