Upgrade from 2.6.1 to 2.8.0 results in "Failed to start quarkus"

See original GitHub issue

Describe the bug

I developed with Quarkus 2.6.1. All worked fine. I could run and test the application, without any error.

Then, when I tried to upgrade to latest version 2.8.0, at start, I got a big exception chain, resulting in “Failed to start quarkus”.

Im not able to start the application, anymore.

The exception chain starts with:

20:52:26.970 WARN [Quarkus Main Thread] io.quarkus.arc.impl.ArcContainerImpl.shutdown - An error occurred during delivery of the @BeforeDestroyed(ApplicationScoped.class) event: javax.enterprise.inject.CreationException: Synthetic bean instance for io.quarkus.scheduler.runtime.SchedulerContext not initialized yet: io_quarkus_scheduler_runtime_SchedulerContext_97d170e1550eee4afc0af065b78cda302a97674c - a synthetic bean initialized during RUNTIME_INIT must not be accessed during STATIC_INIT - RUNTIME_INIT build steps that require access to synthetic beans initialized during RUNTIME_INIT should consume the SyntheticBeansRuntimeInitBuildItem … Caused by: java.lang.RuntimeException: Failed to start quarkus**

Expected behavior

Application should run, without errors, as with 2.6.1.

Actual behavior

Application does not start.

How to Reproduce?

<quarkus.platform.version>2.8.0.Final</quarkus.platform.version>

Output of uname -a or ver

Linux LAPTOP-KBBJVPB3 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

openjdk 11.0.13 2021-10-19 LTS OpenJDK Runtime Environment Corretto-11.0.13.8.1 (build 11.0.13+8-LTS) OpenJDK 64-Bit Server VM Corretto-11.0.13.8.1 (build 11.0.13+8-LTS, mixed mode)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.8.0.Final

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: /usr/local/mvn Java version: 11.0.13, vendor: Amazon.com Inc., runtime: /opt/java/amazon-corretto-11.0.13.8.1-linux-x64 Default locale: en_US, platform encoding: UTF-8 OS name: “linux”, version: “5.10.60.1-microsoft-standard-wsl2”, arch: “amd64”, family: “unix”

Additional information

Issue_upgrading_from_261_to_280_results_in_Failed_to_star_quarkus.txt

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:21 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
geoandcommented, Oct 21, 2022

Thanks for the information @gaetancollaud

1reaction
ragusercommented, May 6, 2022

Hello Michał Thank you for your reply. I don’t know what I could deliver to you as a “small reproducer”. It is an interface application, based on Quarkus and Camel, which connects an existing application to a new SAP system. There are hundreds of lines of code. The described error occurs when I replace the lines in the pom.xml: Old: <quarkus.platform.version>2.6.1.Final</quarkus.platform.version> New: <quarkus.platform.version>2.8.0.Final</quarkus.platform.version> Kind regards Stephan

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with the upgrade of quarkus app from the 2.6.3.Final ...
At the end, I figured out that this was a problem with some pom.xml dependencies due to migrating to the higher version of...
Read more >
Building applications with Maven - Quarkus
If any of the files are missing, the application will not start or might not function correctly. The fast-jar packaging results in creating...
Read more >
Upgrade Guide and API Changes - Apache Kafka
Starting in 2.8.0 (as well as 2.7.1 and 2.6.2), this restriction will be enforced. ... Kafka Streams emitted stream-stream left/outer join results eagerly....
Read more >
Quarkus Quarkus : List of security vulnerabilities - CVE Details
# CVE ID CWE ID Vulnerability Type(s) Publish Date Update Date Score Gaine... 1 CVE‑2022‑21724 665 Exec Code 2022‑02‑02 2022‑11‑09 7.5 None 2 CVE‑2022‑21363 2022‑01‑19...
Read more >
chore(deps): update dependency io.quarkus:quarkus ... - GitLab
An error occurred while retrieving approval data for this merge request. chore(deps): update dependency io.quarkus:quarkus ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found