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

Unhandled Exception in Vertx 4.0.0 #51

Open
UglyHobbitFeet opened this issue Dec 10, 2020 · 0 comments
Open

Unhandled Exception in Vertx 4.0.0 #51

UglyHobbitFeet opened this issue Dec 10, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@UglyHobbitFeet
Copy link

UglyHobbitFeet commented Dec 10, 2020

After migrating from Vertx 3.9.4 -> 4.0.0 I now get a mysterious stacktrace

2020-12-10 17:47:57 ERROR ContextImpl:? - Unhandled exception
 java.lang.IllegalStateException
     at io.vertx.core.impl.CloseHooks.add(CloseHooks.java:48)
     at io.vertx.core.impl.VertxImpl.createNetClient(VertxImpl.java:297)
     at io.vertx.proton.impl.ProtonClientImpl.connect(ProtonClientImpl.java:64)
     at io.vertx.amqp.impl.AmqpConnectionImpl.connect(AmqpConnectionImpl.java:68)
     at io.vertx.amqp.impl.AmqpConnectionImpl.lambda$new$0(AmqpConnectionImpl.java:59)
     at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:96)
     at io.vertx.core.impl.WorkerContext.lambda$run$1(WorkerContext.java:102)
     at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
     at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
     at java.base/java.lang.Thread.run(Unknown Source)

It believe it is either coming from the rxConnect() call after a slight delay, or less likey via makeExecutableSchema call as I never see the follow on logging message.

AmqpClient client = AmqpClient.create(vertx, new AmqpClientOptions());
SchemaGenerator schemaGenerator = new SchemaGenerator();
TypeDefinitionRegistry typeDefinitionRegistry = getSchema(props);
client.rxConnect()
  .doOnError(onError -> /*omitted */)
  .doOnSuccess(onSuccess -> /*omitted */)
  .retryWhen((Flowable<Throwable> f) -> /*omitted */)
  .subscribe(/*omitted */);
RuntimeWiring runtimeWiring = getRuntimeWiring(props);
LOG.info("I see this msg");
GraphQLSchema graphQLSchema = schemaGenerator.makeExecutableSchema(typeDefinitionRegistry, runtimeWiring);
LOG.info("I do not see this msg");
@UglyHobbitFeet UglyHobbitFeet added the bug Something isn't working label Dec 10, 2020
@vietj vietj added this to the 4.0.1 milestone Dec 10, 2020
@vietj vietj modified the milestones: 4.0.1, 4.0.3 Feb 5, 2021
@vietj vietj modified the milestones: 4.0.3, 4.0.4 Mar 15, 2021
@vietj vietj modified the milestones: 4.1.0, 4.1.1 Jun 1, 2021
@vietj vietj self-assigned this Jun 3, 2021
@tsegismont tsegismont modified the milestones: 4.2.0, 4.2.1 Oct 14, 2021
@vietj vietj modified the milestones: 4.2.2, 4.2.3 Dec 14, 2021
@vietj vietj modified the milestones: 4.2.4, 4.2.5 Jan 20, 2022
@vietj vietj modified the milestones: 4.2.5, 4.2.6 Feb 16, 2022
@vietj vietj modified the milestones: 4.3.4, 4.3.5 Oct 1, 2022
@vietj vietj modified the milestones: 4.3.5, 4.4.0 Nov 18, 2022
@vietj vietj modified the milestones: 4.4.0, 4.4.1 Mar 2, 2023
@vietj vietj modified the milestones: 4.4.1, 4.4.2 Mar 31, 2023
@vietj vietj modified the milestones: 4.4.2, 4.4.3 May 12, 2023
@vietj vietj modified the milestones: 4.4.3, 4.4.4-SNAPSHOT Jun 7, 2023
@vietj vietj modified the milestones: 4.4.4, 4.4.5 Jun 22, 2023
@vietj vietj modified the milestones: 4.4.5, 4.4.6 Aug 30, 2023
@vietj vietj modified the milestones: 4.4.6, 4.5.0 Sep 12, 2023
@vietj vietj modified the milestones: 4.5.0, 4.5.1 Nov 15, 2023
@vietj vietj modified the milestones: 4.5.1, 4.5.2 Dec 13, 2023
@vietj vietj modified the milestones: 4.5.2, 4.5.3 Jan 30, 2024
@vietj vietj modified the milestones: 4.5.3, 4.5.4 Feb 6, 2024
@vietj vietj modified the milestones: 4.5.4, 4.5.5 Feb 22, 2024
@vietj vietj modified the milestones: 4.5.5, 4.5.6 Mar 14, 2024
@vietj vietj modified the milestones: 4.5.6, 4.5.7, 4.5.8 Mar 21, 2024
@vietj vietj modified the milestones: 4.5.8, 4.5.9 May 24, 2024
@vietj vietj modified the milestones: 4.5.9, 4.5.10 Jul 17, 2024
@vietj vietj modified the milestones: 4.5.10, 4.5.11 Sep 4, 2024
@vietj vietj modified the milestones: 4.5.11, 4.5.12 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants