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

Update quarkus 2.4.2.Final → graphql error #1

Open
blackgwe opened this issue Nov 16, 2021 · 3 comments
Open

Update quarkus 2.4.2.Final → graphql error #1

blackgwe opened this issue Nov 16, 2021 · 3 comments

Comments

@blackgwe
Copy link

After update quarkus to 2.4.2.Final I get the following error – any idea how to fix this? Using quarkus 2.0.2.Final everything is OK.

query allMovies {
  allMovies {
    title
    actors {
      name
    }
  }
}

error


2021-11-16 ERROR [io.sma.graphql] (executor-thread-1) SRGQL012000: Data Fetching Error: java.lang.IllegalStateException: HR000069: Detected use of the reactive Session from a different Thread than the one which was used to open the reactive Session - this suggests an invalid integration; original thread: 'vert.x-eventloop-thread-12' current Thread: 'executor-thread-1'
	at org.hibernate.reactive.common.InternalStateAssertions.assertCurrentThreadMatches(InternalStateAssertions.java:46)
	at org.hibernate.reactive.session.impl.ReactiveSessionImpl.threadCheck(ReactiveSessionImpl.java:154)
	at org.hibernate.reactive.session.impl.ReactiveSessionImpl.checkOpen(ReactiveSessionImpl.java:1556)
	at org.hibernate.reactive.session.impl.ReactiveSessionImpl.buildReactiveQueryFromName(ReactiveSessionImpl.java:474)
	at org.hibernate.reactive.session.impl.ReactiveSessionImpl.createReactiveNamedQuery(ReactiveSessionImpl.java:465)
	at org.hibernate.reactive.mutiny.impl.MutinySessionImpl.createNamedQuery(MutinySessionImpl.java:252)
@dvddhln
Copy link
Owner

dvddhln commented Jan 28, 2022

Did you manage to fix this with later versions?

@blackgwe
Copy link
Author

I just tried with Quarkus v2.6.3 (see attached pom.xml) and I get the same error message.
pom.xml.gz

maybe

@phillip-kruger
Copy link

Please re-test with the upcoming 2.10 release. Let me know if there are any issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants