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

Error message when re-augmenting non-mutable Quarkus application #34845

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

rsvoboda
Copy link
Member

@rsvoboda rsvoboda commented Jul 19, 2023

Error message when re-augmenting non-mutable Quarkus application

Fixes #34816

JBoss logging is not initialized at that phase, thus just plain stdout println.

Now:

java -Dquarkus.launch.rebuild=true -Dfoo=bar -jar target/quarkus-app/quarkus-run.jar
[ERROR] Re-augmentation was requested, but the application wasn't built with 'quarkus.package.type=mutable-jar'

Before:

java -Dquarkus.launch.rebuild=true -jar target/quarkus-app/quarkus-run.jar 
Exception in thread "main" java.nio.file.NoSuchFileException: /Users/rsvoboda/Downloads/code-with-quarkus/target/quarkus-app/lib/deployment/deployment-class-path.dat
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
	at java.base/java.nio.file.Files.newInputStream(Files.java:160)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doReaugment(QuarkusEntryPoint.java:72)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:48)
	at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:32)

@rsvoboda rsvoboda requested a review from geoand July 19, 2023 08:48
@quarkus-bot quarkus-bot bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label Jul 19, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 19, 2023

Failing Jobs - Building 7261ad0

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 17 Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs
✔️ JVM Tests - JDK 19

Failures

⚙️ JVM Tests - JDK 17 Windows #

- Failing: extensions/vertx-http/deployment 
! Skipped: extensions/agroal/deployment extensions/amazon-lambda-http/deployment extensions/amazon-lambda-rest/deployment and 351 more

📦 extensions/vertx-http/deployment

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project quarkus-vertx-http-deployment: There was a timeout in the fork

@geoand geoand merged commit ee28c10 into quarkusio:main Jul 19, 2023
@quarkus-bot quarkus-bot bot added the kind/enhancement New feature or request label Jul 19, 2023
@quarkus-bot quarkus-bot bot added this to the 3.3 - main milestone Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a warning when re-augmenting non-mutable Quarkus application
2 participants