Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP Rest Client TCK test InvokeWithJsonPProviderTest failing #5715

Closed
dmlloyd opened this issue Nov 22, 2019 · 1 comment
Closed

MP Rest Client TCK test InvokeWithJsonPProviderTest failing #5715

dmlloyd opened this issue Nov 22, 2019 · 1 comment
Labels
kind/bug Something isn't working
Milestone

Comments

@dmlloyd
Copy link
Member

dmlloyd commented Nov 22, 2019

Describe the bug
After #5387, InvokeWithJsonPProviderTest and InvokeWithJsonBProviderTest have stopped passing. The JSON-B test was trivially fixable by adding a config setup step (the config is read before Quarkus has a chance to establish it). However the JSON-P test, even with a similar fix, fails with an unusual injection error:

Caused by: java.lang.IllegalArgumentException: Can not set org.eclipse.microprofile.rest.client.tck.interfaces.JsonPClient field org.eclipse.microprofile.rest.client.tck.InvokeWithJsonPProviderTest.cdiJsonPClient to com.sun.proxy.$Proxy59
    at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
    at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
    at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
    at java.lang.reflect.Field.set(Field.java:764)
    at io.quarkus.arc.impl.Reflections.writeField(Reflections.java:84)

This test has been disabled in #5387 until the problem can be found and fixed.

@mkouba
Copy link
Contributor

mkouba commented Nov 26, 2019

I believe we can close this one. Feel free to reopen if neeeded.

@mkouba mkouba closed this as completed Nov 26, 2019
@gsmet gsmet added this to the 1.1.0 milestone Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants